/*
Theme Name: SmartBGM
Description: 店舗向けBGM自動生成サービス専用テーマ
Version: 1.0
Author: あなたの名前
Text Domain: smartbgm
*/

/* ===== リセットCSS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ===== ヘッダー ===== */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c5aa0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #2c5aa0;
}

/* ===== メインコンテンツ ===== */
main {
    margin-top: 80px;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-benefits div {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.cta-button {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,107,0.4);
}

/* ===== 問題提起セクション ===== */
.problems {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.problems h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.problem-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.problem-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.problem-item h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

/* ===== 特徴セクション ===== */
.features {
    padding: 4rem 2rem;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: #2c5aa0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 4px solid #2c5aa0;
}

.feature-item h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

/* ===== 成功事例セクション ===== */
.case-study {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.case-study h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.case-item {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.case-before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.before, .after {
    padding: 1.5rem;
    border-radius: 10px;
}

.before {
    background: #ffe6e6;
    border-left: 4px solid #e74c3c;
}

.after {
    background: #e6f7ff;
    border-left: 4px solid #52c41a;
}

blockquote {
    background: #f0f8ff;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #2c5aa0;
    font-style: italic;
    margin-top: 2rem;
}

/* ===== 料金セクション ===== */
.pricing {
    padding: 4rem 2rem;
}

.pricing h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.plan {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

.plan h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    color: #666;
}

.plan ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.plan li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.recommended {
    background: #ff6b6b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 0.9rem;
}

/* ===== 申し込みフォーム ===== */
.contact {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2c5aa0;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
}

.submit-btn {
    width: 100%;
    background: #2c5aa0;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #1e3d72;
}

/* ===== レスポンシブ対応 ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .case-before-after {
        grid-template-columns: 1fr;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
}