@charset "UTF-8";

@media screen and (max-width: 991.98px) {
  :root {
    --font-factor: 3;
  }
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
  .pc-flex {
    display: none !important;
  }
  .sp-flex {
    display: flex !important;
  }

  .page-navbar {
    height: auto;
  }
  .anchor-link-pt-mt {
    padding-top: auto;
    margin-top: auto;
  }
  .page-footer {
    height: auto;
    padding-bottom: 200px;
  }
  .footer-home {
    margin-left: calc(100vw / 1920 * 207);
    margin-top: calc(100vw / 1920 * 78);
  }
  .footer-profile {
    margin-left: calc(100vw / 1920 * 207);
    margin-top: calc(100vw / 1920 * 78);
  }
  .footer-support {
    margin-left: calc(100vw / 1920 * 207);
    margin-top: calc(100vw / 1920 * 78);
  }
  .footer-contact {
    margin-left: calc(100vw / 1920 * 207);
    margin-top: calc(100vw / 1920 * 78);
  }
  .footer-logo {
    margin-left: calc(100vw / 1920 * 207);
    margin-top: calc(100vw / 1920 * 78);
    height: calc(100vw / 1920 * 81.51);
  }
  .top {
    max-width: calc(100vw * 0.9);
  }
  .works {
    max-width: calc(100vw * 0.9);
  }
  .works-post {
    max-width: calc(100vw * 0.9);
  }
  .profile {
    max-width: calc(100vw * 0.9);
  }
  .contact {
    max-width: calc(100vw * 0.9);
  }
  .page-title {
    height: auto;
  }
  .page-title h2 {
    padding: 0;
  }
  .footer-logo {
    height: auto;
  }

  .works-contents-1 {
    width: auto;
    height: auto;
  }
  .works-post-contents-1 {
    width: auto;
    height: auto;
  }
  .works-post-contents-2 {
    width: auto;
    height: auto;
  }
  .works-post-contents-3 {
    width: auto;
    height: auto;
  }
  .works-post-contents-4 {
    width: auto;
    height: auto;
  }
  .works-post-contents-5 {
    width: auto;
    height: auto;
  }
  .works-post-contents-6 {
    width: auto;
    height: auto;
  }
  .works-post-contents-7 {
    width: auto;
    height: auto;
  }
  .works-post-contents-1-1 {
    width: auto;
    height: auto;
  }
  .works-post-contents-1-2 {
    width: auto;
    height: auto;
  }
  .works-post-contents-2-1 {
    width: auto;
    height: auto;
  }
  .works-post-contents-2-2 {
    width: auto;
    height: auto;
  }
  .works-post-contents-3-1 {
    width: auto;
    height: auto;
  }
  .works-post-contents-3-2 {
    width: auto;
    height: auto;
  }
  .works-post-contents-4-1 {
    width: auto;
    height: auto;
  }
  .works-post-contents-4-2 {
    width: auto;
    height: auto;
  }
  .works-post-contents-5-1 {
    width: auto;
    height: auto;
  }
  .works-post-contents-5-2 {
    width: auto;
    height: auto;
  }
  .works-post-contents-6-1 {
    width: auto;
    height: auto;
  }
  .works-post-contents-6-2 {
    width: auto;
    height: auto;
  }
  .works-post-contents-7-1 {
    width: auto;
    height: auto;
  }
  .works-post-contents-7-2 {
    width: auto;
    height: auto;
  }
  .profile-contents-1-left {
    width: auto;
    height: auto;
  }
  .profile-contents-1-right {
    width: auto;
    height: auto;
  }
  .profile-contents-2-left {
    width: auto;
    height: auto;
  }
  .profile-contents-2-right {
    width: auto;
    height: auto;
  }
  .contact-contents-1 {
    width: auto;
    height: auto;
  }
  .contact-contents-2 {
    width: auto;
    height: auto;
  }
  .representative-message {
    width: auto;
    height: auto;
  }
  .works-category1 {
    width: auto;
    height: auto;
  }
  .works-category2 {
    width: auto;
    height: auto;
  }
  .works-category3 {
    width: auto;
    height: auto;
  }
  .works-post-category1 {
    width: auto;
    height: auto;
  }
  .works-post-category2 {
    width: auto;
    height: auto;
  }
  .works-post-category3 {
    width: auto;
    height: auto;
  }
  .works-post-title-2 {
    width: auto;
    height: auto;
  }
  .btn-to-works {
    width: auto;
    height: auto;
  }
  .contact-contents-2 form {
    width: auto;
    height: auto;
  }
  .contact-contents-2 label {
    /*    width: auto !important;*/
    width: 100%;
    height: auto;
  }
  .contact-contents-2 input {
    /*    width: auto !important;*/
    width: 100%;
    height: auto;
  }
  .btn-confirm {
    width: auto;
    height: auto;
  }
  .contact-contents-2 h5 {
    width: auto;
    height: auto;
  }
  .contact-contents-2 textarea {
    width: 100%;
    height: auto;
  }
  .file-comment {
    margin: 0;
  }
  .file-sample {
    margin: 0;
  }
  .works-post-contents-1 hr {
    width: auto;
  }
  .works-post-contents-6 hr {
    width: auto;
  }
  .flow1-after-contents {
    margin: 0;
  }
  #main-visual h1 {
    font: normal normal bold calc((var(--font-factor) / 2) * 100vw / 1920 * 40) /
      calc(100vw / 1920 * 90 * (var(--font-factor) / 2)) Roboto;
  }
  .introduction-contents {
    width: auto;
    height: auto;
  }
  .function-left {
    width: auto;
  }
  .function-right {
    width: auto;
    margin: 0;
  }

  .footer-page-top2 {
    position: fixed;
    width: 100%;
    height: 145px;
    background: #4c64d3 0% 0% no-repeat padding-box;
    opacity: 1;
    right: 0;
    left: 0;
    margin: 0;
    border-radius: 0px;
    bottom: 0;
    text-align: center;
    padding: 15px;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 100vw;
  }

  .footer-page-top a {
    position: relative;
    display: block;
    width: auto;
    height: auto;
    text-decoration: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    line-height: 1.4;
  }

  .popupfaq {
    position: relative;
    display: inline-block;
    border-radius: 50%; /* 角丸       */
    font-size: 12pt; /* 文字サイズ */
    text-align: center; /* 文字位置   */

    width: 140px;

    overflow: hidden;

    border-width: 0;
    outline: none;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);

    background-color: #ffffff;
    color: #4c64d3;

    transition: background-color 0.3s;
  }

  .popupfaq:hover,
  .popupfaq:focus {
    color: #3b4fa7;
    text-decoration: none;
  }

  .popupfaq + a {
    margin-left: 10px;
  }

  .popupbuttondiv {
    padding: 10px;
  }

  .popupbuttondiv2 {
    color: #ffffff;
    font: normal normal bold 20px Roboto;
    font-size: 12px;
    display: inline;
  }

  .footer-blank {
    height: 130px;
  }
  .jumbotron-div {
    width: calc(100vw / 1920 * 300 * var(--font-factor));
    text-align: left;
    float: left;
  }
}

