/*
Theme Name: Simple Site Theme
Theme URI: https://simple-seo-migration.com/
Author: XisCoreCreative Co., Ltd.
Author URI: https://simple-seo-migration.com/
Description: Simple SEO & Backup 公式サイト用テーマ。プラグイン配布とStripe決済に対応。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: simple-site-theme
Tags: one-column, custom-colors, custom-menu, custom-logo, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments

Simple Site Theme is a modern, minimal theme designed for software distribution websites.
*/

/* CSS Variables */
:root {
    --sst-primary: #0073aa;
    --sst-primary-dark: #005a87;
    --sst-secondary: #23282d;
    --sst-accent: #00d084;
    --sst-text: #1e1e1e;
    --sst-text-light: #606060;
    --sst-bg: #ffffff;
    --sst-bg-alt: #f8f9fa;
    --sst-border: #e2e4e7;
    --sst-success: #00a32a;
    --sst-warning: #dba617;
    --sst-error: #d63638;
    --sst-radius: 8px;
    --sst-shadow: 0 2px 8px rgba(0,0,0,0.08);
    --sst-shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --sst-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --sst-font-mono: 'JetBrains Mono', 'Fira Code', Consolas, Monaco, monospace;
    --sst-container: 1200px;
    --sst-transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sst-font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--sst-text);
    background: var(--sst-bg);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--sst-primary-dark);
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 1rem 0;
    color: var(--sst-secondary);
}

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

p {
    margin: 0 0 1rem 0;
}

code {
    font-family: var(--sst-font-mono);
    background: var(--sst-bg-alt);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Buttons */
.sst-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--sst-radius);
    border: none;
    cursor: pointer;
    transition: var(--sst-transition);
    text-decoration: none;
}

.sst-btn-primary {
    background: var(--sst-primary);
    color: #fff;
}

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

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

.sst-btn-secondary:hover {
    background: var(--sst-primary);
    color: #fff;
}

.sst-btn-accent {
    background: var(--sst-accent);
    color: #fff;
}

.sst-btn-accent:hover {
    background: #00b870;
    color: #fff;
}

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

.sst-btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Header */
.sst-header {
    background: var(--sst-bg);
    border-bottom: 1px solid var(--sst-border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.sst-header-auth {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    margin-right: 20px;
}

.sst-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sst-secondary);
}

.sst-logo:hover {
    color: var(--sst-primary);
}

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

.sst-nav a {
    color: var(--sst-text);
    font-weight: 500;
}

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

/* Hero Section */
.sst-hero {
    background: linear-gradient(135deg, var(--sst-bg-alt) 0%, #e8f4fc 100%);
    padding: 80px 0;
    text-align: center;
}

.sst-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--sst-secondary) 0%, var(--sst-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sst-hero p {
    font-size: 1.25rem;
    color: var(--sst-text-light);
    max-width: 640px;
    margin: 0 auto 2rem;
}

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

/* Features Section */
.sst-features {
    padding: 80px 0;
}

.sst-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.sst-feature-card {
    background: var(--sst-bg);
    border: 1px solid var(--sst-border);
    border-radius: var(--sst-radius);
    padding: 32px;
    transition: var(--sst-transition);
}

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

.sst-feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--sst-primary) 0%, var(--sst-accent) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.sst-feature-card h3 {
    margin-bottom: 12px;
}

.sst-feature-card p {
    color: var(--sst-text-light);
    margin: 0;
}

/* Pricing Section */
.sst-pricing {
    background: var(--sst-bg-alt);
    padding: 80px 0;
}

.sst-pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.sst-pricing-card {
    background: var(--sst-bg);
    border-radius: var(--sst-radius);
    padding: 40px;
    text-align: center;
    box-shadow: var(--sst-shadow);
    position: relative;
}

.sst-pricing-card.featured {
    border: 2px solid var(--sst-primary);
    transform: scale(1.02);
}

.sst-pricing-card.featured::before {
    content: 'おすすめ';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sst-primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.sst-pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--sst-secondary);
    margin: 24px 0;
}

.sst-pricing-price span {
    font-size: 1rem;
    color: var(--sst-text-light);
    font-weight: 400;
}

.sst-pricing-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    text-align: left;
}

.sst-pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--sst-border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sst-pricing-features li::before {
    content: '✓';
    color: var(--sst-success);
    font-weight: 700;
}

/* Download Section */
.sst-download {
    padding: 80px 0;
    text-align: center;
}

.sst-download-box {
    background: var(--sst-secondary);
    color: #fff;
    border-radius: var(--sst-radius);
    padding: 48px;
    max-width: 640px;
    margin: 0 auto;
}

.sst-download-box h2 {
    color: #fff;
    margin-bottom: 16px;
}

.sst-download-box p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
}

/* Footer */
.sst-footer {
    background: var(--sst-secondary);
    color: rgba(255,255,255,0.7);
    padding: 48px 0 24px;
}

.sst-footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.sst-footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.sst-footer h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
}

.sst-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sst-footer li {
    margin-bottom: 8px;
}

.sst-footer a {
    color: rgba(255,255,255,0.7);
}

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

.sst-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 48px;
    padding-top: 24px;
    text-align: center;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .sst-hero h1 {
        font-size: 2rem;
    }
    
    .sst-footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .sst-nav {
        display: none;
    }
    
    .sst-pricing-card.featured {
        transform: none;
    }
}
