/* =================================== */
/* Base Styles (PC) */
/* =================================== */

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

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

/* TopNavi - Header */
.top-navi {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 152px;
}

.top-navi .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 38px 40px;
}

/* Mobile Menu Button (Hidden on PC) */
.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #2C3E50;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-button.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-button.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}


.top-logo {
    width: 240px;
    height: 90px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.top-logo .link {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    color: #333333;
    margin-bottom: 4px;
    white-space: nowrap;
}

.top-logo .baas-logo-group {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    color: #000000;
}

.top-logo .baas-logo {
    height: 24px;
    width: auto;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav .list {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-item {
    border-right: 1px solid #4f8db9;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item:last-child {
    border-right: none;
}

.nav-link {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #2C3E50;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #F08435;
}

.app-button {
    flex-shrink: 0;
}

.cta-button {
    background: transparent;
    color: #f08435;
    border: 2px solid #f08435;
    padding: 8px 16px;
    border-radius: 36px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 218px;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #f08435;
    color: white;
}

/* Main Content */
.main-content {
    margin-top: 152px; /* Account for fixed header */
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: url('../img/background_main_image.png') center center / cover no-repeat;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

/* Tablet background image (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-section {
        background-image: url('../img/background_main_image_tablet.png');
        min-height: auto;
        height: 638px;
        background-size: cover;         /* 要素を覆うように画像を調整 */
        background-position: center;    /* 画像の中央が表示されるようにする */
        background-repeat: no-repeat;   /* 画像が繰り返されるのを防ぐ */
    }
    
    .hero-section .container {
        min-height: auto;
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* Mobile background image (767px and below) */
@media (max-width: 767px) {
    .hero-section {
        background-image: url('../img/background_main_image_mobile.png');
        min-height: auto;
        height: 400px;
        background-size: cover;         /* 要素を覆うように画像を調整 */
        background-position: center;    /* 画像の中央が表示されるようにする */
        background-repeat: no-repeat;   /* 画像が繰り返されるのを防ぐ */
    }
    
    .hero-section .container {
        min-height: auto;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    /* 全ての装飾ラインをモバイル時のみ非表示 */
    .decorative-line,
    .decorative-line-blue,
    .decorative-line-orange,
    .title-line,
    .title-line-blue,
    .title-line-orange {
        display: none !important;
    }
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding-top: 8px;
    text-align: center;
}

.main-text-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.hero-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 4px;
}

.hero-subtitle p {
    margin: 0;
}

.hero-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.6;
    color: #ffffff;
}

.hero-title p {
    margin: 0;
    line-height: 1.6;
}


/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: transparent;
}

.cta-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.primary-cta-button {
    background: #f08435;
    border: none;
    border-radius: 62px;
    padding: 24px 60px;
    display: flex;
    align-items: center;
    gap: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(240, 132, 53, 0.3);
    text-decoration: none;
    color: inherit;
}

.primary-cta-button:hover {
    background: #e07428;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 132, 53, 0.4);
}

.button-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #ffffff;
    line-height: 1.6;
    white-space: nowrap;
}

.button-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="m12 16 4-4-4-4"/><path d="m8 12h8"/></svg>') center center / contain no-repeat;
}

/* Problem/Solution Section */
.problem-solution-section {
    padding: 80px 0;
    background: #F5F9FC;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 0 60px 0;
}

.title-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.6;
    color: #333333;
    text-align: center;
    white-space: nowrap;
}

.title-line {
    width: 40px;
    height: 8px;
    border-radius: 100px;
}

.title-line-blue {
    background: #4f8db9;
}

.title-line-orange {
    background: #f08435;
}

/* Problem Swiper */
.problem-swiper {
    margin: 60px 0;
    padding: 0 60px;
}

.problem-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: auto;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.problem-card .card-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 20px;
    background: #F8FAFC;
    border-radius: 12px;
}

.problem-card .card-image img {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
}

.problem-card .card-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
}

