:root {
    --primary-color: #6b5344;
    --primary-dark: #4a3a2f;
    --primary-light: #8b7355;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #faf8f5;
    --bg-section: #f5f2ed;
    --white: #fff;
    --accent: #c9a96e;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(107, 83, 68, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-section) 100%);
    padding: 100px 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L30 60M0 30L60 30M0 0L60 60M60 0L0 60' stroke='%236b5344' stroke-width='0.5' fill='none' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 150px;
    height: auto;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease-out;
}

.hero-tagline {
    font-size: 1rem;
    color: var(--primary-light);
    letter-spacing: 3px;
    margin-bottom: 1rem;
    animation: fadeIn 1s ease-out 0.1s both;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    animation: fadeIn 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    animation: fadeIn 1s ease-out 0.4s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    padding: 5rem 20px;
}

section h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

/* About */
.about {
    background: var(--white);
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.company-info {
    width: 100%;
    border-collapse: collapse;
}

.company-info tr {
    border-bottom: 1px solid #eee;
}

.company-info th,
.company-info td {
    padding: 1.25rem 1rem;
    text-align: left;
}

.company-info th {
    width: 30%;
    color: var(--primary-color);
    font-weight: 500;
    background: var(--bg-section);
}

.company-info td {
    color: var(--text-color);
}

/* Mission */
.mission {
    background: var(--bg-section);
}

.mvv-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.mvv-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(107, 83, 68, 0.08);
}

.mvv-card h3 {
    color: var(--accent);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.mvv-card p {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
}

/* Services */
.services {
    background: var(--white);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-section);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-card .service-subtitle {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Member */
.member {
    background: var(--bg-section);
}

.member-card-simple {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 10px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(107, 83, 68, 0.08);
}

.member-card-simple h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.member-reading {
    font-size: 0.9rem;
    font-weight: normal;
    color: var(--text-light);
}

.member-title {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.member-bio {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: left;
}

.member-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.member-link:hover {
    text-decoration: underline;
}

/* Logo Story */
.logo-story {
    background: var(--white);
}

.logo-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    background: var(--bg-section);
    padding: 3rem;
    border-radius: 10px;
}

.logo-image {
    text-align: center;
}

.logo-image img {
    max-width: 200px;
    width: 100%;
}

.logo-meaning {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.logo-meaning strong {
    color: var(--primary-color);
}

.logo-description h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.logo-elements {
    list-style: none;
}

.logo-elements li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.logo-elements li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.logo-elements strong {
    display: block;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.logo-elements p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact */
.contact {
    background: var(--bg-section);
}

.coming-soon {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(107, 83, 68, 0.08);
}

.coming-soon p {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.coming-soon span {
    font-size: 0.9rem;
    color: var(--text-light);
    letter-spacing: 2px;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem 20px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.footer-logo img {
    height: 30px;
    filter: brightness(0) invert(1);
}

.footer-logo span {
    font-weight: 700;
}

.footer-tagline {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Service Detail Pages */
.service-hero {
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-section) 100%);
    padding: 120px 20px 60px;
    text-align: center;
}

.service-category {
    color: var(--primary-light);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.service-hero h1 {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-hero-lead {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.status-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--white);
    padding: 0.4rem 1.25rem;
    border-radius: 20px;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.service-overview {
    background: var(--white);
}

.overview-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 2;
}

.service-features {
    background: var(--bg-section);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(107, 83, 68, 0.08);
}

.feature-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

.service-usecases {
    background: var(--white);
}

.usecase-list {
    max-width: 800px;
    margin: 0 auto;
}

.usecase-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.usecase-item:last-child {
    border-bottom: none;
}

.usecase-item h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.usecase-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-status {
    background: var(--bg-section);
}

.status-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-color);
}

.status-content p {
    margin-bottom: 1rem;
}

.service-process {
    background: var(--bg-section);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(107, 83, 68, 0.08);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h3 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.6;
}

.service-cta {
    background: var(--white);
    text-align: center;
    padding: 3rem 20px;
}

.btn-back {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s;
}

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

/* Service Card Link */
.service-card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.service-card-link:hover {
    opacity: 0.7;
}

/* Products List */
.products-list {
    background: var(--bg-section);
}

.product-item {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(107, 83, 68, 0.08);
}

.product-item:last-child {
    margin-bottom: 0;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.product-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.status-badge-outline {
    display: inline-block;
    border: 1px solid var(--primary-light);
    color: var(--primary-light);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.product-content {
    color: var(--text-color);
}

.product-description {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.product-features,
.product-usecases {
    margin-bottom: 1.5rem;
}

.product-features:last-child,
.product-usecases:last-child {
    margin-bottom: 0;
}

.product-features h4,
.product-usecases h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.product-features ul,
.product-usecases ul {
    list-style: none;
    padding-left: 0;
}

.product-features li,
.product-usecases li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
}

.product-features li::before,
.product-usecases li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

.product-features li strong {
    color: var(--primary-dark);
}

.product-coming {
    background: var(--bg-color);
    border: 1px dashed var(--primary-light);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 5%;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: 0.3s;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        border-bottom: 1px solid #eee;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 120px 20px 80px;
        min-height: auto;
    }

    .hero-logo {
        width: 100px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    section {
        padding: 3rem 20px;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .company-info th,
    .company-info td {
        display: block;
        width: 100%;
        padding: 0.75rem 1rem;
    }

    .company-info th {
        padding-bottom: 0.25rem;
    }

    .company-info td {
        padding-top: 0.25rem;
        padding-bottom: 1rem;
    }

    .mvv-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .member-card-simple {
        padding: 1.5rem;
    }

    .logo-content {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }

    .logo-image img {
        max-width: 150px;
    }

    /* Service Detail Pages Responsive */
    .service-hero {
        padding: 100px 20px 40px;
    }

    .service-hero h1 {
        font-size: 1.75rem;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}