@media screen and (max-width: 767.98px) {
  :root {
    --font-factor: 3;
  }
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
  .pc-flex {
    display: none !important;
  }
  .sp-flex {
    display: flex !important;
  }
  .page-navbar {
    height: auto;
  }
  .anchor-link-pt-mt {
    padding-top: auto;
    margin-top: auto;
  }
  .page-footer {
    height: auto;
    padding-bottom: 200px;
  }
  .footer-home {
    margin-left: calc(100vw / 1920 * 207);
    margin-top: calc(100vw / 1920 * 78);
  }
  .footer-profile {
    margin-left: calc(100vw / 1920 * 207);
    margin-top: calc(100vw / 1920 * 78);
  }
  .footer-support {
    margin-left: calc(100vw / 1920 * 207);
    margin-top: calc(100vw / 1920 * 78);
  }
  .footer-contact {
    margin-left: calc(100vw / 1920 * 207);
    margin-top: calc(100vw / 1920 * 78);
  }
  .footer-logo {
    margin-left: calc(100vw / 1920 * 207);
    margin-top: calc(100vw / 1920 * 78);
    height: calc(100vw / 1920 * 81.51);
  }
  .top {
    max-width: calc(100vw * 0.9);
  }
  .works {
    max-width: calc(100vw * 0.9);
  }
  .works-post {
    max-width: calc(100vw * 0.9);
  }
  .profile {
    max-width: calc(100vw * 0.9);
  }
  .contact {
    max-width: calc(100vw * 0.9);
  }
  .page-title {
    height: auto;
  }
  .page-title h2 {
    padding: 0;
  }
  .footer-logo {
    height: auto;
  }
  .works-contents-1 {
    width: auto;
    height: auto;
  }
  .works-post-contents-1 {
    width: auto;
    height: auto;
  }
  .works-post-contents-2 {
    width: auto;
    height: auto;
  }
  .works-post-contents-3 {
    width: auto;
    height: auto;
  }
  .works-post-contents-4 {
    width: auto;
    height: auto;
  }
  .works-post-contents-5 {
    width: auto;
    height: auto;
  }
  .works-post-contents-6 {
    width: auto;
    height: auto;
  }
  .works-post-contents-7 {
    width: auto;
    height: auto;
  }
  .works-post-contents-1-1 {
    width: auto;
    height: auto;
  }
  .works-post-contents-1-2 {
    width: auto;
    height: auto;
  }
  .works-post-contents-2-1 {
    width: auto;
    height: auto;
  }
  .works-post-contents-2-2 {
    width: auto;
    height: auto;
  }
  .works-post-contents-3-1 {
    width: auto;
    height: auto;
  }
  .works-post-contents-3-2 {
    width: auto;
    height: auto;
  }
  .works-post-contents-4-1 {
    width: auto;
    height: auto;
  }
  .works-post-contents-4-2 {
    width: auto;
    height: auto;
  }
  .works-post-contents-5-1 {
    width: auto;
    height: auto;
  }
  .works-post-contents-5-2 {
    width: auto;
    height: auto;
  }
  .works-post-contents-6-1 {
    width: auto;
    height: auto;
  }
  .works-post-contents-6-2 {
    width: auto;
    height: auto;
  }
  .works-post-contents-7-1 {
    width: auto;
    height: auto;
  }
  .works-post-contents-7-2 {
    width: auto;
    height: auto;
  }
  .profile-contents-1-left {
    width: auto;
    height: auto;
  }
  .profile-contents-1-right {
    width: auto;
    height: auto;
  }
  .profile-contents-2-left {
    width: auto;
    height: auto;
  }
  .profile-contents-2-right {
    width: auto;
    height: auto;
  }
  .contact-contents-1 {
    width: auto;
    height: auto;
  }
  .contact-contents-2 {
    width: auto;
    height: auto;
  }
  .representative-message {
    width: auto;
    height: auto;
  }
  .works-category1 {
    width: auto;
    height: auto;
  }
  .works-category2 {
    width: auto;
    height: auto;
  }
  .works-category3 {
    width: auto;
    height: auto;
  }
  .works-post-category1 {
    width: auto;
    height: auto;
  }
  .works-post-category2 {
    width: auto;
    height: auto;
  }
  .works-post-category3 {
    width: auto;
    height: auto;
  }
  .works-post-title-2 {
    width: auto;
    height: auto;
  }
  .btn-to-works {
    width: auto;
    height: auto;
  }
  .contact-contents-2 form {
    width: auto;
    height: auto;
  }
  .contact-contents-2 label {
    /*    width: auto !important;*/
    width: 100%;
    height: auto;
  }
  .contact-contents-2 input {
    /*    width: auto !important;*/
    width: 100%;
    height: auto;
  }
  .btn-confirm {
    width: auto;
    height: auto;
  }
  .contact-contents-2 h5 {
    width: auto;
    height: auto;
  }
  .contact-contents-2 textarea {
    width: 100%;
    height: auto;
  }
  .file-comment {
    margin: 0;
  }
  .file-sample {
    margin: 0;
  }
  .works-post-contents-1 hr {
    width: auto;
  }
  .works-post-contents-6 hr {
    width: auto;
  }
  .flow1-after-contents {
    margin: 0;
  }
  #main-visual h1 {
    font: normal normal bold calc((var(--font-factor) / 2) * 100vw / 1920 * 40) /
      calc(100vw / 1920 * 90 * (var(--font-factor) / 2)) Roboto;
  }
  .introduction-contents {
    width: auto;
    height: auto;
  }
  .function-left {
    width: auto;
  }
  .function-right {
    width: auto;
    margin: 0;
  }
}