.problem-card .check-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    margin-top: 2px;
}

.problem-card .card-text {
    flex: 1;
}

.problem-card .card-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.4;
    color: #1F2937;
    margin: 0 0 10px 0;
}

.problem-card .card-description {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.5;
    color: #666666;
    margin: 0;
}

.problem-footer {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.speech-bubble {
    position: relative;
    max-width: 1245px;
    width: 100%;
}

.speech-bubble-content {
    background: #4f8db9;
    border-radius: 15px;
    padding: 40px 0;
    text-align: center;
    position: relative;
}

.speech-bubble-content p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 24px;
    line-height: 1.6;
    color: white;
    margin: 0;
    padding: 0 30px;
}

.speech-bubble-arrow {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 25px solid #4f8db9;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    background: white !important;
    border: 2px solid #f08435 !important;
    border-radius: 50% !important;
    color: #f08435 !important;
    margin-top: -25px !important;
    transition: all 0.3s ease !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: bold !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #f08435 !important;
    border-color: #f08435 !important;
    color: white !important;
    transform: scale(1.1) !important;
}

.swiper-button-prev {
    left: 10px !important;
}

.swiper-button-next {
    right: 10px !important;
}

/* Swiper Pagination */
.swiper-pagination {
    position: static !important;
    margin-top: 40px !important;
}

.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: #D1D5DB !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
    background: #f08435 !important;
    transform: scale(1.2) !important;
}

/* Solution Section */
.solution-section {
    padding: 88px 100px;
    background-color: #F5F9FC;
}

.solution-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 64px;
}

.solution-header .decorative-line {
    width: 40px;
    height: 8px;
    background-color: #4F8DB9;
    border-radius: 100px;
}

.solution-header h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 40px;
    line-height: 1.6;
    color: #333333;
    text-align: center;
    margin: 0;
}

.solution-header .highlight {
    color: #4F8DB9;
}

.solution-box {
    background: white;
    border-radius: 40px;
    padding: 64px 56px 88px 56px;
    max-width: 1245px;
    margin: 0 auto;
}

.solution-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 54px;
}

.solution-item:last-child {
    margin-bottom: 0;
}

.solution-content {
    display: flex;
    gap: 24px;
    flex: 1;
    max-width: 878px;
}

.solution-icon {
    flex-shrink: 0;
}

.solution-icon.opacity-low {
    opacity: 0.3;
}

.icon-circle {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle img {
    width: 150px;
    height: 150px;
}

.icon-number {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 48px;
    color: white;
}

.solution-text {
    flex: 1;
}

.solution-text h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 24px;
    line-height: 1.6;
    color: #38617C;
    margin: 0 0 8px 0;
}

.solution-text p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.5;
    color: #1A1A1A;
    margin: 0 0 16px 0;
}

.solution-text ul {
    margin: 0 0 16px 0;
    padding-left: 21px;
}

.solution-text li {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.5;
    color: #1A1A1A;
    margin-bottom: 0;
}

.solution-text .highlight-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.5;
    color: #1A1A1A;
    margin: 16px 0 0 0;
}

.solution-image {
    flex-shrink: 0;
    margin-left: 20px;
}

.image-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    background: #E8F4F8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-divider {
    height: 1px;
    background: #7F7F7F;
    margin: 54px 0;
    opacity: 0.3;
}


/* Main Features Section */
.main-features-section {
    padding: 88px 100px;
    background: white;
}

.main-features-container {
    max-width: 1445px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header-with-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 64px;
}

.decorative-line {
    width: 40px;
    height: 8px;
    background: #4F8DB9;
    border-radius: 100px;
    flex-shrink: 0;
}

.main-features-title {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: bold;
    font-size: 40px;
    line-height: 1.6;
    color: #333333;
    text-align: center;
    white-space: nowrap;
}

.main-features-group {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    margin: 0 auto;
}

.main-feature-card {
    background: white;
    border: 2px solid #4F8DB9;
    border-radius: 20px;
    padding: 40px;
    gap: 8px;
}

