/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

body {
    font-family: 'M PLUS 1', sans-serif;
    line-height: 1.6;
    color: #21272A;
    background-color: #ffffff;
    overflow-x: hidden;
    padding-bottom: 0; /* dynamic padding applied via JS for fixed CTA */
    width: 100%;
    max-width: 100vw;
    margin: 0;
    box-sizing: border-box;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    /* Improve visual line breaks to match Figma */
    text-wrap: balance;
    line-break: strict;
}

.highlight {
    color: #0f62fe;
}

.hero-title-light {
    font-weight: 800;
    width: 600px;
}

/* Layout */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #dde1e6;
    z-index: 2000; /* keep header always on top */
    padding: 12px 16px;
    transform: translateY(0) !important; /* never hide on scroll */
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-image {
    height: 32px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    justify-content: flex-end; /* align menu items to the right */
}

.nav {
    margin-left: auto; /* push the nav block to the right side */
}

.nav-link {
    text-decoration: none;
    color: #21272A;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 8px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0f62fe;
}

/* Hide menu item for 導入事例 */
.nav-item-cases { display: none !important; }

.mobile-menu-toggle {
    display: none; /* Hide by default on desktop */
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    margin-right: -8px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

    /* Mobile Menu Styles */
    .nav.mobile-open {
        display: flex !important;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1500;
        border-top: 1px solid #dde1e6;
    }

.nav.mobile-open .nav-menu {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
}

.nav.mobile-open .nav-link {
    font-size: 18px;
    padding: 16px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.nav.mobile-open .nav-link:last-child {
    border-bottom: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px !important;
    background: #21272A;
    margin: 3px 0;
    transition: 0.3s;
}

.cta-button {
    background: #ffda35;
    color: #000000;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    font-family: 'M PLUS 1', sans-serif;
    gap: 8px;
    text-decoration: none; /* for <a> */
}

.cta-button:hover,
.hero-cta:hover {
    background: #f0d030;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 218, 53, 0.3);
}

.header-cta {
    width: auto;
    min-width: 120px;
    height: 40px;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-left: 40px; /* gap between nav and right CTA */
}

/* Hero Section */
.hero {
    background: #ecf7ff;
    padding: 120px 0 80px;
    margin-top: 72px;
}

/* Hero BG KV background removed (revert) */

/* KVBG background removed as requested */
/* Restore BG image usage */
.hero.has-kv-bg {
    background: #ecf7ff url('assets/BG_KV.png?v=20250813') no-repeat right center / cover;
    padding-top: 80px;
    margin-top: 40px;
}

/* (reverted) hero KV background removed */

.hero-content {
    display: flex;
    align-items: center;
    gap: 120px;
}

/* PC版でのhero-content gap調整 */
@media (min-width: 768px) {
.hero-content {
        gap: 64px;
    }
    
    /* Hero has-kv-bg padding-top adjustment for PC */
    .hero.has-kv-bg {
        padding-top: 100px;
    }
}

.hero-text {
    flex: 1;
    max-width: 630px;
    width: 630px;
    display: flex;
    flex-direction: column;
    gap: 20px; /* KV text vertical gap */
    margin-top: -40px; /* move KV text up */
}

.hero-badge {
    color: #0f62fe;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 0; /* handled by parent gap */
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: #21272A;
    margin-bottom: 0; /* handled by parent gap */
    line-height: 1.4;
    word-break: keep-all; /* avoid awkward CJK breaks */
    max-width: 630px; /* match Figma headline width for wrapping */
}

.nowrap { white-space: nowrap; }

.hero-cta {
    background: #ffda35;
    color: #000000;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 253px; /* button-FV width */
    min-width: 200px;
    height: 56px;
    margin-top: 20px; /* total gap to KV text becomes 40px (parent 20 + 20) */
    font-family: 'M PLUS 1', sans-serif;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap; /* prevent text wrapping */
}



.hero-visual {
    flex: 1;
    position: relative;
    width: 640px;
}

.hero-image {
    width: 640px;
    height: auto;
    max-width: 640px;
    object-fit: contain;
}

/* PC版でのhero-visualサイズ調整 */
@media (min-width: 768px) {
    .hero-visual {
        width: 680px;
    }
    
    .hero-image {
        width: 680px;
        max-width: 680px;
    }
}

/* Stats Section */
.stats {
    background: #f6fbff;
    padding: 0 0 40px;
}

/* New Stats Design - Figma Based */
.stats-content-new {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    padding: 0 40px;
    min-height: 242px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}

.stat-item-new {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 232px;
    height: 160px;
    flex-shrink: 0;
}

.stat-item-new:first-child .stat-image-new {
    width: 293px;
    height: 242px;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.stat-item-new:nth-child(2) .stat-image-new,
.stat-item-new:nth-child(3) .stat-image-new {
    width: 193px;
    height: 125px;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.stat-image-new {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

.stats-footnote-new {
    font-family: 'M PLUS 1', sans-serif;
    font-size: 12px;
    color: #2e2e2e;
    font-weight: 300;
    line-height: 1.4;
    width: 100%;
    max-width: 744px;
    text-align: center;
    margin: 0 auto;
    padding: 40px 0 0 0;
}

.stats-footnote-new p {
    margin: 0 0 4px 0;
}

.stats-footnote-new p:last-child {
    margin-bottom: 0;
}

/* Original styles for backward compatibility */
.stats-content {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    padding: 0 171px 0 260px;
    min-height: 242px;
}

.stat-item {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 232px;
    height: 160px;
    flex-shrink: 0;
}

.stat-item:first-child .stat-image {
    width: 293px;
    height: 242px;
    object-fit: contain;
}

.stat-item:nth-child(2) .stat-image,
.stat-item:nth-child(3) .stat-image {
    width: 193px;
    height: 125px;
    object-fit: contain;
}

.stat-image {
    width: 100%;
    height: auto;
    max-width: 293px;
}

.stats-footnote {
    font-size: 10px;
    color: #2e2e2e;
    font-weight: 300;
    line-height: 1.4;
    width: 293px;
    flex-shrink: 0;
    align-self: flex-end;
    padding-bottom: 10px;
}

.stats-footnote p {
    margin: 0 0 4px 0;
}

.stats-footnote p:last-child {
    margin-bottom: 0;
}

/* Clients Section */
.clients {
    padding: 80px 0;
    text-align: center;
}

/* Clients section description style */
.clients .section-description {
    font-size: 16px;
    color: #808080;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 24px;
}

/* Clients section gaps per Figma */
.clients .section-title { margin-bottom: 24px; }
.clients-logos { 
    margin-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Clients Grid Layout */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    height: 80px;
}

.client-logo-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Make first logo larger */
.client-logo:first-child .client-logo-image {
    width: 140px;
    height: auto;
    max-width: 140px;
    max-height: none;
    object-fit: contain;
}

/* Make third logo larger */
.client-logo:nth-child(3) .client-logo-image {
    width: 160px;
    height: auto;
    max-width: 160px;
    max-height: none;
    object-fit: contain;
}

/* New Clients Grid Design - Figma Based */
.clients-grid-new {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    height: 160px;
    justify-content: center;
    align-items: center;
}

.client-logo-new {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 190/60;
    background: #ffffff;
    border-radius: 4px;
    padding: 0;
    box-sizing: border-box;
}

.client-logo-image-new {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    color: #21272A;
    margin-bottom: 16px;
    line-height: 1.4;
    text-wrap: balance;
}

.clients-image {
    width: 100%;
    height: auto;
    max-width: 1283px;
}

/* Problems & Solutions Section */
.problems-solutions {
    padding: 80px 56px;
    text-align: center;
}

/* New Problems & Solutions Design - Fully Responsive */
.problems-solutions {
    padding: clamp(40px, 8vw, 80px) clamp(20px, 4vw, 56px);
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.section-title-new {
    font-family: 'M PLUS 1', sans-serif;
    font-size: clamp(20px, 4vw, 30px);
    font-weight: 700;
    color: #21272a;
    line-height: 1.2;
    margin: 0 0 clamp(32px, 8vw, 64px) 0;
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
}

.problems-grid-new {
    display: flex;
    gap: clamp(16px, 4vw, 40px);
    align-items: stretch;
    justify-content: center;
    margin: 0 auto clamp(32px, 8vw, 64px) auto;
    width: 100%;
    max-width: 1440px;
    flex-wrap: wrap;
}

.problem-card-new {
    height: auto;
    width: 100%;
    max-width: 360px;
    min-width: 280px;
    flex: 1 1 300px;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 360/393;
}

.problem-image-new {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-position: center;
    display: block;
    border-radius: 8px;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
}

.solution-title-new {
    font-family: 'M PLUS 1', sans-serif;
    font-size: clamp(20px, 4vw, 30px);
    font-weight: 700;
    color: #21272a;
    line-height: 1.2;
    margin: 0 0 clamp(32px, 8vw, 64px) 0;
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
}

.solutions-grid-new {
    display: flex;
    gap: clamp(16px, 4vw, 40px);
    align-items: stretch;
    justify-content: center;
    margin: 0 auto clamp(32px, 8vw, 64px) auto;
    width: 100%;
    max-width: 1440px;
    flex-wrap: wrap;
}

.solution-item-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 360px;
    min-width: 280px;
    flex: 1 1 300px;
}

.arrow-icon-new {
    aspect-ratio: 360/80;
    width: 100%;
    height: clamp(60px, 8vw, 80px);
    background: url('assets/arrow-blue.png') no-repeat;
    background-size: 22.22% 100%;
    background-position: top;
    flex-shrink: 0;
    margin-bottom: 16px;
}

.solution-card-new {
    background: #ffffff;
    height: auto;
    min-height: clamp(350px, 40vw, 435px);
    width: 100%;
    position: relative;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    flex: 1;
}

.solution-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(15, 98, 254, 0.5);
    border-radius: 12px;
    pointer-events: none;
}

.solution-image-new {
    width: clamp(140px, 20vw, 200px);
    height: clamp(140px, 20vw, 200px);
    object-fit: cover;
    background-position: center;
    background-size: cover;
    flex-shrink: 0;
    margin-top: 20px;
}

.solution-text-new {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 3vw, 24px);
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 4vw, 40px) 16px;
    width: 100%;
    flex: 1;
}

.solution-subtitle-new {
    font-family: 'M PLUS 1', sans-serif;
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 600;
    color: #21272a;
    line-height: 1.2;
    margin: 0;
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.solution-description-new {
    font-family: 'M PLUS 1', sans-serif;
    font-size: clamp(13px, 2vw, 16px);
    color: #21272a;
    line-height: 1.6;
    margin: 0;
    width: 100%;
    max-width: 100%;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.solutions-cta-new {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 20px;
}

.cta-button-new {
    background: #ffda35;
    color: #000000;
    border: none;
    padding: clamp(12px, 2vw, 16px) clamp(16px, 3vw, 24px);
    border-radius: 8px;
    font-family: 'M PLUS 1', sans-serif;
    font-weight: 600;
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 1;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    height: clamp(44px, 7vw, 56px);
    width: auto;
    min-width: clamp(200px, 30vw, 300px);
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-button-new:hover {
    background: #f0d030;
}

/* Original styles for backward compatibility */
.problems-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin: 64px 0;
}

.problem-card {
    flex: 1;
    max-width: 360px;
}

.problem-image {
    width: 100%;
    height: auto;
}

.solution-title {
    font-size: 30px;
    font-weight: 700;
    color: #21272A;
    margin-bottom: 64px;
    line-height: 1.2;
}

.solutions-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 64px;
}

.solution-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 360px;
}

.arrow-icon {
    width: 360px;
    height: 80px;
    margin-bottom: 16px;
    background-image: url('assets/arrow-blue.png');
    background-repeat: no-repeat;
    background-size: 22.22% 100%;
    background-position: top center;
}

.solution-content {
    width: 100%;
}

.solution-card {
    background: #ffffff;
    border: 2px solid rgba(15, 98, 254, 0.5);
    border-radius: 12px;
    height: 435px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.solution-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.solution-text {
    padding: 40px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.solution-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #21272A;
    line-height: 1.2;
    margin: 0;
    text-align: center;
    width: 348px;
    text-wrap: balance;
}

.solution-description {
    font-size: 16px;
    color: #21272A;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    width: 100%;
    max-width: 100%;
    text-align: left;
}

.solutions-cta {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.solutions-cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.solutions-cta .cta-button {
    width: auto;
    min-width: 200px;
    height: 56px;
    padding: 16px 24px;
    font-size: 20px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* API Overview Section */
.api-overview {
    background: #f6fbff;
    padding: 80px 160px;
}

.api-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.api-text {
    flex: 1;
    max-width: 520px; /* align with Figma width */
}

.section-description {
    font-size: 16px; /* unify at 16px */
    color: #21272A;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 20px;
}

.api-visual {
    flex: 1;
    max-width: 600px;
}

.api-image {
    width: 100%;
    height: auto;
}

/* Reasons Section */
.reasons {
    background: #f6fbff;
    padding: 80px 40px;
}

  /* Reasons typography updates per Figma */
  .reasons .section-title {
      font-size: 28px;
  }
.reasons .reason-title {
    font-size: 20px;
}

/* Keep the 3rd reasons title on a single line (no line breaks) */
/* Keep the 3rd reasons title on a single line (no line breaks) */
.reasons .reason-card:nth-of-type(3) .reason-title {
    white-space: nowrap !important;
    word-break: keep-all;
    overflow-wrap: normal;
}
/* Footnote under the one-line title */
.reasons .reason-card:nth-of-type(3) .reason-title .footnote {
    display: block;
    white-space: normal !important;
    margin-top: 4px;
}
.reasons .reason-description {
    font-size: 16px; /* was 18px */
}
.reasons .reason-details strong {
    font-size: 16px; /* keep readable emphasis */
}
.reasons .reason-details ul li {
    font-size: 15px; /* slightly tighter body */
}
.reasons .footnote {
    font-size: 12px; /* was 13px */
}

.reasons-content {
    display: flex;
    gap: 56px;
}

.reasons-video {
    flex: 1;
    max-width: 668px;
    align-self: flex-start;
    /* positionはメディアクエリで制御 */
}

/* Note: Position controlled by final rule at end of file */

.reasons-image {
    width: 100%;
    height: auto;
    box-shadow: 0 6px 30px rgba(15, 98, 254, 0.1);
}

.reasons-video video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 6px 30px rgba(15, 98, 254, 0.1);
}

.reasons-text {
    flex: 1;
    max-width: 610px;
}

.reason-card {
    background: #ffffff;
    border: 2px solid rgba(15, 98, 254, 0.5);
    border-radius: 8px;
    padding: 32px; /* revert to previous padding */
    margin-bottom: 32px;
    width: 610px;
}

.reason-icon {
    background: #ffda35;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.icon-image {
    width: 32px;
    height: 32px;
}

.reason-title {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 16px;
    line-height: 1.1;
    text-wrap: balance;
}

.reason-description {
    font-size: 18px;
    color: #808080;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 20px;
}

.reason-details {
    list-style: none;
}

.reason-details li {
    margin-bottom: 20px;
}

.reason-details strong {
    font-size: 16px;
    font-weight: 700;
    color: #21272A;
    line-height: 1.6;
}

.reason-details ul {
    margin-left: 19px;
    margin-top: 8px;
}

.reason-details ul li {
    font-size: 16px;
    color: #21272A;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footnote {
    font-size: 13px;
    color: #808080;
    font-weight: 400; /* ensure not bold inside headings */
    line-height: 1.6;
    margin-top: 8px;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    text-align: center;
}

.pricing-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin: 40px 0;
}

.pricing-card {
    background: #ffffff;
    border: 2px solid rgba(15, 98, 254, 0.5);
    border-radius: 20px;
    padding: 48px 24px 32px; /* Figma: pt-12 px-6 pb-8 */
    width: 410px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-card.image-only {
    padding: 0;
    border: none;
    background: transparent;
    position: relative; /* ensure border overlay positions correctly */
}

.pricing-card-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* Overlay blue frame for image-only pricing cards */
.pricing-card.image-only::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid rgba(15, 98, 254, 0.5);
    border-radius: 20px;
    pointer-events: none;
}

/* Figma split card container (node 327-300) */
.pricing-card.image-only.split {
    background: #ffffff;
    padding: 48px 24px 32px; /* pt-12 px-6 pb-8 */
}
.pricing-card.image-only.split .pricing-card-image {
    border-radius: 0; /* inside images are square; outer card has radius */
}
.pricing-card.image-only.split img[src*="pricing-info-1"] {
    width: 100%;
    max-width: 362px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}
.pricing-card.image-only.split img[src*="pricing-info-2"] {
    width: 100%;
    max-width: 362px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}
.pricing-card.image-only.split img[src*="simulation-info-1"] {
    width: 100%;
    max-width: 362px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}
.pricing-card.image-only.split img[src*="simulation-info-2"] {
    width: 100%;
    max-width: 362px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}
.pricing-card.image-only.split img[src*="custom-info-1"] {
    width: 100%;
    max-width: 362px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}
.pricing-card.image-only.split img[src*="custom-info-2"] {
    width: 100%;
    max-width: 362px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}
.pricing-card.image-only.split .pricing-cta-container {
    margin: 20px 0; /* Figma間隔に合わせる */
}

/* Figma node 327-300 split images: constrain to inner width 362px and center */
.pricing-card.image-only img[src*="pricing-info-"] {
    width: 362px;
    max-width: 362px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0;
}

/* Figma: plan title 24px, blue */
.plan-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f62fe;
    line-height: 1.1;
    text-align: center;
    width: 100%;
    margin-bottom: 40px; /* gap-10 */
}

.pricing-target {
    margin-bottom: 0; /* handled by plan-title gap */
}

/* Figma: yellow bar + heading */
.target-heading {
    position: relative;
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    text-align: center;
    width: 100%;
    margin-bottom: 8px;
}
.target-heading::before {
    content: "";
    display: block;
    width: 127px;
    height: 12px; /* approx h-3 */
    background: #ffda35;
    margin: 9px auto 6px; /* match Figma offsets */
    border-radius: 2px;
}

.target-text {
    font-size: 16px;
    color: #21272A;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.pricing-details {
    margin: 0 0 16px;
}

/* Divider (Stroke) for Pricing blocks */
.pricing-card .pricing-details {
    border-top: 1px solid #dde1e6;
    padding-top: 20px; /* h-5 divider spacing */
    margin-top: 0;
}

.pricing-cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0; /* unified to 40px as requested */
    width: 100%;
    padding: 0; /* align with card edges */
}

/* If CTA is the last element, remove extra bottom margin */
/* keep bottom spacing even if CTA is last */

/* For image-only non-split cards, reduce bottom spacing under CTA */
/* use base 40px spacing for non-split cards as well */

.pricing-cta {
    background: #ffda35 !important;
    color: #000000 !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    letter-spacing: 0.5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 120px !important;
    height: 40px !important;
    font-family: 'M PLUS 1', sans-serif !important;
    margin: 0 !important;
    box-shadow: 0 2px 8px rgba(255, 218, 53, 0.2);
    gap: 8px !important;
    text-decoration: none !important;
}

.pricing-cta:hover {
    background: #f0d030 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 218, 53, 0.3) !important;
}

/* Arrow icon inside CTA buttons */
/* removed arrow icon styles */

.features {
    margin: 0; /* spacing handled by dividers */
}

/* Divider (Stroke) before Features */
.pricing-card .features {
    border-top: 1px solid #dde1e6;
    padding-top: 20px; /* h-5 divider spacing */
    margin-top: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 0; /* no extra horizontal padding */
}

.feature-item.disabled {
    opacity: 0.5;
}

.feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 18px;
    color: #21272A;
    font-weight: 400;
    line-height: 1.4;
}

