/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* ヘッダースタイル */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 48px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-link {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 6px;
    transition: color 0.3s ease, background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.nav-link:hover {
    color: #ff6b35;
    background-color: rgba(30, 60, 114, 0.08);
}

.contact-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #ffffff;
    border-radius: 30px;
    padding: 10px 24px;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.contact-btn:hover {
    color: #ffffff;
    box-shadow: 0 8px 26px rgba(255, 107, 53, 0.5);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .nav {
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }

    .header-content {
        flex-direction: column;
        gap: 12px;
        padding: 12px 0;
    }

    .logo-image {
        height: 42px;
    }

    .nav {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 8px 14px;
    }

    .contact-btn {
        padding: 8px 20px;
    }
}

/* モバイルメニュートグル（デフォルトは非表示） */
.mobile-menu-toggle {
    display: none;
}

/* メインビジュアル */
.hero {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a7fc1 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* デモ案内 */
.demo {
    background: linear-gradient(135deg, #f4f8ff 0%, #fefefe 100%);
}

.demo-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
    align-items: stretch;
}

.demo-highlight {
    background-color: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(44, 90, 160, 0.15);
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #2c5aa0;
    background-color: #e8f0ff;
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 25px;
}

.demo-badge i {
    color: #ff6b35;
}

.demo-highlight h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #2c5aa0;
}

.demo-highlight p {
    color: #555;
    line-height: 1.8;
}

.demo-points {
    list-style: none;
    margin-top: 25px;
}

.demo-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-weight: 500;
    color: #333;
}

.demo-points i {
    color: #4caf50;
}

.demo-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.demo-step {
    background-color: #fff;
    border-left: 6px solid #2c5aa0;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.demo-step-number {
    font-weight: 700;
    color: #2c5aa0;
    font-size: 14px;
    letter-spacing: 0.1em;
}

.demo-step h4 {
    font-size: 20px;
    margin: 8px 0;
    color: #333;
}

.demo-step p {
    color: #666;
    line-height: 1.7;
}

.demo-cta {
    text-align: center;
    margin-top: 40px;
}

.demo-note {
    margin-top: 15px;
    color: #666;
    font-size: 14px;
}

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #ff6b35;
    color: #fff;
    border-color: #ff6b35;
}

.btn-primary:hover {
    background-color: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #2c5aa0;
}

.btn-outline {
    background-color: transparent;
    color: #2c5aa0;
    border-color: #2c5aa0;
}

.btn-outline:hover {
    background-color: #2c5aa0;
    color: #fff;
}

.btn-large {
    padding: 18px 50px;
    font-size: 18px;
}

/* セクション共通 */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: #2c5aa0;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 16px;
}

/* 課題セクション */
.problems {
    background-color: #f8f9fa;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.problem-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.problem-card i {
    font-size: 48px;
    color: #ff6b35;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.problem-card p {
    color: #666;
    line-height: 1.7;
}

/* 機能セクション */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5aa0 0%, #4a7fc1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    font-size: 36px;
    color: #fff;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c5aa0;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* メリットセクション */
.benefits {
    background-color: #f8f9fa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s;
}

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

.benefit-number {
    font-size: 48px;
    font-weight: 700;
    color: #e8f1ff;
    position: absolute;
    top: 20px;
    right: 20px;
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c5aa0;
    position: relative;
    z-index: 1;
}

