/*
 * 既存のレスポンシブ調整。後から読み込む haji.css の指定が優先されます。
 */

@media (max-width: 1100px) {
  .lp-header nav {
    gap: 16px;
    font-size: 12px;
  }
  .lp-header {
    padding-left: 20px;
  }
  .brand {
    width: 145px;
  }
  .header-cta {
    padding: 0 22px;
  }
  .hero-copy h1 {
    font-size: 40px;
  }
  .split {
    gap: 40px;
  }
}
@media (max-width: 960px) {
  html {
    scroll-padding-top: 80px;
  }
  body {
    font-size: 15px;
    line-height: 1.9;
  }
  .lp-header {
    height: 64px;
    padding-left: 16px;
  }
  .brand {
    width: 118px;
    margin-right: auto;
  }
  .header-cta {
    font-size: 12px;
    padding: 0 15px;
    gap: 8px;
  }
  .menu-button {
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    width: 52px;
    height: 64px;
    border: 0;
    background: #fff;
  }
  .menu-button span {
    height: 1px;
    width: 20px;
    background: var(--navy);
  }
  .lp-header nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px 25px;
    box-shadow: 0 10px 20px #303a5512;
    font-size: 15px;
    gap: 0;
  }
  .lp-header nav.open {
    display: flex;
    flex-direction: column;
  }
  .lp-header nav a {
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }
  .hero-inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 36px 22px 40px;
    gap: 0;
  }
  .hero-copy {
    width: 100%;
  }
  .hero-copy h1 {
    font-size: 29px;
    line-height: 1.65;
    letter-spacing: 0;
    white-space: normal;
  }
  .eyebrow {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .hero-lead {
    font-size: 15px;
    margin-top: 16px;
  }
  .hero-description {
    font-size: 13px;
    margin-top: 16px;
    line-height: 1.85;
  }
  .hero-visual {
    margin-top: 16px;
    width: 100%;
  }
  .hero-visual img {
    height: 270px;
    object-fit: contain;
  }
  .hero-visual figcaption {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 15px;
    text-align: center;
    font-size: 12px;
  }
  .visual-note {
    font-size: 10px;
    margin-top: 6px;
  }
  .hero-action {
    width: 100%;
    margin-top: 23px;
  }
  .button {
    min-width: 0;
    width: 100%;
    min-height: 56px;
    font-size: 15px;
    gap: 35px;
  }
  .hero-action small {
    text-align: center;
    font-size: 11px;
  }
  .pc {
    display: none;
  }
  .section {
    padding: 68px 22px;
  }
  h2 {
    font-size: 27px;
    line-height: 1.6;
    letter-spacing: 0.02em;
  }
  h3 {
    font-size: 20px;
  }
  .section-heading {
    margin-bottom: 24px;
  }
  .lead {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .split.reverse > div,
  .split.reverse > figure {
    order: initial;
  }
  .role-visual {
    padding: 22px 15px;
  }
  .role-cap {
    font-size: 12px;
    margin-bottom: 20px;
  }
  .role-top {
    font-size: 14px;
  }
  .role-core {
    font-size: 21px;
    padding: 17px 12px;
  }
  .role-visual span {
    font-size: 11px;
  }
  .role-pair {
    gap: 8px;
    margin: 16px 0;
  }
  .role-pair div {
    font-size: 14px;
    padding: 15px 7px;
  }
  .role-pair b {
    font-size: 20px;
  }
  .role-base {
    font-size: 16px;
  }
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .card {
    padding: 27px 23px;
  }
  .card-visual {
    height: 210px;
    margin-top: 22px;
  }
  .card p {
    font-size: 14px;
  }
  .feature-row + .feature-row {
    margin-top: 70px;
  }
  .diagram {
    padding: 24px 18px;
  }
  .domain-grid {
    gap: 12px;
  }
  .domain-grid div {
    font-size: 15px;
    padding: 18px 7px;
  }
  .domain-core {
    font-size: 21px;
  }
  .domain-grid small {
    font-size: 11px;
  }
  .domain-link {
    font-size: 12px;
  }
  .table-wrap {
    margin-top: 24px;
  }
  table {
    font-size: 13px;
    min-width: 560px;
  }
  th,
  td {
    padding: 13px 11px;
  }
  .compare-block + .compare-block {
    margin-top: 55px;
  }
  .table-note {
    font-size: 12px;
  }
  .price-amount {
    font-size: 26px;
    margin: 22px 0 14px;
  }
  .price-body {
    padding: 26px;
  }
  .process {
    grid-template-columns: 1fr 1fr;
    gap: 26px 18px;
  }
  .step h3 {
    font-size: 18px;
  }
  .step p {
    font-size: 13px;
  }
  .callout {
    padding: 23px;
    font-size: 14px;
  }
  .use-diagram {
    height: 220px;
  }
  .use-diagram span {
    font-size: 15px;
  }
  .use-card {
    margin-bottom: 16px;
  }
  .related {
    padding: 25px 0;
  }
  summary {
    font-size: 15px;
    padding: 23px 0;
    gap: 13px;
    line-height: 1.75;
  }
  summary::before {
    font-size: 24px;
  }
  details p {
    padding: 0 0 23px 30px;
    font-size: 14px;
  }
  .contact-intro {
    text-align: left;
    margin-bottom: 30px;
  }
  .form {
    padding: 25px 18px;
  }
  .form label {
    font-size: 14px;
  }
  .form-note {
    font-size: 12px;
  }
  .form .consent {
    font-size: 13px;
  }
  .form-status {
    font-size: 13px;
  }
  .company dl > div {
    grid-template-columns: 1fr;
    padding: 17px 0;
    gap: 7px;
    font-size: 13px;
  }
  .company dt {
    color: var(--blue);
  }
  .lp-footer {
    padding: 42px 22px 23px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .footer-logo {
    width: 160px;
  }
  .certifications {
    gap: 22px;
  }
  .cookie-text {
    font-size: 11px;
  }
  .footer-links {
    flex-direction: column;
    gap: 12px;
    font-size: 12px;
  }
  .copyright {
    font-size: 10px;
  }
}
@media (max-width: 960px) {
  h2 {
    text-wrap: balance;
  }
  .feature-row {
    gap: 0;
  }
  .feature-row > div {
    display: contents;
  }
  .feature-row > div > .section-heading {
    grid-row: 1;
  }
  .feature-row > div > .lead {
    grid-row: 2;
  }
  .feature-row > .diagram {
    grid-row: 3;
    margin: 26px 0 32px;
  }
  .feature-row > div > p {
    margin-bottom: 20px;
  }
  .feature-row > div > p + p {
    margin-top: 0;
  }
}
@media (max-width: 960px) {
  .hero-inner {
    height: auto;
    min-height: 0;
    padding: 32px 22px 30px;
    display: flex;
    max-width: 600px;
  }
  .hero-copy {
    align-self: auto;
  }
  .hero-copy h1 {
    font-size: 29px;
    line-height: 1.65;
  }
  .hero-copy .eyebrow {
    margin-bottom: 12px;
  }
  .hero-lead {
    font-size: 14px;
    margin-top: 15px;
  }
  .hero-visual {
    width: calc(100% + 30px);
    margin: 12px -15px 0;
  }
  .hero-visual img {
    height: 270px;
    width: 100%;
  }
  .hero-visual figcaption {
    font-size: 10px;
    margin-top: -9px;
  }
  .hero-action {
    padding: 0;
    margin-top: 20px;
    align-self: auto;
  }
  .hero-action small {
    font-size: 10px;
  }
  .scope-heading {
    margin-bottom: 40px;
  }
  .feature-row h2 {
    font-size: 26px;
  }
  .feature-row .relational {
    padding: 0;
    margin: 15px 0 25px;
  }
  .section-heading.center {
    margin-bottom: 36px;
  }
}
@media (max-width: 960px) {
  .scope-heading h2 {
    font-size: 27px;
  }
  .strength-flow span {
    font-size: 13px;
  }
  .strength-flow {
    gap: 4px;
  }
}
@media (max-width: 960px) {
  .hero-visual figcaption {
    display: block;
    text-align: center;
  }
}
@media (max-width: 960px) {
  body {
    font-weight: 500;
  }
  .section {
    padding: 65px 22px;
  }
  h2,
  .scope-heading h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.4;
  }
  .section-heading.center {
    margin-bottom: 40px;
  }
  .hero-copy h1 {
    font-family: 'Noto Sans JP', 'Yu Gothic', sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.65;
  }
  .hero-inner {
    height: auto;
    padding: 30px 22px 32px;
  }
  .hero-copy .eyebrow {
    font-size: 12px;
    margin-bottom: 14px;
  }
  .hero-lead {
    font-size: 14px;
    margin-top: 16px;
  }
  .hero-visual img {
    height: 285px;
  }
  .hero-visual {
    margin-top: 10px;
  }
  .hero-action {
    margin-top: 15px;
  }
  .hero-action small {
    font-size: 10px;
  }
  .eyebrow {
    font-size: 14px;
    margin-bottom: 18px;
  }
  .section p {
    font-size: 15px;
    line-height: 1.9;
  }
  .overview h2 {
    font-size: 28px;
    line-height: 1.5;
  }
  .overview .lead {
    font-size: 20px;
  }
  .overview p {
    font-size: 15px;
    line-height: 1.9;
  }
  .section .lead,
  .feature-row .lead {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 25px;
  }
  .feature-row h2 {
    font-size: 24px;
    line-height: 1.5;
  }
  .feature-row .relational {
    margin: 15px 0 30px;
  }
  .feature-row + .feature-row {
    margin-top: 85px;
  }
  .scope-heading {
    margin-bottom: 45px;
  }
  .split {
    gap: 30px;
  }
  #strengths .grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .card {
    padding: 24px 20px 0;
  }
  .card h3 {
    min-height: 0;
    font-size: 24px;
    margin-bottom: 20px;
  }
  .card p {
    min-height: 0;
    font-size: 15px;
    line-height: 1.9;
  }
  .card-visual {
    height: 190px;
    width: calc(100% + 40px);
    margin: 10px -20px 0;
  }
  .reason-label {
    font-size: 14px;
  }
  .comparison-tabs {
    gap: 10px;
  }
  .comparison-tabs button {
    font-size: 13px;
    padding: 13px 10px;
  }
  .panel-title {
    font-size: 22px;
    margin-top: 25px;
  }
  .button {
    min-height: 50px;
    font-size: 15px;
  }
  .related-intro {
    text-align: left;
    margin-bottom: 45px !important;
    font-size: 15px !important;
  }
  .service-row h3 {
    font-size: 24px;
    margin-bottom: 22px;
  }
  .service-row .eyebrow {
    font-size: 13px;
  }
  .service-row + .service-row {
    margin-top: 65px;
  }
  .service-row figure {
    margin: 0;
  }
  .service-row p {
    font-size: 15px;
    line-height: 2;
  }
  .related-services .split > div {
    order: 1;
  }
  .related-services .split > figure {
    order: 2;
  }
  .pending-note {
    padding: 15px;
    font-size: 13px !important;
    margin-top: 35px;
  }
  .price-top h3 {
    font-size: 24px;
  }
  .form-note {
    padding: 13px;
    font-size: 13px;
  }
  .company h2 {
    font-size: 28px;
  }
  .use-scene img {
    height: 200px;
  }
  .step h3 {
    font-size: 18px;
  }
  .step p {
    font-size: 13px;
  }
  .consult-strip h2 {
    font-size: 24px;
  }
}
@media (max-width: 960px) {
  h2 {
    letter-spacing: 0;
  }
  #strengths h2 {
    font-size: 28px;
    letter-spacing: 0;
    text-wrap: wrap;
  }
  #comparison h2 {
    text-wrap: wrap;
  }
}
@media (max-width: 960px) {
  h2 {
    letter-spacing: 0;
  }
  #strengths h2 {
    font-size: 28px;
    letter-spacing: 0;
    text-wrap: wrap;
  }
  #comparison h2 {
    text-wrap: wrap;
  }
}
@media (max-width: 960px) {
  h2 {
    letter-spacing: 0;
  }
  #strengths h2 {
    font-size: 28px;
    letter-spacing: 0;
    text-wrap: wrap;
  }
  #comparison h2 {
    text-wrap: wrap;
  }
}
@media (max-width: 960px) {
  .hero-visual {
    width: 100%;
    margin: 12px 0 0;
  }
  .hero-visual img {
    height: auto;
    width: 100%;
    max-height: 300px;
  }
  .hero-action {
    margin-top: 20px;
  }
  .card-visual {
    height: 220px;
    width: 100%;
    margin: 15px 0 12px;
  }
  .relational img {
    max-height: none;
  }
}