/*# sourceMappingURL=custom_media_query.css.map */
/* pricing-table */
.pricing-table-wrap {
  overflow-x: auto;
}
.pricing-table {
  border-collapse: collapse;
  margin: 2em 0;
  width: 100%;
}
.pricing-table th,
.pricing-table td {
  border: 1px solid #bbb;
  padding: 0.6em;
}
.pricing-table thead th {
  background-color: #4c64d3;
  color: #fff;
  font-weight: bold;
  text-align: center;
}
.pricing-table tbody th {
  background-color: #f0f8ff;
  font-weight: bold;
}
.pricing-table tbody td {
  text-align: center;
}
.pricing-table tbody td small {
  display: block;
  font-size: 0.8em;
  margin-top: 0.4em;
}
.pricing-notes {
  font-size: 0.9em;
  margin-top: 1em;
}

/* pricing-table responsive */
@media screen and (max-width: 767px) {
  .pricing-table {
    border: 0;
  }
  .pricing-table thead {
    display: none;
  }
  .pricing-table tr {
    display: block;
    margin-bottom: 0.625em;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
  }
  .pricing-table td,
  .pricing-table th[scope="row"] {
    border: none; /* Reset border */
    padding: 0.6em; /* Keep padding consistent */
  }
  .pricing-table td {
    display: block;
    border-bottom: 1px dotted #ccc;
    text-align: right;
  }
  .pricing-table td:before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-align: left;
  }
  .pricing-table td:last-child {
    border-bottom: 0;
  }
  .pricing-table th[scope="row"] {
    display: block;
    background: #4c64d3;
    color: white;
    text-align: center;
    border-radius: 5px 5px 0 0;
  }
}

