/* Base CSS */
:root {
    --primary-color: #FF8C00;
    --text-main: #333333;
    --text-muted: #777777;
    --bg-color: #F8F9FA;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
    --radius: 8px;
    --shadow: 0 4px 12px rgba(0,0,0,0.05);
    --hover-shadow: 0 8px 24px rgba(255, 140, 0, 0.15);
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

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

/* Header */
.site-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.site-logo .logo-img {
    height: 40px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-list li a {
    font-size: 14px;
    font-weight: 500;
}

/* Layout */
.main-content {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

/* Service Section */
.service-section {
    margin-bottom: 60px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.card-image {
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 20px;
    border-radius: var(--radius);
    overflow: hidden;
}

.dummy-img {
    width: 100%;
    height: 100%;
    background-color: #EAEAEA;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    text-align: left;
}

/* Knowledge Section (Random Articles) */
.knowledge-section {
    margin-bottom: 60px;
}

.knowledge-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.inunote-news-item {
    display: flex;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    padding: 15px;
    gap: 15px;
    align-items: center;
}

.inunote-news-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.inunote-news-thumb {
    width: 160px;
    height: 90px;
    flex-shrink: 0;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.dummy-thumb {
    width: 100%;
    height: 100%;
    background-color: #EAEAEA;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
}

.inunote-news-cat {
    position: absolute;
    top: 5px;
    left: 5px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 2px;
    font-weight: bold;
}

.inunote-news-content {
    flex: 1;
}

.inunote-news-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.inunote-news-title {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.4;
    color: var(--text-main);
}

.more-btn-wrap {
    text-align: center;
    margin-top: 30px;
}

.more-btn {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: bold;
}

.more-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Footer */
.site-footer {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo a {
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.footer-logo .logo-img {
    height: 32px;
    width: auto;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.footer-services {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-services a {
    font-size: 14px;
}

.footer-company a {
    font-size: 13px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-list {
        justify-content: center;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .knowledge-list {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        align-items: center;
    }

    .footer-services {
        justify-content: center;
    }
}
