/* ===============================
   MIKI SOLUTIONS PAGE STYLE
   Theme: White × Red (Tech Modern)
================================= */

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    margin: 0;
    background: #fafafa;
    color: #222;
}

/* --------- Header --------- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    border-bottom: 2px solid #e60012; /* 赤ライン */
    background-color: #fff;
}

.logo img {
    height: 50px;
}

.nav .main-link {
    text-decoration: none;
    color: #e60012;
    font-weight: bold;
    border: 2px solid #e60012;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.nav .main-link:hover {
    background-color: #e60012;
    color: #fff;
}
/* --------- Main --------- */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    text-align: center;
}

/* Intro Section */
.intro h1 {
    font-size: 2.4rem;
    color: #d62828;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.intro p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Services Section */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 18px rgba(214, 40, 40, 0.15);
}

.service-card h3 {
    color: #d62828;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --------- Footer --------- */
footer {
    margin-top: 5rem;
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(to right, #fff, #ffe5e5);
    border-top: 2px solid #d62828;
    font-size: 0.9rem;
    color: #333;
}

/* --------- Fade-in Animation --------- */
.fadein {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.fadein.visible {
    opacity: 1;
    transform: translateY(0);
}