/* =============================================================
   UNIFIED PRICING MOBILE FIX (SCOPED)
   Scope: ONLY #pricing (<=576px). No global overrides.
   ============================================================= */
@media (max-width: 576px) {
  #pricing .pricing-table {
    background: transparent !important;
    border: 0 !important;
  }

  /* table head off on mobile */
  #pricing .pricing-table thead {
    display: none !important;
  }

  #pricing .pricing-table,
  #pricing .pricing-table tbody {
    display: block !important;
    width: 100% !important;
  }

  /* kill cell borders */
  #pricing .pricing-table th,
  #pricing .pricing-table td {
    border: 0 !important;
    background: transparent !important;
  }

  /* row as a rounded card */
  #pricing .pricing-table tbody tr {
    position: relative !important;
    display: block !important;
    margin: 14px 0 !important;
    border-radius: 12px !important;
    background: #fff !important;
    overflow: hidden !important;
  }
  #pricing .pricing-table tbody tr::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.18) !important;
    border-radius: 12px !important;
    pointer-events: none !important;
  }

  /* full-width, single-line blue label bar */
  #pricing .pricing-table tbody th[scope="row"] {
    display: block !important;
    width: calc(100% - 24px) !important;
    margin: 12px 12px 0 !important;
    text-align: center !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    padding: 10px 12px !important;
    background: #4c64d3 !important;
    color: #fff !important;
    border-radius: 9999px !important;
    line-height: 1.25 !important;
    font-size: clamp(12px, 3.6vw, 14px) !important;
  }

  /* row content alignment */
  #pricing .pricing-table tbody td {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75em !important;
    padding: 12px 16px !important;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.28) !important;
  }
  #pricing .pricing-table tbody td:last-child {
    border-bottom: 0 !important;
  }

  /* left-side labels (data-label) */
  #pricing .pricing-table tbody td::before {
    content: attr(data-label) !important;
    font-weight: 700 !important;
    margin-right: auto !important;
    text-align: left !important;
    min-width: 7em !important;
  }
}

/* CTA 角丸の強制（SP） */
@media (max-width: 576px) {
  .footer-page-top2 {
    border-radius: 20px !important; /* ← 後勝ちで上書き */
    overflow: hidden; /* はみ出しをマスク */
  }
  /* 子要素が全面に背景を塗っている場合の保険 */
  .footer-page-top2 > * {
    border-radius: inherit;
  }
}

/* Back to Top Button position on Mobile */
@media screen and (max-width: 991.98px) {
  .back-to-top-btn {
    right: 20px;
    bottom: 165px; /* Mobile CTA height (145px) + 20px margin */
  }
}