@media (max-width: 960px) {
  .use-scene img {
    height: auto;
    max-height: 430px;
  }
  .service-row picture,
  .relational picture,
  .use-scene picture {
    display: block;
  }
  .service-row img {
    max-height: 470px;
    object-fit: contain;
  }
  .relational picture img {
    max-height: 470px;
    object-fit: contain;
  }
}

@media (max-width: 960px) {
  .hero-inner {
    height: auto;
    max-width: 600px;
    width: 100%;
    padding: 40px 22px 36px;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .hero-copy {
    width: 100%;
    text-align: left;
    align-self: auto;
  }
  .hero-copy h1 {
    font-size: 27px;
    line-height: 1.65;
    letter-spacing: 0;
  }
  .hero-copy .eyebrow {
    font-size: 12px;
    margin-bottom: 18px;
  }
  .hero-lead {
    font-size: 14px;
    margin-top: 20px;
  }
  .hero-action {
    margin-top: 24px;
    text-align: left;
    width: 100%;
    padding: 0;
  }
  .hero-action .button {
    width: 100%;
    min-height: 54px;
    padding: 15px 24px;
  }
  .hero-action small {
    text-align: left;
    font-size: 10px;
    margin-top: 13px;
    max-width: none;
  }
  .hero-visual {
    width: calc(100% + 12px);
    margin: 0 -6px;
  }
  .hero-visual img {
    width: 100%;
    height: auto;
    max-height: none;
  }
  .problems .section-heading {
    text-align: left;
  }
  .problems h2 {
    font-size: 27px;
    line-height: 1.5;
  }
  .problems .grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .problem-card {
    padding: 28px 24px;
  }
  .problem-card h3 {
    font-size: 21px;
    margin-bottom: 20px;
  }
  .problem-card .detail-list {
    font-size: 15px;
    line-height: 1.9;
  }
  .problem-card li {
    margin-bottom: 13px;
  }
  .problems .callout {
    padding: 22px;
    font-size: 14px;
  }
}
@media (max-width: 360px) {
  .hero-copy h1 {
    font-size: 23px;
  }
}
