/* リセットスタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
}

/* 基本コンテナ */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section {
    margin-bottom: 80px;
}

/* 料金詳細リンク */
.price-link {
    display: inline-block;
    margin-top: 8px;
    color: #667eea;
    text-decoration: none;
    font-size: 0.95em;
    cursor: pointer;
    font-weight: 600;
}

.price-link:hover {
    text-decoration: underline;
}

/* モーダル */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    animation: slideIn 0.3s;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #333;
}

.modal-content h3 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.modal-content ul {
    list-style: none;
    padding: 0;
}

.modal-content li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.modal-content li:last-child {
    border-bottom: none;
}

.modal-content .note {
    margin-top: 20px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
    font-size: 0.95em;
    color: #666;
    line-height: 1.6;
}

.modal-content .coming-soon-message {
    text-align: center;
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
}

.modal-content .coming-soon-message .date {
    color: #667eea;
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 15px;
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

/* テーブル */
.plans {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

th {
    background: #667eea;
    color: white;
    padding: 20px;
    text-align: left;
    font-size: 1.1em;
}

td {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

tr:hover {
    background: #f7fafc;
}

tr:last-child td {
    border-bottom: none;
}

/* CTA */
.cta {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: white;
    border: none;
    padding: 0;
}

.cta p {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 20px 60px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    transition: transform 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* フッター */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9em;
}

footer a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-bottom 0.3s;
}

footer a:hover {
    border-bottom: 1px solid white;
}

/* フッターのスマホ対応 */
footer .separator-line {
    display: inline;
}

footer .service-link {
    display: inline;
}

/* スマホ表示時のテーブル */
@media (max-width: 768px) {
    .plans table, .plans thead, .plans tbody, .plans tr {
        display: block;
    }

    .plans thead {
        display: none;
    }

    .plans tr {
        margin-bottom: 20px;
        border: 2px solid #667eea;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        background: white;
    }

    .plans td {
        display: block;
        text-align: left;
        padding: 15px;
        border: none;
        position: relative;
    }

    .plans td::before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 8px;
        color: #667eea;
        font-size: 0.9em;
    }

    .plans tr:hover {
        background: white;
    }

    /* フッターのスマホ対応 - 縦に並べる */
    footer .separator-line {
        display: none;
    }

    footer .service-link {
        display: block;
        margin-top: 5px;
    }
}