.benefit-card p {
    color: #666;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* 料金プラン */
.pricing {
    background-color: #fff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border-color: #2c5aa0;
    box-shadow: 0 5px 20px rgba(44, 90, 160, 0.2);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff6b35;
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.plan-header h3 {
    font-size: 24px;
    color: #2c5aa0;
    margin-bottom: 20px;
}

.plan-price {
    margin-bottom: 10px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: #333;
}

.period {
    font-size: 16px;
    color: #666;
}

.plan-description {
    color: #666;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.plan-features li {
    padding: 12px 0;
    color: #666;
    display: flex;
    align-items: center;
}

.plan-features i {
    color: #4caf50;
    margin-right: 10px;
}

.pricing-note {
    margin-top: 40px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.pricing-note p {
    margin: 5px 0;
}

/* カスタマイズセクション */
.customization {
    background-color: #f8f9fa;
}

.custom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.custom-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.custom-card i {
    font-size: 48px;
    color: #2c5aa0;
    margin-bottom: 20px;
}

.custom-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.custom-card p {
    color: #666;
    line-height: 1.7;
}

/* 導入の流れ */
.flow {
    background-color: #fff;
}

.flow-steps {
    max-width: 700px;
    margin: 50px auto 0;
}

.flow-step {
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 20px;
}

.step-number {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a7fc1 100%);
    color: #fff;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 20px;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.step-content p {
    color: #666;
    line-height: 1.7;
}

.flow-arrow {
    text-align: center;
    color: #2c5aa0;
    font-size: 30px;
    margin: 10px 0;
}

/* お問い合わせ */
.contact {
    background-color: #f8f9fa;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.info-item {
    display: flex;
    gap: 20px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.info-item i {
    font-size: 32px;
    color: #2c5aa0;
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.contact-detail {
    font-size: 20px;
    font-weight: 600;
    margin: 10px 0;
}

.contact-detail a {
    color: #2c5aa0;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-detail a:hover {
    color: #ff6b35;
}

.contact-hours {
    color: #666;
    font-size: 14px;
}

.contact-address {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.contact-button-wrapper {
    text-align: center;
    margin-top: 50px;
}

/* フッター */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section p {
    color: #bbb;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #bbb;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        padding: 15px 0;
    }

    .logo {
        gap: 10px;
        flex-direction: row;
        align-items: center;
    }

    .logo-img {
        height: 35px;
    }

    .logo-tagline {
        font-size: 12px;
    }

    .nav {
        width: 100%;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 8px 14px;
    }

    .contact-btn {
        padding: 8px 20px;
    }

    .nav ul {
        display: none;
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px 0;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        border-radius: 10px;
        margin-top: 10px;
    }

    .nav ul.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 28px;
        color: #2c5aa0;
        cursor: pointer;
        padding: 10px;
        width: 100%;
        text-align: right;
    }

    .mobile-menu-toggle:focus {
        outline: 2px solid #2c5aa0;
        outline-offset: 2px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 26px;
        padding: 0 10px;
    }

    .section-subtitle {
        font-size: 14px;
        padding: 0 10px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }

    .demo-wrapper {
        grid-template-columns: 1fr;
    }

    .demo-highlight,
    .demo-step {
        padding: 25px 20px;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .info-item i {
        font-size: 28px;
    }

    .contact-detail {
        font-size: 18px;
    }

    .contact-button-wrapper {
        margin-top: 30px;
    }

    .flow-step {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .step-number {
        width: 80px;
        height: 80px;
        font-size: 13px;
    }

    .step-content h3 {
        font-size: 18px;
    }

    .step-content p {
        font-size: 14px;
    }

    .flow-arrow {
        font-size: 24px;
        margin: 5px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-card {
        padding: 35px 25px;
    }

    .plan-header h3 {
        font-size: 22px;
    }

    .price {
        font-size: 40px;
    }

    .pricing-note {
        font-size: 13px;
        padding: 0 10px;
    }

    .benefits-grid,
    .features-grid,
    .problem-grid,
    .custom-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .problem-card,
    .feature-card,
    .benefit-card,
    .custom-card {
        padding: 30px 20px;
    }

    .problem-card h3,
    .feature-card h3,
    .benefit-card h3,
    .custom-card h3 {
        font-size: 18px;
    }

    .problem-card p,
    .feature-card p,
    .benefit-card p,
    .custom-card p {
        font-size: 14px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
    }

    .feature-icon i {
        font-size: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-section ul {
        padding: 0;
    }

    .btn {
        padding: 12px 30px;
        font-size: 15px;
    }

    .btn-large {
        padding: 15px 40px;
        font-size: 16px;
    }
}

/* タブレット対応 */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .features-grid,
    .benefits-grid,
    .problem-grid,
    .custom-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 40px;
    }

    .section-title {
        font-size: 32px;
    }
}

/* 小さいスマホ対応 */
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 22px;
    }

    .logo-img {
        height: 30px;
    }

    .logo-tagline {
        font-size: 11px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}
