@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
    --primary: #00AEEF;
    --primary-dark: #0087C1;
    --accent: #33C5F3;
    --text: #1a1a2e;
    --text-muted: #6b7280;
    --bg: #F0FAFF;
    --panel: #ffffff;
    --border: #D9F2FF;
    --gradient: linear-gradient(135deg, #33C5F3 0%, #0087C1 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.8;
    font-size: 15px;
}

/* ─── ナビゲーションバー ─── */
.nav {
    background: var(--gradient);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 12px rgba(0, 174, 239, 0.3);
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6em;
    font-weight: 400;
    color: white;
    text-decoration: none;
    font-family: 'Indie Flower', cursive;
    letter-spacing: 1.5px;
}
.nav-logo img {
    height: 34px;
    width: 34px;
    object-fit: contain;
    background: transparent;
    filter: brightness(0) invert(1);
}
.nav-logo span { opacity: 0.8; font-weight: 400; font-size: 0.8em; margin-left: 4px; }

/* ─── ページヘッダー ─── */
.page-header {
    background: var(--gradient);
    color: white;
    padding: 48px 24px 56px;
    text-align: center;
}
.page-header h1 {
    font-size: 2.4em;
    font-weight: 400;
    margin-bottom: 12px;
    font-family: 'Indie Flower', 'Noto Sans JP', cursive;
    letter-spacing: 0px;
}
.page-header p { opacity: 0.85; font-size: 0.95em; }

/* ─── コンテンツパネル ─── */
.container {
    max-width: 760px;
    margin: -28px auto 60px;
    padding: 0 16px;
}
.box-panel, .card {
    background: var(--panel);
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 4px 24px rgba(0, 174, 239, 0.10);
    border: 1px solid var(--border);
}

/* ─── セクション見出し ─── */
.section-title {
    font-size: 1em;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 36px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}
.section-title:first-child { margin-top: 0; }

h2 { font-size: 1.05em; font-weight: 700; color: var(--text); margin: 28px 0 10px; }
p { margin-bottom: 14px; color: #374151; }
ul, ol { padding-left: 20px; margin-bottom: 14px; }
li { margin-bottom: 8px; color: #374151; }
strong { color: var(--text); }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── FAQ アコーディオン ─── */
.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: 0 2px 12px rgba(0, 174, 239, 0.12); }
.faq-q {
    padding: 16px 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    background: #f8faff;
    font-size: 0.95em;
}
.faq-q::after {
    content: '＋';
    color: var(--primary);
    font-size: 1.2em;
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 12px;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
    display: none;
    padding: 0 20px 16px;
    font-size: 0.95em;
    color: #4b5563;
    line-height: 1.5;
}
.faq-item.open .faq-a {
    display: block;
}

/* ─── プラン比較表 ─── */
.check-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.93em;
}
.check-table th {
    background: var(--gradient);
    color: white;
    padding: 12px 16px;
    text-align: center;
    font-weight: 700;
}
.check-table th:first-child { border-radius: 10px 0 0 0; }
.check-table th:last-child { border-radius: 0 10px 0 0; }
.check-table td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.check-table tr:nth-child(even) td { background: #f8faff; }
.check-table tr:last-child td { border-bottom: none; }
.check-table .plan-name { font-weight: 700; color: var(--text); }
.badge-free {
    display: inline-block;
    background: #D9F2FF;
    color: var(--primary-dark);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.8em;
    font-weight: 700;
}
.badge-pro {
    display: inline-block;
    background: var(--gradient);
    color: white;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.8em;
    font-weight: 700;
}
.highlight-row td { background: #F0FAFF !important; }

/* ─── お問い合わせ ─── */
.contact-btn {
    display: block;
    text-align: center;
    background: var(--gradient);
    color: white !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1em;
    text-decoration: none !important;
    margin: 24px auto 0;
    max-width: 280px;
    box-shadow: 0 4px 16px rgba(0, 174, 239, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
}
.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 174, 239, 0.35);
    text-decoration: none !important;
}

/* ─── フッター ─── */
footer {
    text-align: center;
    padding: 24px 16px 40px;
    color: var(--text-muted);
    font-size: 0.85em;
}
footer a { color: var(--text-muted); margin: 0 8px; }
footer a:hover { color: var(--primary); }

/* ─── レスポンシブ ─── */
@media (max-width: 600px) {
    .box-panel { padding: 24px 20px; border-radius: 12px; }
    .page-header h1 { font-size: 1.5em; }
    .check-table { font-size: 0.82em; }
    .check-table th, .check-table td { padding: 10px 8px; }
}
