/* base_layout.css - リセット、基本レイアウト、CSS変数、ユーティリティ */

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    font-weight: 400;
}

/* ========================================
   レイアウトコンテナ
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   ユーティリティクラス
======================================== */
.wavy {
    text-decoration: underline wavy #ff6b6b;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25em;
    text-decoration-skip-ink: none;
    font-weight: bold;
}

ul.disc {
    list-style-type: disc;
    margin: .5em 0 .5em 1.5em;
}

a.cta-button {
    color: #FFF;
    text-decoration: none;
}

/* ========================================
   セクションタイトル
======================================== */
.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    padding-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #CC0000;
}

.first-title {
    position: relative;
    padding: .5em 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 32px;
}

.first-title:before,
.first-title:after {
    content: "";
    width: 60%;
    height: 1px;
    background: #000;
    position: absolute;
}

.first-title:before {
    left: 0;
    top: 0;
}

.first-title:after {
    right: 0;
    bottom: 0;
}

/* ========================================
   セクション背景・リズム
======================================== */
.section-alt {
    background: #F5F5F5;
}

.about-section,
.problems-section,
.features-section,
.pricing-slack-section {
    padding: 64px 0;
}

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

/* ========================================
   フォーカス状態（アクセシビリティ）
======================================== */
.cta-button:focus,
.faq-question:focus {
    outline: 3px solid rgba(220, 0, 12, 0.3);
    outline-offset: 2px;
}

/* ========================================
   ポイントノートボックス
======================================== */
.pointnote-box {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 20px auto;
}

.pointnote-box .title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #dc000c;
    margin-bottom: 15px;
}

.pointnote-box .subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ========================================
   レスポンシブ - ベース
======================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
}

/* ========================================
   プリントスタイル
======================================== */
@media print {
    .cta-section {
        background: white !important;
        color: black !important;
    }

    .cta-button {
        background: #dc000c !important;
        color: white !important;
    }
}
