/* ベース設定 */
:root {
    --bg-color: #FAFAFA;
    --text-main: #1a1a1a;
    --text-light: #666666;
    --primary-btn: #000000;
    --secondary-btn: #B4E1FF;
    --accent: #d4a853;
    --card-bg: #ffffff;
    --section-alt: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

/* タイトル等はSerif（明朝体）を適用 */
h1, h2, .logo {
    font-family: 'Times New Roman', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
}

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

/* ヘッダー */
header {
    padding: 16px 0;
    border-bottom: 1px solid #eeeeee;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.header-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.logo {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2px;
}

/* ヒーローセクション */
.hero {
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
    animation: fadeInUp 0.8s ease-out;
}

.subtitle {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    color: var(--text-light);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.catchphrase {
    font-size: 44px;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.description {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 36px;
    line-height: 1.9;
}

.store-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.justify-center {
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-icon {
    font-size: 18px;
}

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

.btn-secondary {
    background-color: var(--secondary-btn);
    color: var(--text-main);
}

.hero-image {
    flex: 1;
    max-width: 340px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* セクション共通 */
.section-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--accent);
    text-align: center;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.section-title {
    font-size: 28px;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-desc {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 48px;
}

/* 使い方（HOW IT WORKS） */
.how-to {
    padding: 80px 0;
    background-color: var(--section-alt);
}

.steps {
    display: flex;
    gap: 24px;
    margin-top: 16px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 36px 24px;
    background-color: var(--bg-color);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.step-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.step-number {
    font-size: 11px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.step h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', sans-serif;
}

.step p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
}

/* 特徴（FEATURES） */
.features {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 32px 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', sans-serif;
    font-weight: 700;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.8;
}

/* できること一覧 */
.capabilities {
    padding: 80px 0;
    background-color: var(--section-alt);
}

.capabilities-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.capability-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--bg-color);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.capability-item:hover {
    transform: translateX(4px);
}

.capability-icon {
    font-size: 22px;
    flex-shrink: 0;
    width: 32px;
    text-align: center;
}

/* CTA */
.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 16px;
    letter-spacing: 2px;
    color: #ffffff;
}

.cta-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.cta .btn-primary {
    background: #ffffff;
    color: #1a1a1a;
}

.cta .btn-primary:hover {
    background: #f0f0f0;
}

/* フッター */
footer {
    padding: 32px 0;
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    border-top: 1px solid #eeeeee;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-main);
}

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

/* レスポンシブ対応（スマホ表示） */
@media (max-width: 768px) {
    .hero {
        padding: 48px 0 40px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-image {
        max-width: 260px;
        margin: 0 auto;
    }

    .catchphrase {
        font-size: 32px;
    }

    .description {
        font-size: 14px;
    }

    .store-buttons {
        justify-content: center;
    }

    .steps {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .cta h2 {
        font-size: 26px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- 法的文書・サポートページ用スタイル --- */
.page-header {
    padding: 60px 0 40px;
    text-align: center;
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

.page-header h1 {
    font-size: 28px;
    letter-spacing: 2px;
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--bg-color);
}

.text-content h2 {
    font-size: 20px;
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eeeeee;
}

.text-content p, .text-content li {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.text-content ul {
    margin-left: 24px;
    margin-bottom: 24px;
}

.back-home {
    display: inline-block;
    margin-top: 40px;
    font-size: 14px;
    color: var(--text-main);
    text-decoration: underline;
    font-weight: bold;
}