/* ========================================
   リセット・基本設定
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラー設定 */
    --primary-color: #FF6B35;
    --primary-dark: #E55A2B;
    --secondary-color: #004E89;
    --secondary-dark: #003A66;
    --accent-color: #F7931E;
    --text-dark: #1A1A1A;
    --text-gray: #4A4A4A;
    --text-light: #6B6B6B;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #2C3E50;
    --border-color: #E0E0E0;

    /* フォント */
    --font-main: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* スペーシング */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* ブレークポイント */
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;

    /* その他 */
    --border-radius: 8px;
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ========================================
   コンテナ・グリッド
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* ========================================
   ボタン
======================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: var(--bg-white);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

.btn-header {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* ========================================
   ヘッダー
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo-text {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

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

@media (max-width: 768px) {
    .logo-image {
        height: 32px;
    }
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 992px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 999;
    }

    .nav.active,
    .nav[style*="display: flex"] {
        display: flex !important;
    }

    .nav-link {
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        text-align: left;
    }

    .nav-link::after {
        display: none;
    }

    .nav .btn-header {
        margin: 0.5rem 2rem;
        width: calc(100% - 4rem);
        text-align: center;
        border-bottom: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* ========================================
   ファーストビュー
======================================== */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h100v100H0z" fill="none"/%3E%3Cpath d="M50 0L100 50L50 100L0 50z" fill="rgba(255,255,255,0.05)"/%3E%3C/svg%3E');
    background-size: 100px 100px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--bg-white);
    text-align: center;
    padding: 1.5rem 0;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-title-highlight {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hero-trust {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 0;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-color);
}

.trust-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 60px;
    }

    .hero-content {
        padding: var(--spacing-md) 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-trust {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .trust-number {
        font-size: 1.5rem;
    }
}

/* ========================================
   セクション共通
======================================== */
section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.section-description {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.8;
}

@media (max-width: 768px) {
    section {
        padding: var(--spacing-lg) 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-description {
        font-size: 1rem;
    }
}

/* ========================================
   問題提起セクション
======================================== */
.problem {
    background-color: var(--bg-light);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.problem-card {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-lg);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.problem-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.problem-text {
    color: var(--text-gray);
    line-height: 1.7;
}

.problem-solution {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: var(--spacing-lg);
}

.problem-solution strong {
    color: var(--primary-color);
}

/* ========================================
   製品セクション
======================================== */
.products {
    background-color: var(--bg-white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.product-card {
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}

.product-card.featured {
    border-color: var(--primary-color);
    border-width: 3px;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent-color);
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 10;
}

.product-image {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.1);
}

.product-content {
    padding: var(--spacing-md);
}

.product-name {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: var(--spacing-xs);
    display: none; /* 画像内に製品名が含まれているため非表示 */
}

.product-tagline {
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm);
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.spec-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.product-features {
    margin-bottom: var(--spacing-md);
}

.product-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.product-price {
    display: block;
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.8;
    min-width: 280px;
}

.price-original {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.price-current {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
}

.price-label {
    font-size: 0.875rem;
    color: var(--accent-color);
    font-weight: 700;
}

.product-note {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-lg);
    text-align: center;
}

.product-note p {
    line-height: 1.8;
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-price {
        min-width: auto;
    }
}

/* ========================================
   特徴セクション
======================================== */
.features {
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    color: var(--bg-white);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.feature-text {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ========================================
   使用シーンセクション
======================================== */
.usecases {
    background-color: var(--bg-white);
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.usecase-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.usecase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-lg);
}

.usecase-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.usecase-image .image-placeholder {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.usecase-content {
    padding: var(--spacing-md);
}

.usecase-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.usecase-text {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ========================================
   信頼性セクション
======================================== */
.trust {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--bg-white);
}

.trust .section-title {
    color: var(--bg-white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.trust-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: var(--transition);
}

.trust-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.trust-number-large {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
}

.trust-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.trust-card-text {
    opacity: 0.9;
    line-height: 1.7;
}

/* ========================================
   FAQセクション
======================================== */
.faq {
    background-color: var(--bg-light);
}

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

.faq-item {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-question {
    padding: var(--spacing-md);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 700;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--text-gray);
    line-height: 1.8;
}

/* ========================================
   CTAセクション
======================================== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: var(--spacing-md);
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.cta-buttons .btn {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.cta-buttons .btn:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.cta-buttons .btn-outline {
    background-color: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.cta-buttons .btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 1.75rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ========================================
   フッター
======================================== */
.footer {
    background-color: var(--bg-dark);
    color: var(--bg-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
}

.footer-brand {
    margin-bottom: var(--spacing-md);
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: var(--spacing-xs);
}

.footer-logo-image {
    height: 50px;
    width: auto;
    display: block;
    margin-bottom: var(--spacing-sm);
}

@media (max-width: 768px) {
    .footer-logo-image {
        height: 40px;
    }
}

.footer-tagline {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-color);
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-list a {
    opacity: 0.8;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-list a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-left: 4px;
}

.footer-trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
}

.footer-trust-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-trust-item strong {
    color: var(--accent-color);
    font-size: 1.125rem;
}

.footer-trust-item span {
    opacity: 0.8;
    font-size: 0.875rem;
}

.footer-contact {
    text-align: center;
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact a {
    color: var(--accent-color);
    font-weight: 700;
}

.footer-bottom {
    text-align: center;
    opacity: 0.7;
    font-size: 0.875rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.75rem;
    margin-top: var(--spacing-sm);
}

.footer-disclaimer a {
    color: var(--accent-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-trust {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   レスポンシブ用ユーティリティ
======================================== */
.sp-only {
    display: none;
}

@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }

    .pc-only {
        display: none;
    }
}

/* ========================================
   アニメーション
======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ========================================
   アクセシビリティ
======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}