.feature-inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.feature-explanation {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}




.feature-title-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

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

.feature-title {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: bold;
    font-size: 28px;
    line-height: 1.6;
    color: #38617C;
    margin: 0;
    align-self: flex-start;
}

.feature-explanation-narrow .feature-title {
    white-space: nowrap;
}

.feature-description {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.5;
    color: #1A1A1A;
    white-space: nowrap;
    width: min-content;
    min-width: 100%;
}

.feature-description p {
    margin: 0 0 8px 0;
    white-space: pre;
}

.feature-description ul {
    list-style: disc;
    margin: 0;
    padding-left: 21px;
}

.feature-description li {
    margin: 0 0 4px 0;
    margin-left: 21px;
}

.feature-description li:last-child {
    margin-left: 21px;
}

.feature-highlight {
    font-weight: normal;
    margin-top: 8px !important;
    white-space: pre;
}

.feature-image-box {
    width: 100%;
    max-width: 426px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-image {
    width: 100%;
    height: 241px;
    border-radius: 15px;
    object-fit: cover;
}

.main-feature-card:nth-child(2) .feature-image {
    height: 240px;
}

.main-feature-card:nth-child(3) .feature-image {
    height: 236px;
}


/* Benefits of Implementation Section Styles */
.benefits-section {
    padding: 88px 100px 44px;
    background: #FAF9F8;
}

.benefits-container {
    max-width: 1245px;
    margin: 0 auto;
    padding: 0 20px;
}

.benefits-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 64px;
}

.decorative-line-orange {
    width: 40px;
    height: 8px;
    background: #F08435;
    border-radius: 100px;
    flex-shrink: 0;
}

.benefits-title {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: bold;
    font-size: 40px;
    line-height: 1.6;
    color: #333333;
    margin: 0;
    white-space: nowrap;
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    min-height: 437px;
    align-items: flex-start;
    justify-content: center;
    max-width: 1245px;
    margin: 0 auto;
}

.benefit-card {
    background: white;
    border: 1px solid #F08435;
    border-radius: 16px;
    width: calc(50% - 24px);
    max-width: 598px;
    min-width: 500px;
    height: 181px;
    position: relative;
}

.benefit-content {
    padding: 24px 28px 24px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-caption {
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefit-icon-small {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.benefit-caption-title {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.6;
    color: #333333;
    margin: 0;
}

.benefit-result {
    display: flex;
    align-items: end;
    gap: 0;
    margin-bottom: 4px;
}

.benefit-number {
    font-family: "Inter", sans-serif;
    font-weight: bold;
    font-size: 36px;
    line-height: 40px;
    color: #F08435;
}

.benefit-unit {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: bold;
    font-size: 24px;
    line-height: 32px;
    color: #333333;
}

.benefit-description {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 350;
    font-size: 14px;
    line-height: 20px;
    color: #1A1A1A;
    flex: 1;
}

.benefit-description p {
    margin: 0 0 4px 0;
}

.benefit-description p:last-child {
    margin-bottom: 0;
}

.benefit-description strong {
    font-weight: bold;
}

/* Customer Testimonials Section Styles */
.testimonials-section {
    background-color: #FAF9F8;
    padding: 44px 100px 88px;
}

.testimonials-container {
    max-width: 1243px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}

.testimonials-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1440px;
}

.testimonials-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 40px;
    line-height: 1.6;
    color: #333333;
    text-align: center;
    margin: 0;
    white-space: nowrap;
}

.testimonials-content {
    display: flex;
    flex-direction: column;
    gap: 49px;
    width: 100%;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-highlight {
    background: #FFF0CF;
    border-radius: 10px;
    padding: 20px;
    width: 309px;
    height: 131px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4.49px;
    flex-shrink: 0;
}

.highlight-number {
    font-family: 'Helvetica Neue', 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 32px;
    line-height: 51.2px;
    color: #333333;
    text-align: center;
}

.highlight-description {
    font-family: 'Helvetica Neue', 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 16px;
    line-height: 25.6px;
    color: #333333;
    text-align: center;
    white-space: nowrap;
}

.testimonial-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.testimonial-quote {
    padding: 0 16px;
    border-left: 4px solid #FFD372;
    margin-bottom: 8px;
}

.testimonial-quote p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: normal;
    font-size: 16px;
    line-height: 1.6;
    color: #1A1A1A;
    margin: 0;
    white-space: pre-wrap;
}

.testimonial-company {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.company-name {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    margin: 0;
    white-space: nowrap;
}

.company-info {
    padding-top: 0.99px;
}

.company-info p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.5;
    color: #666666;
    margin: 0;
    white-space: pre-wrap;
}

/* Pricing Plans Section Styles */
.plan-section {
    background-color: #F5F9FC;
    padding: 88px 0;
}

.plan-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.plan-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 44px;
}

