:root {
    --primary-color: #3b7d3d;
    --accent-color: #e76f51;
    --bg-dark: #0d110f;
    --card-bg: #161e18;
    --text-main: #ffffff;
    --text-muted: #a0aab2;
    --border-color: #2a382d;
}

* { box-sizing: border-box; }
body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.8;
    scroll-behavior: smooth;
}

header {
    padding: 28px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(13, 17, 15, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}
.header-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
    flex-shrink: 0;
}
/* LP ヘッダー: 横長ロゴ（白抜き）— ブランド主役の大きめ表示 */
.logo-img--header {
    height: 80px;
    width: auto;
    max-width: min(400px, 72vw);
    display: block;
    object-fit: contain;
}

header nav {
    display: flex;
    align-items: center;
    gap: 12px;
}
.lang-switch {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}
.lang-switch:hover { color: var(--text-main); }

.hero {
    padding: 100px 5% 60px;
    text-align: center;
    background: radial-gradient(circle at top, #1a2e1d 0%, #0d110f 70%);
}
.hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); margin-bottom: 20px; line-height: 1.3; font-weight: 700; }
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 800px; margin: 0 auto 40px; }

.app-preview {
    max-width: 900px;
    margin: 0 auto 60px;
    background: #222;
    border-radius: 20px;
    border: 8px solid #333;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    overflow: hidden;
    position: relative;
    min-height: min(52vw, 520px);
}
.app-preview img {
    width: 100%;
    display: block;
    height: auto;
    vertical-align: top;
    opacity: 1;
    transition: opacity 1.0s ease-in-out;
}

.features { padding: 80px 5%; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.feature-card { background: var(--card-bg); padding: 40px; border-radius: 20px; border: 1px solid var(--border-color); transition: 0.3s; }
.feature-card:hover { border-color: var(--primary-color); transform: translateY(-5px); }
.feature-card h3 { color: var(--primary-color); margin-top: 0; font-size: 1.4rem; }

.pricing-section { padding: 80px 5%; text-align: center; background: #111; }
.pricing-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 50px; }
.price-box {
    background: var(--card-bg);
    padding: 50px 40px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.price-box.popular { border: 2px solid var(--accent-color); }
.badge {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--accent-color); color: white; padding: 4px 20px; border-radius: 20px; font-size: 0.85rem; font-weight: bold;
}
.price-value { font-size: 3.5rem; font-weight: 700; margin: 10px 0; }
.price-unit { color: var(--text-muted); margin-bottom: 30px; }

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.3s;
    text-align: center;
    cursor: pointer;
    border: none;
}
.btn-primary { background: var(--primary-color); color: white; }
.btn-primary:hover { background: #4a9d4d; transform: scale(1.05); }
.btn-accent { background: var(--accent-color); color: white; }
.btn-accent:hover { background: #f08163; transform: scale(1.05); }

/* ヘッダー CTA: 「Try free」と同じ高さ・パディング・行ボックスを統一 */
.header-nav-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    line-height: 1.25;
}

/* ヘッダー「ログイン」: 透明背景・白枠・ホバーで白背景＋黒文字 */
.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    box-sizing: border-box;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-outline:hover {
    background: #ffffff;
    color: #0d110f;
    border-color: #ffffff;
    transform: none;
}

header nav .btn-primary.header-nav-cta {
    box-sizing: border-box;
}

.steps { padding: 80px 5%; text-align: center; }
.step-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin-top: 40px; }
.step-item { width: 200px; }
.step-num { font-size: 2rem; font-weight: bold; color: var(--primary-color); margin-bottom: 10px; }

footer { padding: 60px 5%; text-align: center; border-top: 1px solid var(--border-color); color: var(--text-muted); font-size: 0.9rem; }
.legal-links { margin-top: 20px; }
.legal-links a { color: var(--text-muted); text-decoration: none; margin: 0 10px; }
.legal-links a:hover { color: var(--text-main); }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .price-box { padding: 40px 20px; }
}
