/* --- 基本設定と変数 --- */
:root {
    --bg-main: #AEE4FF; /* 全体の背景色 */
    --hero-bg-top: #EBF5FF;
    --hero-bg-bottom: #BFE1FF;
    --text-main: #333;
    --box-bg: #E8F7FF;
    --border-cyan: #4ECDC4;
    --border-purple: #B584E3;
    --footer-bg: #1A237E;
}

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

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

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

/* --- ヘッダー --- */
.header {
    background-color: var(--bg-main);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    color: #0033CC;
}
.logo-icon { width: 30px; }
.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* --- ヒーローセクション --- */
.hero-section {
    background: linear-gradient(180deg, var(--hero-bg-top) 0%, var(--hero-bg-bottom) 100%);
    padding: 60px 0;
}
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.hero-text { flex: 1; }
.badge {
    background: linear-gradient(90deg, #7A9DF8 0%, #4468E8 100%);
    display: inline-block;
    padding: 15px 50px;
    border-radius: 50px;
    box-shadow: 2px 4px 10px rgba(0,0,0,0.15);
    margin-bottom: 20px;
}
.badge h1 { color: white; font-size: 1.8rem; letter-spacing: 2px; }
.subtitle { color: #0033CC; font-size: 1.2rem; margin-bottom: 20px; }
.description { font-size: 1.1rem; font-weight: bold; }
.hero-image img { width: 100%; max-width: 350px; }

/* --- 共通セクション設定 --- */
.section { padding: 60px 0; }
.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #111;
}
.title-icon { width: 35px; }

/* レイアウトモジュール */
.two-column {
    display: flex;
    align-items: center;
    gap: 40px;
}
.three-column {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}
.box-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.image-area { flex: 1; text-align: center; }
.image-area img { max-width: 100%; border-radius: 10px; }

/* --- ボックスデザイン --- */
.box {
    background-color: var(--box-bg);
    padding: 20px;
    border-radius: 10px;
    border: 3px solid transparent;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.05);
}
.box-cyan { border-color: var(--border-cyan); font-weight: bold; }
.box-purple { border-color: var(--border-purple); background-color: #fff; }
.center-text { text-align: center; flex: 1; }

/* --- ユーザーの声 --- */
.voice-list { display: flex; flex-direction: column; gap: 20px; }
.voice-box {
    background-color: #fff;
    border: 2px solid #555;
    border-radius: 8px;
    padding: 20px 30px;
}
.voice-box p { font-weight: bold; font-size: 1.1rem; }
.author { display: block; text-align: right; font-size: 0.9rem; margin-top: 10px; }

/* --- CTA (ダウンロード) --- */
.cta-container { justify-content: center; }
.cta-left { text-align: center; }
.cta-left h2 { margin-bottom: 20px; }
.qr-area {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
    border: 2px solid #ccc;
}
.qr-img { width: 120px; }
.cta-right img { width: 250px; }

/* --- Q&A --- */
.qa-box { background-color: #fff; border: 2px solid #555; }
.qa-item { margin-bottom: 20px; }
.qa-item:last-child { margin-bottom: 0; }
.question { font-weight: bold; margin-bottom: 5px; }
.answer { margin-left: 20px; }

/* --- フッター --- */
.footer {
    background-color: var(--footer-bg);
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.footer-icon { width: 40px; }

/* --- レスポンシブ対応 (スマホ用) --- */
@media (max-width: 768px) {
    .nav-links { display: none; /* スマホではヘッダーリンクを隠す（必要に応じてハンバーガーメニュー化） */ }
    .hero-container, .two-column, .three-column { flex-direction: column; }
    .reverse-mobile { flex-direction: column-reverse; }
    .hero-text { text-align: center; }
    .three-column .box { width: 100%; }

    /* robot-main.png: 768px以下で画面幅に合わせて段々小さく */
    .hero-image img {
        width: 100%;
        max-width: clamp(200px, 55vw, 350px);
        height: auto;
    }
    .cta-right {
        display: none;
    }
}