/* Main Styles */
:root {
    --color-primary: #4FC3F7;  /* 爽やかなスカイブルー */
    --color-secondary: #29B6F6; /* やや濃いブルー */
    --color-accent: #00C300;    /* LINE グリーン */
    --color-base: #FAFBFC;      /* 薄いグレー */
    --color-text: #2C3E50;      /* ダークグレー */
    --color-text-light: #5A6C7D; /* ライトグレー */
    --color-white: #FFFFFF;
    --color-gray-light: #F5F7FA;
    --color-gray: #B8C2CC;
    --color-success: #48BB78;
    --color-warning: #FFA726;
    --color-danger: #EF5350;
    
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.12);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --border-radius: 8px;
    --border-radius-lg: 16px;
    
    --header-height: 60px;  /* 70px → 60px */
    --container-max-width: 1200px;
    --container-padding: 20px;
}

/* Base Styles */
body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-white);
    font-size: 16px;
    line-height: 1.8;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Section */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
}

/* Background Utilities */
.bg-light {
    background-color: var(--color-base);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;  /* 70px → 60px に縮小 */
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;  /* 左右のパディングを調整 */
}

.logo {
    font-size: 1.25rem;  /* サイズを微調整 */
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-secondary);
    display: flex;
    align-items: center;
    letter-spacing: -0.3px;  /* 文字間調整 */
}

.logo a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
    padding: 0.2rem 0;  /* クリックエリアを少し広げる */
}

.logo a:hover {
    opacity: 0.8;
}

.nav {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.2rem;  /* 2rem → 1.2rem に縮小 */
}

.nav-link {
    font-size: 0.9rem;  /* 0.95rem → 0.9rem */
    font-weight: 500;
    color: var(--color-text);
    transition: color var(--transition-fast);
    position: relative;
    padding: 0.4rem 0.6rem;  /* パディング追加 */
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link-cta {
    background-color: #2B6CB0;  /* プライマリカラーに変更 */
    color: var(--color-white);
    padding: 6px 18px;  /* 8px 20px → 6px 18px に縮小 */
    border-radius: 50px;  /* 丸みを強く */
    transition: all var(--transition-normal);
    font-size: 0.85rem;  /* フォントサイズ追加 */
}

.nav-link-cta:hover {
    background-color: #1E4E8C;  /* 濃いブルー */
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    width: 28px;  /* 30px → 28px */
    height: 22px;  /* 24px → 22px */
    position: relative;
    cursor: pointer;
    z-index: 1002;
    padding: 5px;
    margin-right: -5px;  /* パディングの分だけ負のマージン */
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;  /* 3px → 2.5px */
    background-color: var(--color-text);
    position: absolute;
    transition: all var(--transition-normal);
}

.mobile-menu-toggle span:nth-child(1) { top: 0; }
.mobile-menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu-toggle span:nth-child(3) { bottom: 0; }

.mobile-menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 60px;  /* ヘッダー高さに合わせる */
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 60px);  /* ヘッダー高さを引く */
    background-color: var(--color-white);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-normal);
    z-index: 999;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-list {
    padding: 2rem 0;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    transition: all var(--transition-fast);
    border-bottom: 1px solid var(--color-gray-light);
}

.mobile-nav-link:hover {
    background-color: var(--color-base);
    color: var(--color-primary);
    padding-left: 2.5rem;
}

.mobile-nav-cta {
    background-color: #2B6CB0;  /* プライマリカラー */
    color: var(--color-white);
    margin: 1rem 2rem;
    text-align: center;
    border-radius: 50px;
    border: none;
}

.mobile-nav-cta:hover {
    background-color: #1E4E8C;  /* 濃いブルー */
    color: var(--color-white);
}

/* Hero Section */
.hero {
    padding-top: calc(60px + 60px);  /* ヘッダー高さ + 余白 */
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--color-base) 0%, var(--color-white) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-title-main,
.hero-title-sub {
    display: block;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    margin-bottom: 2rem;
}

.hero-note {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: 1rem;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--color-white);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 20px;
}

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

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

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

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-normal);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--color-white);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-text {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Industries */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.industry-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all var(--transition-normal);
    cursor: pointer;
}

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

.industry-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    color: var(--color-primary);
}

.industry-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.industry-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.industry-text {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* Plans */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plan-card {
    background-color: var(--color-white);
    border: 2px solid var(--color-gray-light);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    position: relative;
    transition: all var(--transition-normal);
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.plan-featured {
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-gray-light);
    margin-bottom: 1.5rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.plan-price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.plan-price-unit {
    font-size: 1rem;
    color: var(--color-text-light);
}

.plan-features {
    margin-bottom: 2rem;
}

.plan-feature {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.plan-feature-icon {
    width: 20px;
    height: 20px;
    color: var(--color-success);
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-action {
    text-align: center;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--color-gray-light);
}

.comparison-table thead th {
    background-color: var(--color-base);
    font-weight: 700;
    font-size: 0.95rem;
}

.comparison-table thead th.highlight {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.comparison-table tbody td {
    font-size: 0.95rem;
}

.comparison-table tbody td.highlight {
    background-color: #2B6CB010;
    font-weight: 600;
}

.comparison-label {
    text-align: left !important;
    font-weight: 600;
}

.comparison-table small {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--color-primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-light);
}

.testimonial-author-name {
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.testimonial-author-title {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1E4E8C 100%);
    color: var(--color-white);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    margin-bottom: 3rem;
}

.cta-qr {
    display: inline-block;
    padding: 1.5rem;
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
}

.cta-qr-text {
    font-size: 0.875rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.cta-qr-image {
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.required {
    color: var(--color-accent);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-gray-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-nav-list {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-nav-list a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
    color: var(--color-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
}

.floating-cta-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 20px;
    background-color: var(--color-accent);
    color: var(--color-white);
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    font-weight: 600;
}

.floating-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background-color: #D53333;
}

.floating-cta-icon {
    width: 24px;
    height: 24px;
}

.floating-cta-text {
    display: none;
}

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

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

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }

/* Hide on mobile */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Show on mobile only */
@media (min-width: 769px) {
    .show-mobile {
        display: none !important;
    }
}