/* ========================================
   CSS Variables
   ======================================== */
:root {
    --primary-color: #2d5f3f;
    --primary-light: #4a8c5f;
    --primary-dark: #1a3d28;
    --secondary-color: #f5a623;
    --accent-color: #e67e22;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-secondary: 'Zen Kaku Gothic New', sans-serif;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--bg-white);
}

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

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

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========================================
   Container & Layout
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Header Styles
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.header-top {
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

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

.nav-menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

.nav-menu a:not(.store-link):hover {
    color: var(--primary-color);
}

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

.nav-menu a:not(.store-link):hover::after {
    width: 100%;
}

.store-link {
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

.store-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
}

.btn-contact:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    margin-top: 80px;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><path fill="%234a8c5f" fill-opacity="0.1" d="M0,400 Q300,200 600,400 T1200,400 L1200,800 L0,800 Z"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    flex: 1;
    z-index: 1;
    padding: 60px 0;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    font-family: var(--font-secondary);
}

.hero-main {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    font-family: var(--font-secondary);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hero-image {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    z-index: 1;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-white);
    padding: 20px 30px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.hero-badge i {
    font-size: 2rem;
    color: var(--secondary-color);
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 80px 0;
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    background: var(--bg-white);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    color: var(--bg-white);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-family: var(--font-secondary);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   Section Header
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: var(--font-secondary);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-bg-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-mission {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: var(--font-secondary);
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-secondary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--text-dark);
}

.value-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ========================================
   Products Section
   ======================================== */
.products {
    padding: 100px 0;
    background: var(--bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.product-image {
    position: relative;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
}

.product-image i {
    font-size: 5rem;
    opacity: 0.9;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-content {
    padding: 25px;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-family: var(--font-secondary);
}

.product-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.product-features i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.service-card-highlight {
    border: 2px solid var(--primary-color);
}

.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 700;
    color: var(--bg-light);
    font-family: var(--font-secondary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 2rem;
    margin-bottom: 25px;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: var(--font-secondary);
}

.service-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.service-list i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.service-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ========================================
   Case Studies Section
   ======================================== */
.cases {
    padding: 100px 0;
    background: var(--bg-white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.case-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.case-image {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
}

.case-image i {
    font-size: 5rem;
}

.case-content {
    padding: 30px;
}

.case-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.case-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: var(--font-secondary);
}

.case-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
}

.case-result {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.case-result-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.case-result-item i {
    color: var(--secondary-color);
}

/* ========================================
   Company Info Section
   ======================================== */
.company-info {
    padding: 100px 0;
    background: var(--bg-light);
}

.company-table {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.company-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid var(--border-color);
}

.company-row:last-child {
    border-bottom: none;
}

.company-label {
    background: var(--bg-light);
    padding: 25px 30px;
    font-weight: 600;
    color: var(--text-dark);
    border-right: 1px solid var(--border-color);
}

.company-value {
    padding: 25px 30px;
    color: var(--text-dark);
}

.company-value ul {
    list-style: none;
    padding: 0;
}

.company-value ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.company-value ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: 100px 0;
    background: var(--bg-white);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.contact-info-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

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

.contact-info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 2rem;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-family: var(--font-secondary);
}

.contact-info-card p {
    color: var(--text-light);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.required {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-left: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 95, 63, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   Footer Styles
   ======================================== */
.footer {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: var(--font-secondary);
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: var(--font-secondary);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--primary-light);
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ========================================
   Scroll to Top Button
   ======================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ========================================
   Notification
   ======================================== */
.notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: var(--bg-white);
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateX(400px);
    transition: all 0.4s ease;
}

.notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid #27ae60;
}

.notification.error {
    border-left: 4px solid #e74c3c;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero-main {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        box-shadow: var(--shadow-md);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero {
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero-main {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .products-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .company-row {
        grid-template-columns: 1fr;
    }
    
    .company-label {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .btn-contact span {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-main {
        font-size: 1.7rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .btn-contact {
        padding: 8px 15px;
    }
    
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}