.plan-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.decorative-line-blue {
    width: 40px;
    height: 8px;
    background-color: #4F8DB9;
    border-radius: 100px;
}

.plan-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 40px;
    line-height: 1.6;
    color: #333333;
    text-align: center;
    margin: 0;
    white-space: nowrap;
}

.plan-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: normal;
    font-size: 20px;
    line-height: 1.6;
    color: #4F8DB9;
    text-align: center;
    margin: 0;
    white-space: nowrap;
}

.plan-section-subtitle {
    text-align: center;
    margin: 30px 0 20px 0;
}

.plan-category-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 28px;
    line-height: 1.6;
    color: #4F8DB9;
    margin: 0;
}

.plans-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    padding: 0 100px;
    width: 100%;
    max-width: 1440px;
}

.plan-note {
    text-align: center;
    margin: 30px 0 0 0;
    padding: 0 20px;
}

.plan-note p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: normal;
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

.plan-card {
    background: white;
    border: 2px solid #4F8DB9;
    border-radius: 16px;
    padding: 20px 30px;
    width: 293px;
    height: 287px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-card:last-child {
    width: 294px;
}

.plan-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

.plan-name-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.plan-name {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.6;
    color: #1A1A1A;
    text-align: center;
    margin: 0;
    white-space: nowrap;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    color: #1A1A1A;
    line-height: 1.6;
}

.price-label {
    font-size: 18px;
}

.price-amount {
    font-size: 24px;
}

.price-currency {
    font-size: 18px;
}

.plan-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex-grow: 1;
}

.plan-limit {
    background: #E9ECFA;
    padding: 8px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.plan-limit p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
    margin: 0;
    white-space: nowrap;
}

.plan-description {
    padding: 8px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-description p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
    margin: 0;
    text-align: left;
    flex: 1;
}

.plan-support {
    margin-top: auto;
}

.plan-support-multiple {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.support-tag {
    background: #DAE5F7;
    color: #3760B2;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: normal;
    font-size: 12px;
    line-height: 18px;
    padding: 0 8px;
    border-radius: 10px;
    white-space: nowrap;
    display: inline-block;
}


/* Step Section Styles */
.step-section {
    background-color: #FAF9F8;
    padding: 88px 0;
}

.step-section h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 40px;
    line-height: 1.6;
    color: #333333;
    text-align: center;
    margin: 0;
    background: transparent !important;
    background-color: transparent !important;
}

.step-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    background: transparent !important;
    background-color: transparent !important;
    margin-bottom: 24px;
}

.step-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 40px;
    line-height: 1.6;
    color: #333333;
    text-align: center;
    margin: 0;
    white-space: nowrap;
    background: transparent !important;
    background-color: transparent !important;
}

.steps-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    max-width: 1200px;
}

.step-card {
    width: 399px;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #E8700F;
}

.step-number-header {
    background: #FCF6EA;
    border-bottom: 2px solid #E8700F;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 20px;
    line-height: 1.6;
    color: #E8700F;
    text-align: center;
    white-space: nowrap;
}

