@charset "utf-8";

/* ==========================================================================
   1. Variables & Base Settings (基本設定)
   ========================================================================== */
body {
    background-color: #f9f8f4;
    color: var(--text-color); /* 共通テキストカラーの適用 */
}


.page-nav-buttons {
    /* もし fade-in を残すなら以下を追加。外すなら不要です */
    opacity: 1 !important; 
    transform: none !important;
    
    /* 念のため、要素が隠れないよう最前面へ */
    z-index: 9999;
}
/* ==========================================================================
   3. Typography & UI Components (見出し・パーツ)
   ========================================================================== */
h2 {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    border-left: 5px solid var(--main-color);
    padding-left: 15px;
    margin: 60px 0 30px;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.concept-box {
    background: #dae4e6;
    padding: clamp(20px, 5vw, 30px);
    border-radius: 15px;
    margin-bottom: 40px;
}

/* --- Overview Section (Table) --- */
.overview-section {
    max-width: 800px;
    margin: 40px auto 80px;
}

.overview-table {
    border-top: 1px solid var(--gray-line);
}

.overview-row {
    display: flex;
    align-items: flex-start; /* 複数行対応 */
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-line);
}

.label {
    flex-shrink: 0;
    width: 120px;
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--gray-label);
}

.value {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-color);
}

/* --- Grid & Cards --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.card {
    padding: 25px;
    background: #fdfdfd;
    border: 1px solid var(--gray-line);
    border-radius: 12px;
}

.card h4 {
    color: var(--main-color);
    margin-bottom: 10px;
}

/* ==========================================================================
   4. Visual Content (画像・モックアップ)
   ========================================================================== */
/* --- Main Visual (PC Mockup) --- */
.main-visual {
    width: 100%;
    margin: 80px auto;
}

.pc-mockup {
    position: relative;
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    padding: 10px;
    background: #717171;
    border: 8px solid var(--accent-color);
    border-radius: 15px 15px 0 0;
}

.pc-mockup .screen {
    width: 100%;
    height: clamp(250px, 50vh, 450px); /* 画面の高さに応じて可変 */
    background: var(--white);
    overflow-y: scroll;
    overflow-x: hidden;
    border-radius: 5px;
}

.pc-mockup .screen img {
    display: block;
    width: 100%;
    height: auto;
}

/* --- Feature Items --- */
.feature-item {
    display: flex;
    align-items: center;
    gap: clamp(20px, 5vw, 40px);
    margin-bottom: 80px;
}

.feature-text { flex: 1.2; }
.feature-image { flex: 1; }

.image-box {
    width: 100%;
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: inset 0px 0px 10px 0px rgba(188, 185, 170, 0.2);
}

.image-box img {
    display: block;
    width: 100%;
    height: auto;
}



/* ==========================================================================
   7. Responsive Adjustments (レスポンシブ)
   ========================================================================== */
/* Tablet & Mobile (Max 768px) */
@media (max-width: 768px) {
    .feature-item {
        flex-direction: column !important;
        text-align: left;
    }
    
    .feature-text, 
    .feature-image {
        width: 100%;
    }

    .overview-row {
        flex-direction: column;
        padding: 12px 0;
    }
    
    .label {
        margin-bottom: 4px;
        color: var(--main-color);
    }
}

/* Small Mobile (Max 480px) */
@media (min-width: 480px) {
    header {
        margin: 40px auto 60px;
    }

}