.feature-item.disabled span {
    color: #aaaaaa;
}

.timeline {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 12px 0;
    text-align: center;
}

/* Divider (Stroke) before Timeline */
.pricing-card .timeline {
    border-top: 1px solid #dde1e6;
    margin-top: 0;
    padding-top: 10px;
}
/* tighten inner item gaps */
.price-item { margin-bottom: 12px; }
.price-item:last-child { margin-bottom: 0; }
.feature-item { margin-bottom: 12px; }
.feature-item:last-child { margin-bottom: 0; }

.timeline-label {
    font-size: 14px;
    color: #21272A;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 4px;
}

.timeline-value {
    font-size: 18px;
    font-weight: 600;
    color: #0f62fe;
    line-height: 1.4;
}

.pricing-note {
    font-size: 14px;
    color: #808080;
    font-weight: 400;
    line-height: 1.4;
}

/* Cases Section */
.cases {
    background: #f6fbff;
    padding: 80px 0;
    text-align: center;
}

/* Temporarily hide "導入事例" section */
.cases {
    display: none !important;
}

/* Match Figma horizontal padding for cases section (px-[110px]) */
.cases .container {
    padding-left: 110px;
    padding-right: 110px;
}

.cases-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 64px;
}

.case-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 6px 30px rgba(15, 98, 254, 0.1);
    width: 380px;
    overflow: hidden;
}