.step-content {
    background: white;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.step-card-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.6;
    color: #333333;
    text-align: center;
    margin: 0;
    white-space: nowrap;
}

.step-description {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.step-description p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.5;
    color: #1A1A1A;
    margin: 0;
    text-align: left;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 12px;
    flex-shrink: 0;
}

.step-bottom-message {
    margin-top: 32px;
}

.step-bottom-message p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 32px;
    line-height: 1.6;
    color: #000000;
    text-align: center;
    margin: 0;
    white-space: nowrap;
}

/* FAQ Section Styles */
.faq-section {
    background: white;
    padding: 88px 100px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.faq-header {
    text-align: center;
}

.faq-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 32px;
    line-height: 1.6;
    color: #2C3E50;
    margin: 0;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    border-bottom: 1px solid #E0E0E0;
    padding-bottom: 20px;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    padding-left: 30px;
    position: relative;
}

.faq-q-label {
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 17.6px;
    line-height: 29.92px;
    color: #4F8DB9;
    width: 14px;
}

.faq-q-text {
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 17.6px;
    line-height: 29.92px;
    color: #2C3E50;
    margin: 0;
    flex: 1;
}

.faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-left: 70px;
    position: relative;
}

.faq-a-label {
    position: absolute;
    left: 40px;
    top: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 16px;
    line-height: 27.2px;
    color: #F08435;
    width: 12px;
}

.faq-a-text {
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    font-weight: normal;
    font-size: 16px;
    line-height: 27.2px;
    color: #555555;
    margin: 0;
    flex: 1;
}

/* Company Profile Section Styles */
.company-profile-section {
    background: #F8F9FA;
    padding: 80px 100px;
}

.company-container {
    max-width: 1244px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.company-header {
    text-align: center;
    margin-bottom: 40px;
}

.company-title {
    font-family: 'Helvetica Neue', 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 40px;
    line-height: 64px;
    color: #2C3E50;
    margin: 0;
}

.company-card {
    background: white;
    border-radius: 15px;
    padding: 39px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 19.19px;
}

.company-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    height: 24px;
    width: auto;
    max-width: 74.461px;
}

.company-name {
    font-family: 'Helvetica Neue', 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 24px;
    line-height: 38.4px;
    color: #2C3E50;
    text-align: center;
    margin: 0;
}

.company-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.company-address,
.company-website {
    font-family: 'Helvetica Neue', 'Noto Sans JP', sans-serif;
    font-weight: normal;
    font-size: 17.6px;
    line-height: 35.2px;
    color: #666666;
    margin: 0;
}

/* Footer */
.copyright-section {
    background-color: #38617c;
    padding: 24px 0;
    text-align: center;
}

.copyright-section .container {
    color: #ffffff;
    font-size: 0.875rem;
}

/* Utility Classes (Optional for Future Components) */
.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.btn-primary {
    background: #f08435;
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background: #e8700f;
}

.btn-secondary {
    background: transparent;
    color: #f08435;
    border: 2px solid #f08435;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f08435;
    color: #ffffff;
}


/* =================================== */
/* Responsive Styles (Tablet & Mobile) */
/* =================================== */

