/* =========================================
   Base Styles & Reset
   ========================================= */
:root {
    --primary-color: #e55c5c; /* LanCulっぽい赤系のアクセント */
    --primary-hover: #cc4949;
    --text-main: #333333;
    --text-light: #666666;
    --bg-main: #f9f9f9;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --accent-bg: #fff5f5;
    --marker-color: rgba(229, 92, 92, 0.3);
}

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

body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.8;
    font-size: 16px;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

/* =========================================
   Layout
   ========================================= */
.site-header {
    background-color: var(--bg-white);
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--bg-white);
    box-shadow: 0 0 15px rgba(0,0,0,0.03);
}

.site-footer {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--text-main);
    color: var(--bg-white);
    font-size: 0.85rem;
    margin-bottom: 60px; /* CTAボタン用の余白 */
}

/* =========================================
   Typography & Article Elements
   ========================================= */
.article-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 25px;
    color: var(--text-main);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 15px;
}

.lead-section {
    margin-bottom: 40px;
}

.content-section {
    margin-bottom: 50px;
}

p {
    margin-bottom: 20px;
    font-size: 1rem;
}

h2 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 40px 0 20px;
    padding: 15px;
    background-color: var(--accent-bg);
    border-left: 5px solid var(--primary-color);
    border-radius: 0 5px 5px 0;
}

h3 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 35px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px dashed var(--border-color);
    position: relative;
}

h3::before {
    content: "●";
    color: var(--primary-color);
    margin-right: 8px;
}

.section-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* =========================================
   Decorations
   ========================================= */
.mk {
    background: linear-gradient(transparent 60%, var(--marker-color) 60%);
    font-weight: bold;
}

.js-marker {
    background-size: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.js-marker.is-active {
    background-size: 100% 100%;
}

.summary-box {
    background-color: #f0f7f4;
    border: 2px solid #a3d9c3;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
}

.summary-box ul {
    list-style: none;
}

.summary-box li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-weight: 500;
}

.summary-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2ea673;
    font-weight: bold;
}

.summary-box li:last-child {
    margin-bottom: 0;
}

.note {
    background-color: #fff8e1;
    border-left: 5px solid #ffca28;
    padding: 15px;
    margin: 25px 0;
    border-radius: 0 5px 5px 0;
}

.note p:last-child {
    margin-bottom: 0;
}

.balloon {
    position: relative;
    background: var(--accent-bg);
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
    font-weight: 500;
    border: 1px solid #fadcdc;
}

.balloon::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 30px;
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent var(--accent-bg) transparent;
}

.normal-list {
    margin: 0 0 20px 20px;
}

.normal-list li {
    margin-bottom: 8px;
}

.table-wrap {
    overflow-x: auto;
    margin: 25px 0;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 300px;
}

.spec-table th, .spec-table td {
    border: 1px solid var(--border-color);
    padding: 12px 15px;
    text-align: left;
}

.spec-table th {
    background-color: var(--accent-bg);
    font-weight: 700;
    width: 40%;
}

/* =========================================
   CTA Elements
   ========================================= */
.cta-area {
    text-align: center;
    background-color: var(--bg-white);
    padding: 30px 15px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(229, 92, 92, 0.15);
}

.bottom-cta-area {
    background: linear-gradient(135deg, #fff5f5, #ffffff);
}

.cta-micro-copy {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-white);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 18px 30px;
    border-radius: 50px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 6px 15px rgba(229, 92, 92, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: "＞";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.cta-button:active {
    transform: translateY(2px);
    box-shadow: 0 2px 8px rgba(229, 92, 92, 0.4);
}

.pulse-effect {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 92, 92, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(229, 92, 92, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(229, 92, 92, 0);
    }
}

/* =========================================
   Sticky CTA
   ========================================= */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
}

.sticky-cta.is-visible {
    transform: translateY(0);
}

.sticky-cta-btn {
    display: block;
    background-color: var(--primary-color);
    color: var(--bg-white);
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(229, 92, 92, 0.4);
    position: relative;
    text-decoration: none;
}

.sticky-cta-btn::after {
    content: "＞";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.hidden {
    visibility: hidden;
}

.sticky-cta.is-visible.hidden {
    visibility: visible;
}

/* =========================================
   Media Queries (PC向け調整)
   ========================================= */
@media screen and (min-width: 768px) {
    .main-content {
        padding: 40px;
        border-radius: 10px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .sticky-cta {
        display: none; /* PCでは非表示にする場合 */
    }
    
    .site-footer {
        margin-bottom: 0;
    }
}