.case-logo {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 118px;
}

.case-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 180px;   /* Figma基準に合わせた最大幅 */
    max-height: 100px;  /* Figma基準に合わせた最大高 */
    object-fit: contain;
    margin: 0 auto;     /* 中央寄せ */
}

/* Figma: case3 logo is smaller (approx 153x86) */
.cases-grid .case-card:nth-child(3) .case-image {
    max-width: 153px;
    max-height: 86px;
}

/* Figma: case2 logo should be wider (approx 193x56) */
.cases-grid .case-card:nth-child(2) .case-image {
    max-width: 260px; /* enlarge further as requested */
    max-height: 72px; /* maintain aspect while increasing size */
}

/* Increase available width for case2 logo so it can reach 193px */
.cases-grid .case-card:nth-child(2) .case-logo {
    padding: 0 40px; /* give even more horizontal space for larger logo */
}

.case-content {
    padding: 24px 24px 16px;
    text-align: left;
}

.case-title {
    font-size: 20px;
    font-weight: 700;
    color: #21272A;
    margin-bottom: 16px;
    line-height: 1.1;
}

.case-description {
    font-size: 16px;
    color: #21272A;
    font-weight: 400;
    line-height: 1.4;
}

.case-button {
    background: #ffda35;
    color: #000000;
    border: none;
    padding: 12px 12px; /* base: py-3 */
    padding-left: 40px; /* Figma: pl-10 */
    padding-right: 12px; /* Figma: pr-3 */
    border-radius: 100px;
    font-weight: 600;
    font-size: 18px; /* Figma: text-[18px] */
    cursor: pointer;
    transition: background-color 0.3s ease;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Figma: justify-start */
    gap: 8px; /* tighten to avoid wrapping */
    margin: 40px auto 24px; /* center horizontally inside card */
    width: auto;
    min-width: 141px; /* keep Figma min width */
    height: 48px; /* Figma h-12 */
    line-height: 1; /* prevent text visual overflow */
    white-space: nowrap; /* avoid line breaks */
}

/* Normalize arrow icon inside buttons */
/* Use unified btn-arrow for button icons */
.btn-arrow {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: inline-block;
    margin-top: 2px; /* move arrow icon down slightly */
}

.case-button:hover {
    background: #f0d030;
}

/* Flow Section */
.flow {
    padding: 80px 0;
    text-align: center;
}

.flow-header {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px; /* Set Top text gap to 16px */
}

.flow-subtitle {
    font-size: 16px; /* unify at 16px */
    color: #808080;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 0; /* Gap handled by .flow-header */
}

/* Remove default bottom margin from title inside flow header so gap is exact */
.flow-header .section-title {
    margin-bottom: 0;
}

.flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.flow-step {
    background: #f9f9f9;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    width: 280px;
}

.flow-icon {
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
}

.flow-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.flow-number {
    font-size: 16px;
    font-weight: 700;
    color: #0f62fe;
    line-height: 1.4;
    display: block;
    margin-bottom: 8px;
}

.flow-content {
    font-size: 20px;
    font-weight: 600;
    color: #21272A;
    line-height: 1.4;
}

.arrow-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
}

/* FAQ Section */
.faq {
    background: #f6fbff;
    padding: 80px 0;
    text-align: center;
}

.faq-list {
    max-width: 900px;
    margin: 64px auto 0;
}

.faq-item {
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    cursor: pointer;
}

.faq-question h3 {
        font-size: 16px;
    font-weight: 700;
    color: #21272A;
        line-height: 1.3;
    text-align: left;
        flex: 1;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: auto;
        text-wrap: balance;
}

.faq-toggle {
    background: #ffda35;
    color: #000000;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
}

.faq-answer {
    padding: 0 20px 20px;
    text-align: left;
}

.faq-answer p {
    font-size: 14px;
    color: #808080;
    font-weight: 400;
    line-height: 1.4;
}

.faq-answer.hidden {
    display: none;
}

/* Related Services Section */
.related-services {
    padding: 80px 40px;
    text-align: center;
}

/* プロダクト群 Top: タイトルと説明の間隔を24pxに統一 */
.related-services .section-title {
    margin-bottom: 24px;
}
.related-services .section-description {
    margin-top: 0;
    color: #808080; /* Set product group paragraph color */
    font-size: 16px; /* unify at 16px */
}

.services-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 64px;
}

.service-card {
    background: #ffffff;
    border: 2px solid rgba(15, 98, 254, 0.5);
    border-radius: 20px;
    padding: 40px 0 24px; /* pt-10, pb-6 → button under space 24px */
    width: 401px; /* Figma: first card 401px; unify for all */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px; /* Figma base gap inside card */
}

.service-category {
    font-size: 16px;
    font-weight: 600;
    color: #0f62fe;
    line-height: 1.4;
    margin-bottom: 0; /* handled by card gap */
}

    .service-logo {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
        margin-bottom: 0; /* handled by card gap */
        transform: scale(0.8);
    }

.service-image {
    max-width: 220px;
    max-height: 55px;
    object-fit: contain;
}

.service-description {
    font-size: 16px;
    color: #808080;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 0; /* handled by card gap */
    margin-top: -16px; /* adjust logo→paragraph spacing to 24px (gap40 - 16) */
    max-width: 380px; /* Figma: w-[380px] */
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0; /* remove side padding to use full text width */
}

.service-button {
    background: #ffda35;
    color: #000000;
    border: none;
    padding: 12px 12px; /* base: py-3 */
    padding-left: 40px; /* Figma: pl-10 */
    padding-right: 12px; /* Figma: pr-3 */
    border-radius: 100px;
    font-weight: 600;
    font-size: 18px; /* Figma: text-[18px] */
    cursor: pointer;
    transition: background-color 0.3s ease;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Figma: justify-start */
    gap: 8px; /* tighten to avoid wrapping */
    margin: 0 auto; /* vertical spacing handled by card gap + card pb */
    width: auto;
    min-width: 141px;
    height: 48px; /* Figma h-12 */
    line-height: 1;
    white-space: nowrap;
    text-decoration: none; /* anchor reset */
}

/* Keep only button-mkt as anchor look */
a.service-button.button-mkt {
    display: flex;
    width: 144px;
    margin-left: auto;
    margin-right: auto;
}

/* ENE button: fix width to 144px and center */
a.service-button.button-ene {
    display: flex;
    width: 144px;
    margin-left: auto;
    margin-right: auto;
}

/* E-VALUE button: fix width to 144px and center */
a.service-button.button-evalue {
    display: flex;
    width: 144px;
    margin-left: auto;
    margin-right: auto;
}

/* removed anchor variant for service-button (reverted) */

/* Ensure anchors styled as buttons don't show visited color/underline */
a.cta-button,
a.hero-cta,
a.pricing-cta,
a.final-cta-button,
a.frame-cta-button-element,
a.service-button,
a.service-button.button-ene {
    text-decoration: none;
}
a.service-button.button-evalue { text-decoration: none; }
a.cta-button:visited,
a.hero-cta:visited,
a.pricing-cta:visited,
a.final-cta-button:visited,
a.frame-cta-button-element:visited,
a.service-button:visited,
a.service-button.button-ene:visited {
    color: #000000;
}
a.service-button.button-evalue:visited { color: #000000; }

.service-button:hover {
    background: #f0d030;
}

/* Final CTA Section */
.final-cta {
    padding: 0 80px 80px;
}

.final-cta-content {
    background: #4c8aff;
    border-radius: 20px;
    padding: 40px 80px; /* top/bottom 40px, left/right 80px */
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
}

.final-cta-text {
    flex: 1;
    max-width: 600px;
}

.final-cta-title {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 48px;
    text-wrap: balance;
}

.final-cta-button {
    background: #ffda35;
    color: #000000;
    border: none;
    padding: 16px 24px; /* Figma: px-6 py-4 */
    border-radius: 8px;
    font-weight: 600;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    letter-spacing: 0.5px;
    height: 56px; /* Figma: h-14 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 253px; /* Figma width */
    text-decoration: none;
}

.final-cta-button:hover {
    background: #f0d030;
}

.final-cta-visual {
    flex: 1;
    max-width: 256px;
}

.final-cta-image {
    width: 100%;
    height: auto;
}

/* Frame CTA Button */
.frame-cta-section {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 20px;
    opacity: 0;
    transition: opacity 500ms ease;
    pointer-events: none;
}

.frame-cta-section.is-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(100%) !important;
    transition: opacity 500ms ease, transform 500ms ease !important;
}

.frame-cta-button {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.1);
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
}

.frame-cta-text {
    font-size: 18px;
    font-weight: 700;
    color: #263238;
    line-height: 1.3;
    text-align: left;
    width: auto;
    min-width: 300px;
    max-width: 500px;
    flex-shrink: 0;
    font-family: 'M PLUS 1', sans-serif;
}

.frame-cta-text p {
    margin: 0 0 5px 0;
}

.frame-cta-text p:last-child {
    margin-bottom: 0;
}

.frame-cta-text .highlight {
    color: #0f62fe;
}

.frame-cta-button-element {
    background: #ffda35;
    border: none;
    border-radius: 8px;
    padding: 16px 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-family: 'M PLUS 1', sans-serif;
    gap: 8px;
    text-decoration: none;
}

.frame-cta-button-element:hover {
    background: #f0d030;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 218, 53, 0.3);
}

.frame-cta-button-text {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    letter-spacing: 0.5px;
    line-height: 1;
    white-space: nowrap;
    font-family: 'M PLUS 1', sans-serif;
}

/* Footer */
.footer {
    background: #f9f9f9;
    padding: 40px 80px 24px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 80px;
}

.footer-logo-image {
    height: 40px;
    width: auto;
}

.footer-menu {
    display: flex;
    list-style: none;
    gap: 16px;
}