/* ----------------- */
/* Tablet (768px - 1024px) */
/* ----------------- */
@media (min-width: 768px) and (max-width: 1024px) {
    /* -- General Adjustments -- */
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 30px;
    }

    /* -- Header / Navigation -- */
    .top-navi {
        height: auto;
        padding: 15px 0;
    }
    .top-navi .container {
        flex-wrap: wrap;
        padding: 0 30px;
    }
    .nav {
        display: none; /* Hide desktop nav */
        order: 3;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 82px; /* Adjust based on new header height */
        left: 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 999;
    }
    .nav.active {
        display: block; /* Show mobile nav when active */
    }
    .nav .list {
        flex-direction: column;
        width: 100%;
    }
    .nav-item {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        width: 100%;
    }
    .nav-item:last-child {
        border-bottom: none;
    }
    .nav-link {
        padding: 15px;
        width: 100%;
        text-align: center;
    }
    .app-button {
        display: none; /* Hide header CTA on tablet, rely on page content CTA */
    }
    .mobile-menu-button {
        display: flex; /* Show hamburger menu */
    }
    .top-logo .link {
        font-size: 28px;
    }
    .top-logo .baas-logo-group {
        font-size: 20px;
    }
    .main-content {
        margin-top: 82px; /* Adjust for new header height */
    }

    /* -- Section Titles -- */
    .title-text, .solution-header h2, .main-features-title, .benefits-title, .testimonials-title, .plan-title, .company-title, .step-title {
        font-size: 32px;
        white-space: normal;
    }

    /* -- Solution Section -- */
    .solution-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .solution-content {
       flex-direction: column;
       align-items: center;
    }
    .solution-text {
        text-align: left;
    }
    .solution-text ul {
        text-align: left;
    }
    .solution-text li {
        text-align: left;
    }
    .solution-image {
        margin-left: 0;
    }

    /* -- Main Features Section -- */
    .main-features-section {
        padding: 60px 30px;
    }
    .main-features-group {
        width: 100%;
    }
    .feature-inner {
        flex-direction: column;
        align-items: center;
    }
    .feature-title-section {
        width: 100%;
        align-items: flex-start;
        text-align: left;
    }
    .feature-explanation, .feature-explanation-wide, .feature-explanation-narrow {
        width: 100%;
        align-items: center;
    }
    .feature-title {
        text-align: left;
        white-space: normal;
        width: 100%;
    }
    .step-title {
        text-align: center;
        white-space: normal;
        width: 100%;
        font-size: 32px !important;
    }
    .feature-description {
        text-align: left;
        white-space: normal;
        width: min-content;
        min-width: 100%;
    }
    .feature-description p, .feature-highlight {
        white-space: normal;
    }
    .feature-image-box {
        width: 100%;
        max-width: 500px;
    }

    /* -- Benefits Section -- */
    .benefits-section {
        padding: 60px 30px;
    }
    .feature-inner {
        flex-direction: column;
        height: auto;
        align-items: center;
        gap: 30px;
    }
    .feature-title-section {
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }
    .benefit-card, .benefit-card:nth-child(2), .benefit-card:nth-child(4) {
        width: 100%;
        max-width: 600px;
    }

    /* -- Testimonials Section -- */
    .testimonial-card {
        flex-direction: column;
        align-items: center;
    }
    .testimonial-highlight {
        width: 100%;
    }

    /* -- Pricing Section -- */
    .plans-grid {
        flex-direction: column;
        padding: 0 30px;
        gap: 20px;
        align-items: center;
    }
    .plan-card, .plan-card:last-child {
        width: 100%;
        max-width: 600px;
    }
    
    /* -- Steps Section -- */
    .step-container {
        gap: 24px;
    }
    .steps-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .step-card {
        width: 100%;
        max-width: 500px;
    }
    .step-arrow {
        display: none;
    }

    /* -- FAQ & Company Section -- */
    .faq-section, .company-profile-section, .testimonials-section {
        padding: 60px 30px;
    }
}

/* ----------------- */
/* Mobile (max-width: 767px) */
/* ----------------- */
@media (max-width: 767px) {
    /* -- General Adjustments -- */
    .container {
        padding: 0 20px;
    }

    h1, h2, h3 {
        line-height: 1.4;
    }
    
    /* Use !important to override inline-style like specificity from complex selectors */
    section {
        padding: 40px 0 !important;
    }
    
    /* -- Header / Navigation -- */
    .top-navi {
        padding: 16px 0;
        height: auto;
    }
    .top-navi .container {
        padding: 0 20px;
    }
    .nav {
        display: none; /* Hide desktop nav */
        order: 3;
        width: 100%;
        background-color: white;
        position: absolute;
        top: calc(100% + 16px); /* Position below header with padding */
        left: 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 999;
    }
    .nav.active {
        display: block; /* Show mobile nav when active */
    }
    .nav .list {
        flex-direction: column;
        width: 100%;
    }
    .nav-item {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        width: 100%;
    }
    .nav-item:last-child {
        border-bottom: none;
    }
    .nav-link {
        padding: 15px;
        width: 100%;
        text-align: center;
        white-space: normal;
    }
    .mobile-menu-button {
        display: flex; /* Show hamburger menu */
    }
    .app-button {
        display: none; /* Hide header CTA on mobile */
    }
    .top-logo .link {
        font-size: 20px;
        line-height: 1.2;
    }
    .top-logo .baas-logo-group {
        font-size: 14px;
    }
    .top-logo .baas-logo {
        height: 18px;
    }
    .top-logo {
        height: auto;
        width: 200px;
    }
    .main-content {
        margin-top: 80px; /* Adjust for mobile header height with 16px padding */
    }

    /* -- Hero Section -- */
    .hero-section {
        min-height: 60vh;
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-subtitle {
        font-size: 16px;
    }

    /* -- CTA Button Section -- */
    .primary-cta-button {
        padding: 18px 24px;
        gap: 15px;
        width: 100%;
        justify-content: center;
    }
    .button-text {
        font-size: 18px;
    }
    .button-arrow {
        width: 32px;
        height: 32px;
    }

    /* -- Problem/Solution Section -- */
    .section-title {
        margin: 0 0 30px 0;
        flex-direction: column;
    }
    .title-text, .solution-header h2, .main-features-title, .benefits-title, .testimonials-title, .plan-title, .company-title, .faq-title, .step-title {
        font-size: 24px !important;
        white-space: normal !important;
        line-height: 1.4 !important;
    }
    .title-line, .decorative-line, .decorative-line-orange, .decorative-line-blue {
        width: 50px;
        height: 6px;
    }
    .problem-swiper {
        padding: 0 15px;
        margin: 30px 0;
    }
    .swiper-button-next, .swiper-button-prev {
        display: none; /* Hide arrows on mobile, rely on swipe */
    }
    .speech-bubble-content {
        padding: 20px 15px;
    }
    .speech-bubble-content p {
        font-size: 16px;
        line-height: 1.5;
    }
    .speech-bubble-arrow {
        top: -15px;
        border-left-width: 15px;
        border-right-width: 15px;
        border-bottom-width: 15px;
    }

    /* -- Solution Section -- */
    .solution-section {
        padding: 40px 20px !important;
    }
    .solution-box {
        padding: 20px;
    }
    .solution-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .solution-content {
       flex-direction: column;
       align-items: center;
    }
    .solution-text {
        text-align: left;
    }
    .solution-text ul {
        text-align: left;
    }
    .solution-text li {
        text-align: left;
    }
    .icon-circle {
        width: 100px;
        height: 100px;
    }
    .icon-circle img {
        width: 100px;
        height: 100px;
    }
    .solution-text h3 {
        font-size: 20px;
    }
    .image-circle {
        width: 150px;
        height: 150px;
    }

    /* -- Main Features Section -- */
    .main-features-section {
        padding: 40px 0 !important;
    }
    .main-feature-card {
        padding: 20px;
    }
    .feature-inner {
        flex-direction: column;
        align-items: center;
    }
    .feature-title-section {
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }
    .feature-explanation, .feature-explanation-wide, .feature-explanation-narrow {
        width: 100%;
        align-items: center;
    }
    .feature-title {
        font-size: 22px;
        width: 100% !important;
        min-width: auto !important;
        text-align: left !important;
    }
    .feature-description, .feature-description li {
        margin-left: 0;
    }
    .feature-description ul {
        padding-left: 20px;
    }

    /* -- Benefits Section -- */
    .benefits-grid {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .benefit-card {
        width: 100%;
        max-width: 500px;
        min-width: auto;
        height: auto;
    }
    .plan-note {
        text-align: left;
    }
    .benefit-number {
        font-size: 28px;
    }
    .benefit-unit {
        font-size: 20px;
    }

    /* -- Testimonials Section -- */
    .testimonials-section {
        padding: 40px 20px !important;
    }
    .testimonial-card {
        padding: 20px;
        flex-direction: column;
        align-items: center;
    }
    .testimonial-highlight {
        width: 100%;
    }
    .highlight-number {
        font-size: 28px;
    }
    .highlight-description {
        white-space: normal;
    }


    /* -- Pricing Section -- */
    .plan-section {
        padding: 40px 20px !important;
    }
    .plans-grid {
        flex-direction: column;
        padding: 0;
    }
    .plan-card, .plan-card:last-child {
        width: 100%;
        height: auto;
        min-height: 0;
    }

    /* -- Steps Section -- */
    .step-section {
        padding: 40px 20px !important;
    }
    .step-container {
        gap: 24px;
    }
    .steps-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .step-card {
        width: 100%;
        max-width: 500px;
    }
    .plans-grid {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    .plan-card {
        width: 100%;
        max-width: 500px;
    }
    .plan-note {
        text-align: left;
    }
    .step-arrow {
        display: none;
    }
    .step-card-title {
        white-space: normal;
    }
    .step-bottom-message p {
        font-size: 22px;
        white-space: normal;
    }

    /* -- FAQ Section -- */
    .faq-section {
        padding: 40px 20px !important;
    }
    .faq-q-text {
        font-size: 16px;
    }
    .faq-a-text {
        font-size: 14px;
    }
    .faq-answer {
        padding-left: 0;
        padding-top: 8px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .faq-a-label {
        position: static;
    }
    
    /* -- Company Profile Section -- */
    .company-profile-section {
        padding: 40px 20px !important;
    }
    .company-name {
        font-size: 20px;
    }
    .company-address, .company-website {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* =================================== */
/* HubSpot Form Styling */
/* =================================== */

.hs-form-frame {
    min-height: 400px;
    width: 100%;
    margin: 0 auto;
}

.company-info .hs-form-frame {
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
}

/* HubSpot form field styling */
.hs-form-frame .hs-form fieldset {
    max-width: none !important;
}

.hs-form-frame .hs-form .hs-form-field {
    margin-bottom: 20px !important;
}

.hs-form-frame .hs-form .hs-form-field > label {
    font-family: 'Noto Sans JP', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    color: #333333 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.hs-form-frame .hs-form .hs-input {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-family: 'Noto Sans JP', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    transition: border-color 0.3s ease !important;
}

.hs-form-frame .hs-form .hs-input:focus {
    border-color: #4f8db9 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(79, 141, 185, 0.1) !important;
}

.hs-form-frame .hs-form .hs-button {
    background: #f08435 !important;
    color: white !important;
    border: none !important;
    padding: 16px 32px !important;
    border-radius: 8px !important;
    font-family: 'Noto Sans JP', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    margin-top: 20px !important;
}

.hs-form-frame .hs-form .hs-button:hover {
    background: #e07428 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(240, 132, 53, 0.3) !important;
}

/* Responsive adjustments for HubSpot form */
@media (min-width: 768px) and (max-width: 1024px) {
    .hs-form-frame {
        max-width: 500px;
    }
    
    .company-info .hs-form-frame {
        padding: 16px;
    }
}

@media (max-width: 767px) {
    .hs-form-frame {
        max-width: 100%;
        min-height: 350px;
    }
    
    .company-info .hs-form-frame {
        padding: 16px;
        margin: 0 10px;
    }
    
    .hs-form-frame .hs-form .hs-input {
        font-size: 16px !important;
        padding: 10px 12px !important;
    }
    
    .hs-form-frame .hs-form .hs-button {
        font-size: 16px !important;
        padding: 14px 24px !important;
    }
}