.footer-link {
    text-decoration: none;
    color: #21272A;
    font-weight: 500;
    font-size: 16px;
    padding: 12px 8px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #0f62fe;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: 14px;
    color: #808080;
    font-weight: 400;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .hero-content,
    .api-content,
    .reasons-content {
        flex-direction: column;
        gap: 40px;
    }
    /* Note: sticky behavior controlled by dedicated media queries */
    
    .pricing-grid,
    .cases-grid,
    .services-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card,
    .case-card,
    .service-card {
        width: 100%;
        max-width: 500px;
    }
    
    .flow-steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .flow-step {
        width: 100%;
        max-width: 400px;
    }
    
    .arrow-image {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0px !important;
    }
    
    /* Hide navigation menu on mobile */
    .nav {
    display: none;
}

    /* Show mobile menu toggle on mobile */
    .mobile-menu-toggle {
    display: flex;
    }
    
    .hero-content,
    .api-overview,
    .reasons,
    .pricing,
    .cases,
    .flow,
    .faq,
    .related-services,
    .final-cta {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hero-content {
        min-height: 600px;
        gap: 56px;
    }
    
    .hero-visual {
        width: 100%;
        max-width: 600px;
        height: auto;
    }
    
    .hero-image {
        width: 100%;
        height: auto;
        max-width: 600px;
    }
    
    .hero-text {
        margin-top: 0;
        gap: 12px;
    align-items: center;
        justify-content: center;
        text-align: center;
        width: auto;
    }
    
    .hero-title.hero-title-light {
        text-align: center;
        margin-bottom: 24px;
        align-self: center;
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
    }
    
    .hero.has-kv-bg {
        margin-top: 0;
    }
    
    .section-title {
        font-size: 24px !important;
    }
    
    /* Final CTA title font size adjustment for 768px */
    .final-cta-title {
        font-size: 24px !important;
    }
    
    /* More specific final CTA title font size adjustment for 768px */
    .final-cta .final-cta-title,
    .final-cta h2.final-cta-title {
        font-size: 24px !important;
    }
    
    /* Final CTA content padding adjustment for 768px */
    .final-cta-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Reasons section title margin adjustment for 768px */
    .reasons .section-title {
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    .hero-badge {
        font-size: 16px !important;
        color: #0f62fe !important;
        font-weight: 500 !important;
        font-family: 'M PLUS 1', sans-serif !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-bottom: 16px !important;
        text-align: center !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        line-height: 1.4 !important;
        padding: 8px 0 !important;
        margin: 0 !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    /* Frame CTA text adjustment for 768px */
    .frame-cta-text {
        width: 100%;
        max-width: 400px;
        font-size: 16px !important;
        line-height: 1.5;
    margin: 0;
        text-align: left;
        flex: 1;
        align-self: center;
        justify-self: center;
    }
    
    /* Frame CTA button text adjustment for 768px */
    .frame-cta-button-text {
        font-size: 16px !important;
    }
    
    /* Stats content adjustment for 768px */
    .stats-content {
        padding: 20px 20px 20px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    /* Stat item adjustment for 768px */
    .stat-item.fade-in:nth-child(1) {
        height: 210px;
    }
    
    /* Stats footnote adjustment for 768px */
    .stats-footnote {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        text-align: center;
        align-self: center;
        justify-self: center;
    }
    
    /* Stats gap adjustment for 768px */
    .stats-content {
        gap: 40px;
    }
    
    /* Stat items gap adjustment for 768px */
    .stat-item.fade-in {
        margin-bottom: 0;
    }
    
    .stat-item.fade-in:last-child {
        margin-bottom: 0;
    }
    
    /* Stats content row gap adjustment for 768px */
    .stats-content {
        row-gap: 0;
    }
    
    /* Stats footnote top margin adjustment for 768px */
    .stats-footnote {
        margin-top: 40px;
    }
    
    /* Stats section responsive adjustment for 768px */
    .stats-content-new {
        flex-direction: column !important;
        gap: 24px !important;
        align-items: center !important;
        padding: 0 20px !important;
        min-height: auto !important;
    }
    
    .stat-item-new {
        width: 100% !important;
        max-width: 232px !important;
        height: auto !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .stat-item-new:first-child .stat-image-new {
        width: 293px !important;
        height: 242px !important;
    }
    
    .stat-item-new:nth-child(2) .stat-image-new,
    .stat-item-new:nth-child(3) .stat-image-new {
        width: 193px !important;
        height: 125px !important;
    }
    
    .stats-footnote-new {
        font-size: 12px !important;
        padding: 24px 20px 0 0 !important;
        max-width: 100% !important;
    }
    
    /* Clients grid responsive adjustment for 768px */
    .clients-grid-new {
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: repeat(4, 1fr) !important;
        gap: 40px !important;
        max-width: 600px !important;
        height: auto !important;
        min-height: 320px !important;
    }
    
    .client-logo-new {
        aspect-ratio: 190/60 !important;
        padding: 0 !important;
    }
    
    /* Clients grid logo size unification for 768px */
    .clients-grid .client-logo-image {
        width: 140px !important;
        height: auto !important;
        max-width: 140px !important;
        max-height: 70px !important;
    }
    
    /* Client logo 2 size adjustment for 768px */
    .clients-grid .client-logo:nth-child(2) .client-logo-image {
        width: 110px !important;
        max-width: 110px !important;
        max-height: 55px !important;
    }
    
    /* Client logo 1 size adjustment for 768px */
    .clients-grid .client-logo:nth-child(1) .client-logo-image {
        width: 180px !important;
        max-width: 180px !important;
        max-height: 90px !important;
    }
    
    /* Clients logos margin adjustment for 768px */
    .clients-logos {
        margin-top: 40px !important;
        padding-bottom: 0 !important;
    }
    
    /* Clients section padding adjustment for 768px */
    .clients {
        padding-bottom: 0 !important;
    }
    
    /* Problems solutions padding adjustment for 768px */
    .problems-solutions {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Problems solutions container padding adjustment for 768px */
    .problems-solutions .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* New problems-solutions responsive adjustment for 768px */
    .problems-solutions {
        padding: 40px 20px !important;
    }
    
    .section-title-new {
        font-size: clamp(20px, 3.5vw, 24px) !important;
        margin-bottom: clamp(24px, 5vw, 40px) !important;
    }
    
    .problems-grid-new {
        gap: clamp(16px, 3vw, 20px) !important;
        max-width: 100% !important;
        flex-wrap: wrap !important;
        margin-bottom: clamp(24px, 5vw, 40px) !important;
    }
    
    .problem-card-new {
        width: 100% !important;
        max-width: clamp(280px, 40vw, 320px) !important;
        min-width: 250px !important;
        flex: 1 1 clamp(250px, 35vw, 300px) !important;
        height: clamp(250px, 35vw, 300px) !important;
    }
    
    .solution-title-new {
        font-size: clamp(20px, 3.5vw, 24px) !important;
        margin-bottom: clamp(24px, 5vw, 40px) !important;
    }
    
    .solutions-grid-new {
        gap: clamp(16px, 3vw, 20px) !important;
        max-width: 100% !important;
        flex-wrap: wrap !important;
        margin-bottom: clamp(24px, 5vw, 40px) !important;
    }
    
    .solution-item-new {
        width: 100% !important;
        max-width: clamp(280px, 40vw, 320px) !important;
        min-width: 250px !important;
        flex: 1 1 clamp(250px, 35vw, 300px) !important;
    }
    
    .solution-card-new {
        height: clamp(350px, 45vw, 400px) !important;
        min-height: 350px !important;
    }
    
    .arrow-icon-new {
        height: clamp(50px, 6vw, 60px) !important;
    }
    
    .solution-image-new {
        width: clamp(140px, 18vw, 160px) !important;
        height: clamp(140px, 18vw, 160px) !important;
    }
    
    .solution-subtitle-new {
        width: 100% !important;
        max-width: 100% !important;
        font-size: clamp(16px, 2.2vw, 18px) !important;
        padding: 0 12px !important;
    }
    
    .solution-description-new {
        max-width: 100% !important;
        font-size: clamp(13px, 1.8vw, 14px) !important;
        line-height: 1.5 !important;
        padding: 0 12px !important;
    }
    
    .cta-button-new {
        font-size: clamp(16px, 2.2vw, 18px) !important;
        padding: clamp(12px, 1.5vw, 14px) clamp(16px, 2.5vw, 20px) !important;
        height: clamp(44px, 6vw, 48px) !important;
        min-width: clamp(200px, 35vw, 280px) !important;
    }
    
    /* Problem image adjustment for 768px */
    .problem-image-new {
        object-fit: contain !important;
        object-position: center !important;
    }
    
    /* Problems grid gap adjustment for 768px */
    .problems-grid {
        gap: 20px !important;
        margin-bottom: 20px !important;
    }
    
    /* Solution item size adjustment for 768px */
    .solution-item {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 200px !important;
        padding: 0 0 14px 0 !important;
        margin: 0 auto !important;
        flex: 1 !important;
    }
    
    /* Solutions grid gap adjustment for 768px */
    .solutions-grid {
        gap: 20px !important;
    }
    

    
    /* Solutions grid responsive adjustment for PC */
    .solutions-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 20px !important;
        justify-content: center !important;
        align-items: stretch !important;
    }
    
    /* Problems solutions container padding adjustment for PC */
    .problems-solutions .container {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
    
    /* Solution content responsive adjustment for PC */
    .solution-content {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 40px !important;
        align-items: stretch !important;
        justify-content: center !important;
        margin-top: 64px !important;
    }
    
    .solution-content .solution-card {
        flex: 1 1 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    
    /* Solution item responsive adjustment for PC */
    .solution-item {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .solution-item .solution-subtitle {
        font-size: 16px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }
    
    .solution-item .solution-description {
        font-size: 14px !important;
        line-height: 1.5 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    
    /* Solution card fade-in responsive adjustment for PC */
    .solution-card.fade-in {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }
    
    .solutions-grid .solution-item {
        flex: 1 1 300px !important;
        max-width: 350px !important;
        min-width: 280px !important;
    }
    
    /* Solution title adjustment for 768px */
    .solution-title {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }
    
    /* Footer padding adjustment for 768px */
    .footer {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Footer menu font size adjustment for 768px */
    .footer-menu {
        font-size: 14px !important;
    }
    
    /* Footer link font size adjustment for 768px */
    .footer-link {
        font-size: 14px !important;
    }
    
    /* Footer container padding adjustment for 768px */
    .footer .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Flow steps gap adjustment for 768px */
    .flow-steps {
        gap: 20px !important;
    }
    
    /* Header CTA button hide for 768px */
    .header-cta {
        display: none !important;
    }
    
    /* Solution item text adjustment for 768px */
    .solution-item .solution-subtitle {
        font-size: 14px !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }
    
    .solution-item .solution-description {
        font-size: 12px !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* Client logo padding adjustment for 768px */
    .clients-grid .client-logo {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Clients grid width and margin adjustment for 768px */
    .clients-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        margin-left: 0 !important;
        padding: 0 0 0 0 !important;
        box-sizing: border-box !important;
        justify-content: flex-start !important;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: repeat(4, 1fr) !important;
        gap: 20px !important;
    }
    /* Note: sticky behavior controlled by dedicated media queries */
    
    /* Reasons section layout adjustment for 768px */
    .reasons-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .reasons-text {
        max-width: 100%;
    }
    
    .reason-card {
        width: 100%;
        max-width: 100%;
    }
    
    /* Make the second reason title stay on one line for 768px */
    .reasons .reason-card:nth-of-type(2) .reason-title {
        white-space: nowrap !important;
        word-break: keep-all;
        overflow-wrap: normal;
    }
    
    /* Hide <br> tags in reason titles for 768px */
    .reasons .reason-title br {
        display: none !important;
    }
    
    /* API Overview section padding adjustment for 768px */
    .api-overview {
        padding-bottom: 40px;
    }
    
    /* Flow section padding adjustment for 768px */
    .flow {
        padding-top: 40px;
    }
    
    /* FAQ list margin adjustment for 768px */
    .faq-list {
        margin-top: 40px;
    }
    
    /* CTA button width adjustment for 768px */
    .cta-button {
        width: 300px !important;
        max-width: 300px !important;
    }
    
    /* Final CTA content gap adjustment for 768px */
    .final-cta-content {
        gap: 56px;
    }
    
    /* Final CTA title font size adjustment for 768px */
    .final-cta-title {
        font-size: 28px !important;
    }
    
    /* Final CTA content gap adjustment for 768px */
    .final-cta-content {
        gap: 56px !important;
    }
    
    /* Hero text margin adjustment for 768px */
    .hero-text {
        margin-top: 40px !important;
    }
    
    /* Hero has-kv-bg padding adjustment for 768px */
    .hero.has-kv-bg {
        padding-bottom: 40px !important;

        background-image: none;
    }
}

/* 414px版のメディアクエリ */
@media (max-width: 414px) {
    /* Hero text margin adjustment for 414px */
    .hero-text {
        margin-top: 0 !important;
    }
    
    /* Clients section description auto-wrap for 414px */
    .clients .section-description {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        width: auto !important;
        max-width: 100% !important;
        min-width: auto !important;
    }
    
    /* All CTA buttons width adjustment for 414px */
    .cta-button,
    .final-cta-button {
        width: 260px !important;
        max-width: 260px !important;
        min-width: 260px !important;
    }
    
    /* Solution subtitle typography adjustment for 414px */
    .solution-subtitle {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }
    
    /* API Overview section description auto-wrap for 414px */
    .api-overview .section-description {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        width: auto !important;
        max-width: 100% !important;
        min-width: auto !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    
    /* Reason title line height adjustment for 414px */
    .reason-title {
        line-height: 1.3 !important;
    }
    
    /* Second reason title auto-wrap for 414px */
    .reasons .reason-card:nth-of-type(2) .reason-title {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    /* Third reason title auto-wrap for 414px */
    .reasons .reason-card:nth-of-type(3) .reason-title {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    /* Problems solutions container padding adjustment for 414px */
    .problems-solutions .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Problem image adjustment for 414px */
    .problem-image-new {
        object-fit: contain !important;
        object-position: center !important;
    }
    
    /* Arrow icon height adjustment for 414px and below */
    .arrow-icon-new {
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
        aspect-ratio: auto !important;
    }
    
    /* Stats section responsive adjustment for 414px */
    .stats-content-new {
        gap: 24px !important;
    }
    
    /* Header CTA button hide for 414px */
    .header-cta {
        display: none !important;
    }
    
    /* Flow steps gap adjustment for 414px */
    .flow-steps {
        gap: 16px !important;
    }
    
    /* Related services section description auto-wrap for 414px */
    .related-services .section-description {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        width: auto !important;
        max-width: 100% !important;
        min-width: auto !important;
    }
    
    /* Final CTA title font size adjustment for 414px */
    .final-cta-title {
        font-size: 20px !important;
    }
    
    /* More specific final CTA title font size adjustment for 414px */
    .final-cta .final-cta-title,
    .final-cta h2.final-cta-title {
        font-size: 20px !important;
    }
    
    /* Reasons section title adjustment for 414px */
    .reasons .section-title {
        font-size: 20px !important;
        margin-top: 0 !important;
    }
    
    /* より強制的にfont-sizeを20pxに設定 */
    .reasons .section-title,
    .reasons h2.section-title {
        font-size: 20px !important;
    }
    
        .stats-content {
        padding: 20px 40px 20px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .stat-item {
        height: 230px;
    }
    
    .stat-item:nth-child(2),
    .stat-item:nth-child(3) {
        height: 130px;
    }
    
    .stats-footnote {
        text-align: center;
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
        padding: 20px;
    }
    
    .problems-solutions {
        padding: 40px 20px 64px;
    }
    
    .problems-grid,
    .solutions-grid {
        flex-direction: column;
        align-items: center;
        margin-bottom: 32px;
    }
    
    .problem-card,
    .solution-item {
        width: 100%;
        max-width: 400px;
    }
    
    .solution-card {
        height: auto;
        min-height: 400px;
    }
    
    /* New problems-solutions responsive adjustment for 480px and below */
    .problems-solutions {
        padding: clamp(32px, 6vw, 40px) 16px !important;
    }
    
    .section-title-new {
        font-size: clamp(18px, 4vw, 20px) !important;
        margin-bottom: clamp(24px, 5vw, 32px) !important;
        padding: 0 12px !important;
    }
    
    .problems-grid-new {
        flex-direction: column !important;
        gap: clamp(20px, 4vw, 24px) !important;
        max-width: 100% !important;
        align-items: center !important;
        margin-bottom: clamp(24px, 5vw, 32px) !important;
    }
    
    .problem-card-new {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: clamp(200px, 45vw, 250px) !important;
        min-height: 200px !important;
    }
    
    .problem-image-new {
        object-fit: contain !important;
        object-position: center !important;
    }
    
    .solution-title-new {
        font-size: clamp(18px, 4vw, 20px) !important;
        margin-bottom: clamp(24px, 5vw, 32px) !important;
        padding: 0 12px !important;
    }
    
    .solutions-grid-new {
        flex-direction: column !important;
        gap: clamp(20px, 4vw, 24px) !important;
        max-width: 100% !important;
        align-items: center !important;
        margin-bottom: clamp(24px, 5vw, 32px) !important;
    }
    
    .solution-item-new {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    
    .solution-card-new {
        height: clamp(300px, 60vw, 350px) !important;
        min-height: 300px !important;
    }
    
    .arrow-icon-new {
        height: clamp(40px, 8vw, 50px) !important;
        margin-bottom: 12px !important;
    }
    
    .solution-image-new {
        width: clamp(120px, 25vw, 140px) !important;
        height: clamp(120px, 25vw, 140px) !important;
        margin-top: 16px !important;
    }
    
    .solution-text-new {
        gap: clamp(12px, 2.5vw, 16px) !important;
        padding: clamp(16px, 3vw, 20px) 12px !important;
    }
    
    .solution-subtitle-new {
        width: 100% !important;
        max-width: 100% !important;
        font-size: clamp(14px, 3vw, 16px) !important;
        line-height: 1.3 !important;
        padding: 0 12px !important;
    }
    
    .solution-description-new {
        max-width: 100% !important;
        font-size: clamp(12px, 2.5vw, 13px) !important;
        line-height: 1.4 !important;
        padding: 0 12px !important;
    }
    
    .cta-button-new {
        font-size: clamp(14px, 3vw, 16px) !important;
        padding: clamp(10px, 2vw, 12px) clamp(12px, 2.5vw, 16px) !important;
        height: clamp(40px, 7vw, 44px) !important;
        width: 100% !important;
        max-width: clamp(250px, 80vw, 300px) !important;
        min-width: 250px !important;
    }

    
        .solution-text {
        padding: 20px 16px;
    gap: 16px;
}

    .solution-title {
        margin-bottom: 32px;
    }
    
    .solution-subtitle {
        width: 100%;
        max-width: 348px;
    }
    
    .cta-button,
    .hero-cta {
        width: 300px;
        max-width: 300px;
        height: 48px;
        padding: 12px 20px;
        font-size: 16px !important;
        margin: 0 auto;
    }
    
    .pricing-cta {
        width: 100%;
        height: 48px;
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .header-cta {
        width: auto;
        min-width: 100px;
        height: 40px;
        padding: 10px 16px;
    font-size: 14px;
    }
    
    .final-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .footer {
        padding: 40px 20px 24px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 20px;
    }
    
    .clients {
        padding: 64px 20px 40px;
    }
    
    .clients-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 24px;
        row-gap: 20px;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .client-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px;
        height: 60px;
    }
    
    .client-logo-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        width: 80px;
        height: auto;
    }
    
    .client-logo:nth-child(2) .client-logo-image,
    .client-logo:nth-child(4) .client-logo-image,
    .client-logo:nth-child(5) .client-logo-image,
    .client-logo:nth-child(6) .client-logo-image {
        width: 160px;
        height: auto;
    }
    
    .client-logo:nth-child(5) .client-logo-image,
    .client-logo:nth-child(6) .client-logo-image {
        width: 180px;
        height: auto;
    }
    
    .frame-cta-button {
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 20px 20px;
        font-size: 16px;
        margin: 0 auto;
        flex-direction: row;
        gap: 0;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .frame-cta-text {
        width: 320px;
        max-width: 320px;
        font-size: 14px !important;
        line-height: 1.5;
        margin: 0 auto;
        text-align: center;
        flex: 1;
        align-self: center;
        justify-self: center;
    }
    
    /* Reason title line height adjustment for 414px */
    .reason-title {
        line-height: 1.3 !important;
    }
    
    .frame-cta-button-element {
        width: auto;
        min-width: 200px;
        height: 48px;
        padding: 12px 20px;
        font-size: 16px;
        flex-shrink: 0;
        align-self: center;
        justify-self: center;
    }
    
    .frame-cta-button-text {
        font-size: 16px;
    }
    
    .frame-cta-section {
        padding: 40px 0 20px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Side Navigation Dots */
.side-nav {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
        flex-direction: column;
    gap: 12px;
    z-index: 1100;
}

.side-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d0d7de;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
    cursor: pointer;
}

.side-dot:hover {
    background: #aab2bd;
}

.side-dot.active {
    background: #0f62fe;
}

@media (max-width: 768px) {
    .side-nav { display: none; }
}

/* Remove focus outlines on interactive elements (buttons, links, icons) */
button:focus,
button:focus-visible,
a:focus,
a:focus-visible,
[role="button"]:focus,
[role="button"]:focus-visible,
img:focus,
.btn-arrow:focus,
.mobile-menu-toggle:focus,
.faq-toggle:focus,
.frame-cta-button-element:focus,
.pricing-cta:focus,
.case-button:focus,
.service-button:focus,
.final-cta-button:focus,
.header-cta:focus,
.hero-cta:focus,
.cta-button:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print styles */
@media print {
    .header,
    .cta-button,
    .hero-cta,
    .pricing-cta,
    .case-button,
    .service-button,
    .final-cta-button {
        display: none;
    }
    
    body {
        font-size: 12px;
    }
    
    .hero {
        margin-top: 0;
        padding: 40px 0;
    }
} 

/* Price values */
.price-value {
    font-size: 28px;
    font-weight: 700;
    color: #21272A;
    line-height: 1.1;
}

/* Free price variant */
.price-value.price-free {
    font-size: 24px;
} 

/* Figma sizing for plan section prices */
.pricing-card .price-value {
    font-size: 24px;
}

/* Align inner content width to Figma (w-362) */
.pricing-card .target-text,
.pricing-card .pricing-cta-container,
.pricing-card .features,
.pricing-card .timeline {
    max-width: 362px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Ensure Reasons titles use the updated size (override base .reason-title) */
.reasons .reason-title { font-size: 20px; }

/* Responsive adjustments for larger screens */
@media (max-width: 1440px) {
    .container {
        max-width: 100%;
        padding: 0 0px;
    }
    
    /* Fix horizontal overflow issues */
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    /* Ensure all sections don't overflow */
    .hero,
    .stats,
    .clients,
    .problems-solutions,
    .pricing,
    .cases,
    .flow,
    .faq,
    .related-services,
    .final-cta,
    .frame-cta-section,
    .footer {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Fix specific elements that might cause overflow */
    .hero-content,
    .stats-content,
    .problems-grid,
    .solutions-grid,
    .pricing-grid,
    .cases-grid,
    .flow-steps,
    .services-grid {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        padding: 0 20px;
    }
    
    /* reasons関連は完全に除外 - sticky動作を妨げない */
}

/* 1280px breakpoint adjustments */
@media (max-width: 1280px) {
    /* Problems solutions section container padding adjustment for 1280px */
    .problems-solutions .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Solution content responsive adjustment for 1280px */
    .solution-content {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 20px !important;
        align-items: stretch !important;
        justify-content: center !important;
    }
    
    .solution-content .solution-card {
        flex: 1 1 300px !important;
        max-width: 350px !important;
        min-width: 280px !important;
    }
}

/* Mobile First - 375px breakpoint */
@media (max-width: 375px) {
    /* Hide navigation menu on mobile */
    .nav {
        display: none;
    }
    
    /* Show mobile menu toggle on mobile */
    .mobile-menu-toggle {
        display: flex;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        margin-right: -16px;
    }
    
    /* Mobile Menu Styles for 375px */
    .nav.mobile-open {
        display: flex !important;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1500;
        border-top: 1px solid #dde1e6;
    }
    
    .nav.mobile-open .nav-menu {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        width: 100%;
    }
    
    .nav.mobile-open .nav-link {
        font-size: 16px;
        padding: 16px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav.mobile-open .nav-link:last-child {
        border-bottom: none;
    }
    .container {
        padding: 0 0;
    }
    
    /* Hero Section Mobile Adjustments */
    .hero {
        padding: 64px 0 60px;
        margin-top: 64px;
        background: #ecf7ff url('assets/BG_KV.png?v=20250813') no-repeat center center / contain;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 48px;
        min-height: 400px;
        margin-top: 0px;
    }
    
    .hero-text {
        width: 100%;
        max-width: 100%;
        gap: 16px;
        margin-top: 0;
        text-align: center;
        align-items: center;
        min-height: 240px;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.5;
        max-width: 100%;
    }
    
    .hero-title .nowrap {
        white-space: nowrap;
    }
    
    .hero-badge {
        font-size: 16px;
        color: #0f62fe;
        font-weight: 500;
        font-family: 'M PLUS 1', sans-serif;
        display: block;
        visibility: visible;
        opacity: 1;
    }
    
    .hero-cta {
        width: 303px;
    }
    
    /* Clients grid logo size adjustment for 375px */
    .clients-grid .client-logo-image {
        width: 120px !important;
        height: auto !important;
        max-width: 120px !important;
        max-height: 60px !important;
    }
    
    /* Client logo 2 size adjustment for 375px */
    .clients-grid .client-logo:nth-child(2) .client-logo-image {
        width: 100px !important;
        max-width: 100px !important;
        max-height: 50px !important;
    }
    
    /* Client logo 1 size adjustment for 375px */
    .clients-grid .client-logo:nth-child(1) .client-logo-image {
        width: 160px !important;
        max-width: 160px !important;
        max-height: 80px !important;
    }
    
    /* Clients grid layout adjustment for 375px */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(6, 1fr) !important;
    }
    
    /* Clients section description padding adjustment for 375px */
    .clients .section-description {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Clients container padding adjustment for 375px */
    .clients .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Reason card fade-in text alignment adjustment for 375px */
    .reason-card.fade-in {
        text-align: left !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }
    
    /* Final CTA title font size adjustment for 375px */
    .final-cta-title {
        font-size: 20px !important;
    }
    
    /* More specific final CTA title font size adjustment for 375px */
    .final-cta .final-cta-title,
    .final-cta h2.final-cta-title {
        font-size: 20px !important;
    }
    
    /* Header CTA button hide for 375px */
    .header-cta {
        display: none !important;
    }
    
    /* Problems solutions container padding adjustment for 375px */
    .problems-solutions .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .hero-cta {
        max-width: 303px;
        height: 56px;
        font-size: 16px;
        padding: 12px 20px;
    }
    
    .hero-image {
        width: 100%;
        height: auto;
        max-width: 320px;
    }
    
    /* Stats Section Mobile */
    .stats-content {
        padding: 0 0 0;
        flex-direction: column;
        align-items: center;
        gap: 32px;
        min-height: auto;
    }
    
    .stats-footnote {
        text-align: center;
        align-self: center;
        width: 100%;
        max-width: 293px;
    }
    
    .stat-item {
        width: 100%;
        max-width: 280px;
        height: auto;
    }
    
    .stat-item:first-child .stat-image {
        width: 100%;
        max-width: 280px;
        height: auto;
    }
    
    .stat-item:nth-child(2) .stat-image,
    .stat-item:nth-child(3) .stat-image {
        width: 100%;
        max-width: 200px;
        height: auto;
    }
    
    /* Section Titles Mobile */
    .section-title {
        font-size: 20px;
        margin-bottom: 24px;
    }
    
    .section-description {
        font-size: 14px;
        margin-top: 16px;
        max-width: 100%;
        width: auto;
        margin-left: auto;
        margin-right: auto;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: auto;
        text-wrap: balance;
        overflow: visible;
        padding: 0 16px;
        box-sizing: border-box;
    }
    
    /* Force responsive behavior for all section descriptions */
    .section-description,
    p.section-description {
        max-width: 100% !important;
        width: auto !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
        hyphens: auto !important;
        text-wrap: balance !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }
    
    .clients {
        padding: 64px 8px 0;
    }
    
    .clients .section-description {
        font-size: 14px;
        max-width: 100% !important;
        width: auto !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
        hyphens: auto !important;
        text-wrap: balance !important;
        overflow: visible !important;
        padding: 0 0 !important;
    }
    
    /* Force override for clients section description */
    .clients p.section-description {
        max-width: 100% !important;
        width: auto !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
        hyphens: auto !important;
        text-wrap: balance !important;
        overflow: visible !important;
    }
    
    .related-services .section-description {
        font-size: 16px !important;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .related-services p.section-description {
        font-size: 14px !important;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .related-services .section-description,
    .related-services p.section-description {
        font-size: 14px !important;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .related-services .section-title {
        margin-bottom: 16px !important;
    }
    
    .related-services h2.section-title {
        margin-bottom: 16px !important;
    }
    
    .related-services .section-title,
    .related-services h2.section-title {
        margin-bottom: 16px !important;
    }
    
    .related-services h2 {
        margin-bottom: 16px !important;
    }
    
    .related-services h2.section-title {
        margin-bottom: 16px !important;
    }
    
    .related-services .section-title,
    .related-services h2.section-title,
    .related-services h2 {
        margin-bottom: 0px !important;
    }
    
    /* Force override for related-services section title */
    .related-services h2.section-title {
        margin-bottom: 0px !important;
        margin: 0 !important;
    }
    
    /* Additional specificity */
    .related-services .container h2.section-title {
        margin-bottom: 0px !important;
        margin: 0 !important;
    }
    
    /* Add gap to related-services container */
    .related-services .container {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .clients-logos {
        margin-top: 40px;
    }
    
    /* Clients Grid Mobile Layout */
    .clients-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 1fr);
        gap: 24px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .client-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px;
        height: 60px;
    }
    
    .client-logo-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
    
    /* Problems & Solutions Mobile */
    .problems-solutions {
        padding: 64px 0;
    }
    
    .problems-grid,
    .solutions-grid {
        flex-direction: column;
        gap: 24px;
        margin: 40px 0;
    }
    
    .problem-card,
    .solution-item {
        width: 100%;
        max-width: 320px;
    }
    
    .solution-card {
        height: auto;
        min-height: 320px;
    }
    
    .solution-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .solutions-cta {
        font-size: 16px !important;
    }
    
    /* Force all text elements in solutions-cta to be 16px */
    .solutions-cta * {
        font-size: 16px !important;
    }
    
    .solutions-cta .cta-button {
        width: auto;
        min-width: 300px;
        height: 56px;
        padding: 16px 24px;
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
        margin: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .solutions-cta-container {
        font-size: 16px;
    }
    
    /* Ensure CTA in solutions-cta-container is 16px at 768px */
    .solutions-cta-container .cta-button {
        font-size: 16px !important;
    }
    
    /* Force override PC selector with maximum specificity */
    .problems-solutions .solutions-cta .cta-button {
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
    }
    
    /* Ultimate PC selector override */
    .solutions-cta .cta-button {
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
    }
    
    /* Direct PC selector override with same specificity */
    .solutions-cta .cta-button {
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
    }
    
    /* Target the exact button with maximum specificity */
    .problems-solutions .solutions-cta .solutions-cta-container a.cta-button {
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
    }
    
    /* Force override with inline style equivalent */
    .problems-solutions .solutions-cta-container a.cta-button {
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
    }
    
    /* Force all CTA buttons in solutions section to be 16px at 768px */
    .solutions-cta .cta-button,
    .solutions-cta-container .cta-button,
    .solutions-cta a.cta-button {
        font-size: 16px !important;
    }
    
    /* Override PC styles with higher specificity */
    .problems-solutions .solutions-cta .cta-button,
    .problems-solutions .solutions-cta-container .cta-button,
    .problems-solutions .solutions-cta a.cta-button {
        font-size: 16px !important;
    }
    
    /* Force solutions CTA button to 16px with maximum specificity */
    .problems-solutions .solutions-cta .solutions-cta-container .cta-button,
    .problems-solutions .solutions-cta .solutions-cta-container a.cta-button,
    .problems-solutions .solutions-cta-container .cta-button,
    .problems-solutions .solutions-cta-container a.cta-button {
        font-size: 16px !important;
    }
    
    /* Ultimate override for solutions CTA button */
    .problems-solutions .solutions-cta-container .cta-button {
        font-size: 16px !important;
    }
    
    /* Maximum specificity override for the specific button text */
    .problems-solutions .solutions-cta .solutions-cta-container a.cta-button[href*="e_cloud-contact"] {
        font-size: 16px !important;
    }
    
    /* Force override with inline style equivalent */
    .problems-solutions .solutions-cta-container .cta-button {
        font-size: 16px !important;
        font-size: 16px !important;
    }
    
    /* Direct override of PC selector with same specificity */
    .solutions-cta .cta-button {
        font-size: 16px !important;
    }
    
    /* Force override with maximum specificity and multiple !important */
    .problems-solutions .solutions-cta .cta-button {
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
    }
    
    /* Target the exact button with href attribute */
    .problems-solutions .solutions-cta .solutions-cta-container a[href*="e_cloud-contact"] {
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
    }
    
    /* Ultimate override - target everything */
    .problems-solutions .solutions-cta-container a.cta-button,
    .problems-solutions .solutions-cta-container .cta-button {
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
    }
    
    /* Maximum specificity - target the exact HTML structure */
    .problems-solutions .solutions-cta .solutions-cta-container a.cta-button[href*="e_cloud-contact"] {
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
    }
    
    /* Force override with inline style equivalent */
    .problems-solutions .solutions-cta-container a.cta-button {
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
    }
    
    /* Ultimate PC selector override */
    .solutions-cta .cta-button {
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
    }
    
    /* Target the exact button with maximum specificity */
    .problems-solutions .solutions-cta .solutions-cta-container a.cta-button {
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
    }
    
    /* Force override with inline style equivalent */
    .problems-solutions .solutions-cta-container a.cta-button {
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
        font-size: 16px !important;
    }
    
    .api-overview {
        padding: 40px 0 40px 0;
        padding-bottom: 40px;
    }
    
    /* Reasons Section Mobile */
    .reasons {
        padding: 40px 16px 64px 16px;
    }
    
    .reasons-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .reasons-content .reasons-video {
        max-width: 100%;
    }
    
    .reasons-text {
        font-size: 20px !important;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .reasons .reasons-text {
        font-size: 20px !important;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .reasons .section-title {
        font-size: 20px !important;
        padding: 0 !important;
        margin: 0 0 40px 0 !important;
        margin-top: 0 !important;
        margin-bottom: 40px !important;
        margin-top: 0 !important;
        margin-bottom: 40px !important;
        margin-bottom: 40px !important;
    }
    
    /* より強制的にfont-sizeを20pxに設定 */
    .reasons .section-title,
    .reasons h2.section-title {
        font-size: 20px !important;
    }
    
            .reason-title {
            font-size: 18px !important;
            line-height: 1.3 !important;
        }
    
    .reason-card {
        width: 100%;
        padding: 24px 20px;
        margin-bottom: 24px;
    }
    
    /* Pricing Section Mobile */
    .pricing {
        padding: 64px 0;
    }
    
    .pricing-grid {
        flex-direction: column;
        gap: 24px;
        margin: 32px 0;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 320px;
        padding: 32px 20px 24px;
    }
    
    /* Flow Section Mobile */
    .flow {
        padding: 0 0 64px;
    }
    
    .flow-steps {
        flex-direction: column;
        gap: 20px;
    }
    
    .flow-step {
        width: 100%;
        max-width: 280px;
        padding: 24px 20px;
    }
    
    .arrow-image {
        transform: rotate(90deg);
        width: 60px;
        height: 60px;
    }
    
    /* FAQ Section Mobile */
    .faq {
        padding: 64px 16px;
    }
    
    .faq-list {
        margin: 40px auto 0;
        max-width: 100%;
    }
    
    /* Related Services Mobile */
    .related-services {
        padding: 64px 0;
    }
    
    .services-grid {
        flex-direction: column;
        gap: 24px;
        margin-top: 40px;
    }
    
    .service-card {
        width: 100%;
        max-width: 320px;
        padding: 32px 20px 20px;
        gap: 40px;
    }
    
    .service-button {
        width: 100%;
        height: 44px;
        font-size: 16px;
        padding: 10px 20px;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }
    
    .case-button {
        font-size: 16px;
    }
    
    /* Final CTA Mobile */
    .final-cta {
        padding: 0 16px 60px;
    }
    
    .final-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
        padding: 32px 20px;
    }
    
    .final-cta-title {
        font-size: 20px !important;
        margin-bottom: 32px;
    }
    
    .final-cta-text {
        padding-bottom: 32px;
    }
    
    .final-cta-button {
        width: 100%;
        height: 48px;
        font-size: 16px;
    }
    
    /* Frame CTA Mobile */
    .frame-cta-section {
        padding: 0 0 16px 0;
        box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.1);
        background: transparent;
    }
    
    .frame-cta-button {
        padding: 12px 12px;
        gap: 0px;
        margin: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 100%;
        width: 100%;
    }
    
    .frame-cta-text {
        font-size: 14px !important;
        width: 320px;
        text-align: center;
        margin-bottom: 20px;
        max-width: 320px;
        line-height: 1.3;
    }
    
    .frame-cta-text p {
        margin-bottom: 8px;
    }
    
    .frame-cta-text p:last-child {
        margin-bottom: 0;
        font-size: 14px;
        font-weight: 700;
    }
    
    .frame-cta-line {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .frame-cta-button-element {
        height: 48px;
        font-size: 14px;
        padding: 12px 20px;
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    
    .frame-cta-button-text {
        font-size: 16px;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 32px 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .footer-logo-image {
        height: 36px;
        width: auto;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Problem image adjustment for 375px */
    .problem-image-new {
        object-fit: contain !important;
        object-position: center !important;
    }
    
    /* Stats section responsive adjustment for 375px */
    .stats-content-new {
        gap: 24px !important;
    }
}

/* Small Mobile - 480px breakpoint */
@media (max-width: 480px) {
    /* Hero Section Small Mobile Adjustments */
    .hero {
        padding: 40px 0 40px;
        margin-top: 56px;
    }
    
    .hero-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        min-height: 280px;
        text-align: center;
        margin-top: 0px;
    }
    
    .hero-text {
        min-height: 300px;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        align-items: center;
        justify-content: center;
        overflow: visible;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-overflow: clip;
        margin-top: 0px;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.3;
        max-width: 100%;
        word-break: keep-all;
        white-space: normal;
        overflow-wrap: break-word;
    }
    
    .hero-badge {
        font-size: 13px;
        color: #0f62fe !important;
        font-weight: 500 !important;
        font-family: 'M PLUS 1', sans-serif !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-bottom: 0 !important;
        position: relative !important;
        z-index: 1 !important;
        width: 100% !important;
        text-align: center !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .hero-cta {
        width: 260px;
        max-width: 260px;
        height: 44px;
        font-size: 15px;
        padding: 8px 16px;
    }
    
    /* Stats Section Small Mobile */
    .stats {
        padding: 40px 0 40px;
    }
    
    .stats-content {
        gap: 24px;
        padding: 0 0 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-height: auto;
    }
    
    .stats-footnote {
        max-width: 400px;
        font-size: 12px;
        text-align: center;
        margin: 0 auto;
        padding: 20px;
        width: 400px;
    }
    
    .stat-item {
        max-width: 240px;
        height: 210px;
    }
    
    .stat-item:first-child .stat-image {
        max-width: 240px;
    }
    
    /* Final CTA title font size adjustment for 480px */
    .final-cta-title {
        font-size: 20px !important;
    }
    
    /* More specific final CTA title font size adjustment for 480px */
    .final-cta .final-cta-title,
    .final-cta h2.final-cta-title {
        font-size: 20px !important;
    }
    
    /* Frame CTA button adjustment for 480px */
    .frame-cta-button {
        margin: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Header CTA button hide for 480px */
    .header-cta {
        display: none !important;
    }
    
    /* Stats section responsive adjustment for 480px */
    .stats-content-new {
        flex-direction: column !important;
        gap: 24px !important;
        align-items: center !important;
        padding: 0 16px !important;
        min-height: auto !important;
    }
    
    .stat-item-new {
        width: 100% !important;
        max-width: 232px !important;
        height: auto !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .stat-item-new:first-child .stat-image-new {
        width: 293px !important;
        height: 242px !important;
    }
    
    .stat-item-new:nth-child(2) .stat-image-new,
    .stat-item-new:nth-child(3) .stat-image-new {
        width: 193px !important;
        height: 125px !important;
    }
    
    .stats-footnote-new {
        font-size: 12px !important;
        padding: 20px 16px 0 0 !important;
        max-width: 100% !important;
    }
    
    /* Frame CTA text width adjustment for 480px */
    .frame-cta-text {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Clients grid layout adjustment for 480px */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(6, 1fr) !important;
    }
    
    /* Clients grid responsive adjustment for 480px */
    .clients-grid-new {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(6, 1fr) !important;
        gap: 40px !important;
        max-width: 400px !important;
        height: auto !important;
        min-height: 480px !important;
    }
    
    .client-logo-new {
        aspect-ratio: 190/60 !important;
        padding: 0 !important;
    }
    
    /* Section title font size adjustment for 480px */
    .section-title {
        font-size: 20px !important;
    }
    
    /* Problems grid layout adjustment for 480px */
    .problems-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Problems solutions container padding adjustment for 480px */
    .problems-solutions .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .problems-grid .problem-card {
        width: 100% !important;
        max-width: 300px !important;
        flex: 1 !important;
    }
    
    /* Solution item text and spacing adjustment for 480px */
    .solution-item .solution-subtitle {
        font-size: 16px !important;
        margin-bottom: 6px !important;
    }
    
    .solution-item .solution-description {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .solution-item {
        padding: 8px !important;
        margin: 0 !important;
    }
    
    /* Solution text padding adjustment for 480px */
    .solution-text {
        padding: 8px !important;
        gap: 16px !important;
        row-gap: 20px !important;
    }
    
    /* Solution image and text gap adjustment for 480px */
    .solution-card {
        gap: 20px !important;
    }
    
    /* Solution card fade-in spacing adjustment for 480px */
    .solution-card.fade-in {
        gap: 12px !important;
        padding: 8px !important;
    }
    
    /* Reasons text title font size adjustment for 480px */
    .reasons-text .section-title {
        font-size: 20px !important;
    }
    
    /* Reasons section title font size adjustment for 480px */
    .reasons .section-title {
        font-size: 20px !important;
    }
    
    /* More specific reasons section title font size adjustment for 480px */
    .reasons .section-title,
    .reasons h2.section-title {
        font-size: 20px !important;
    }
    
    /* Reasons section padding adjustment for 480px */
    .reasons {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Reasons section container padding adjustment for 480px */
    .reasons .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Final CTA title font size adjustment for 480px */
    .final-cta-title {
        font-size: 20px !important;
    }
    
    /* Final CTA content layout adjustment for 480px */
    .final-cta-content {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 56px !important;
    }
    
    /* Footer layout adjustment for 480px */
    .footer-content {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 40px !important;
    }
    
    .footer-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }
    
    /* Footer menu layout adjustment for 480px */
    .footer-menu {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    

    

    
    .stat-item:nth-child(2) .stat-image,
    .stat-item:nth-child(3) .stat-image {
        max-width: 180px;
    }
    
    .stat-item:nth-child(2),
    .stat-item:nth-child(3) {
        height: 130px;
    }
    
    /* Section Titles Small Mobile */
    .section-title {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .section-description {
        font-size: 14px;
        max-width: 400px;
        margin-top: 0 !important;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        padding: 0 !important;
        width: 400px;
    }
    
    /* Force override for section descriptions */
    .section-description,
    p.section-description {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
    }
    
    /* Container adjustments */
    .container {
        padding: 0 16px;
    }
    
    /* Mobile Menu Styles for 480px */
    .nav.mobile-open {
        display: flex !important;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1500;
        border-top: 1px solid #dde1e6;
    }
    
    .nav.mobile-open .nav-menu {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        width: 100%;
    }
    
    .nav.mobile-open .nav-link {
        font-size: 16px;
        padding: 16px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav.mobile-open .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Clients Section Small Mobile */
    .clients {
        padding: 48px 12px 0;
    }
    
    .clients .section-description {
        font-size: 14px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 420px;
        width: 420px;
        padding: 16px;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
        hyphens: auto !important;
        text-wrap: balance !important;
    }
    
    /* Force override for clients section description */
    .clients p.section-description {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
        hyphens: auto !important;
        text-wrap: balance !important;
    }
    
    .clients-grid {
        gap: 20px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 1fr);
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        overflow: visible;
    }
    
    .client-logo {
        padding: 8px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
    }
    
    .client-logo-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        width: auto;
        height: auto;
    }
    
    .clients-logos {
        margin-top: 40px;
    }
    
    /* Problems & Solutions Small Mobile */
    .problems-solutions {
        padding: 48px 0;
    }
    
    .problems-grid,
    .solutions-grid {
        gap: 20px;
        margin: 32px 0;
    }
    
    .problem-card,
    .solution-item {
        max-width: 280px;
    }
    
    .solution-title {
        font-size: 20px;
        margin-bottom: 32px;
    }
    
    .api-overview {
        padding: 40px 0;
    }
    
    .api-content .section-title {
        text-align: center;
    }
    
    .solutions-cta .cta-button {
        width: 260px;
        max-width: 260px;
        height: 44px;
        font-size: 15px;
    }
    
    /* Reasons Section Small Mobile */
    .reasons {
        padding: 48px 12px;
    }
    
    .reasons-content {
        gap: 40px;
    }
    
    .reason-card {
        padding: 20px 16px;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .reason-title {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }
    
    .reasons .section-title {
        font-size: 18px !important;
    }
    
    .reasons-text {
        font-size: 18px !important;
    }
    
    /* Pricing Section Small Mobile */
    .pricing {
        padding: 48px 0;
    }
    
    .pricing-grid {
        gap: 20px;
        margin: 24px 0;
    }
    
    .pricing-card {
        max-width: 360px;
        padding: 32px 24px 28px;
    }
    
    .pricing-card img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    .pricing-cta {
        font-size: 15px !important;
    }
    
    a.pricing-cta {
        font-size: 15px !important;
    }
    
    /* Flow Section Small Mobile */
    .flow {
        padding: 0 0 48px;
    }
    
    .flow-steps {
        gap: 24px;
    }
    
    .flow-step {
        max-width: 260px;
        padding: 20px 16px;
    }
    
    .flow-icon {
        width: 160px;
        height: 160px;
        margin: 0 auto 20px;
    }
    
    .flow-content {
        font-size: 18px;
    }
    
    .arrow-image {
        width: 50px;
        height: 50px;
    }
    
    /* FAQ Section Small Mobile */
    .faq {
        padding: 48px 12px;
    }
    
    .faq-list {
        margin: 32px auto 0;
    }
    
    .faq-question h3 {
        font-size: 14px;
        line-height: 1.2;
    }
    
    /* Related Services Small Mobile */
    .related-services {
        padding: 48px 0;
    }
    
    .services-grid {
        gap: 20px;
        margin-top: 32px;
    }
    
    .service-card {
        max-width: 400px;
        padding: 16px;
        gap: 28px;
    }
    
    .service-button {
        height: 40px;
        font-size: 14px;
        padding: 8px 16px;
        gap: 0px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    
    .service-button .btn-arrow {
        position: absolute;
        right: 16px;
    }
    
    /* Final CTA Small Mobile */
    .final-cta {
        padding: 0 12px 48px;
    }
    
    .final-cta-content {
        gap: 56px;
        padding: 24px 16px;
    }
    
    .final-cta-title {
        font-size: 18px;
        margin-bottom: 24px;
    }
    
    .final-cta-button {
        height: 44px;
        font-size: 15px;
        width: 260px;
        max-width: 260px;
    }
    
    /* Frame CTA Small Mobile */
    .frame-cta-section {
        padding: 0 0 12px 0;
    }
    
    .frame-cta-button {
        margin: 0 6px;
        width: calc(100% - 12px);
        gap: 0px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .frame-cta-text {
        font-size: 14px;
        margin-bottom: 16px;
        line-height: 1.2;
        width: 300px;
        max-width: 300px;
    }
    
    .frame-cta-button-element {
        height: 40px;
        font-size: 12px;
        padding: 8px 16px;
        max-width: 260px;
        width: 260px;
    }
    
    .frame-cta-button-text {
        font-size: 15px;
    }
    
    /* Footer Small Mobile */
    .footer {
        padding: 24px 0 16px;
    }
    
    .footer-content {
        gap: 40px;
        margin-bottom: 32px;
    }
    
    .footer-logo-image {
        height: 32px;
        width: auto;
    }
    
    .footer-menu {
        gap: 20px;
    }
}

/* 最終的なreasons-video sticky設定 - 最優先ルール */
@media (min-width: 1200px) {
    .reasons .reasons-content .reasons-video {
        position: sticky !important;
        top: 140px !important;
        align-self: flex-start !important;
        z-index: 10 !important;
        width: auto !important;
        max-width: 668px !important;
    }
    
    /* より詳細度の高いセレクタで確実に適用 */
    .reasons .reasons-content .reasons-video {
        position: sticky !important;
        top: 140px !important;
        align-self: flex-start !important;
        z-index: 10 !important;
        width: auto !important;
        max-width: 668px !important;
    }
    
    /* 最も強力なセレクタで確実に適用 */
    .reasons .reasons-content .reasons-video {
        position: sticky !important;
        top: 140px !important;
        align-self: flex-start !important;
        z-index: 10 !important;
        width: auto !important;
        max-width: 668px !important;
    }
    
    /* 直接的なセレクタでも設定 */
    .reasons-content .reasons-video {
        position: sticky !important;
        top: 140px !important;
        align-self: flex-start !important;
        z-index: 10 !important;
        width: auto !important;
        max-width: 668px !important;
    }
}

/* 1200px未満ではstatic */
@media (max-width: 1199px) {
    .reasons .reasons-content .reasons-video {
        position: static !important;
        top: auto !important;
        z-index: auto !important;
    }
}

/* 追加の強制sticky設定 - 最優先 */
@media (min-width: 1200px) {
    .reasons .reasons-content .reasons-video {
        position: sticky !important;
        top: 140px !important;
        align-self: flex-start !important;
        z-index: 10 !important;
        width: auto !important;
        max-width: 668px !important;
    }
}