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

:root {
    --color-background: #f8fdf9;
    --color-foreground: #1a3d2d;
    --color-primary: #4a9d6f;
    --color-primary-foreground: #ffffff;
    --color-secondary: #e8f5ed;
    --color-accent: #6bb88f;
    --color-muted-foreground: #5a7a6a;
    --color-border: rgba(74, 157, 111, 0.2);
    --color-card: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-foreground);
    background-color: var(--color-background);
}

h1, h2, h3 {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}
a:hover {
    text-decoration: underline;
  }

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

.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Icons */
.icon {
    width: 1.5rem;
    height: 1.5rem;
    color: currentColor;
}

.icon-small {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-primary);
}

.icon-xsmall {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.icon-xxsmall {
    width: 1rem;
    height: 1rem;
    color: currentColor;
}

.icon-palette {
    width: 1.75rem;
    height: 1.75rem;
    color: white;
}

.icon-menu,
.icon-close {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-foreground);
}

.icon-close {
    display: none;
}

.mobile-menu-btn.active .icon-menu {
    display: none;
}

.mobile-menu-btn.active .icon-close {
    display: block;
}

.icon-chevron {
    width: 1.25rem;
    height: 1.25rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-accent));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon .icon {
    color: white;
}

.company-name {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-foreground);
}

.company-tagline {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
}

.nav-desktop {
    display: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--color-foreground);
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.nav-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s;
}

.nav-link:hover .nav-underline {
    width: 100%;
}

.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
}

.mobile-menu-btn:hover {
    background-color: var(--color-secondary);
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--color-border);
    background-color: white;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
}

.mobile-menu-link:hover {
    background-color: var(--color-secondary);
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(0deg,rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.85) 100%), url('img/main.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--color-primary), var(--color-accent), var(--color-primary));
    opacity: 0.1;
    z-index: 10;
}


.hero-bg-radial-1 {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(74, 157, 111, 0.1), transparent 50%);
    z-index: 20;
}

.hero-bg-radial-2 {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 70%, rgba(107, 184, 143, 0.15), transparent 50%);
    z-index: 30;
}

.hero-content {
    position: relative;
    z-index: 50;
    text-align: center;
    padding: 0 1rem;
    max-width: 80rem;
    margin: 0 auto;
    padding-top: 5rem;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.5rem;
    background-color: rgba(74, 157, 111, 0.1);
    border-radius: 9999px;
    border: 1px solid rgba(74, 157, 111, 0.2);
    color: var(--color-primary);
}

.hero-title {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    color: var(--color-foreground);
    line-height: 1.2;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
}

.hero-title-accent {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-muted-foreground);
    max-width: 48rem;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.br-desktop {
    display: none;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
    padding: 1rem 2rem;
    border-radius: 9999px;
    transition: all 0.3s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.hero-btn:hover {
    background-color: var(--color-accent);
    transform: scale(1.05);
}

.hero-bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8rem;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

@media (max-width: 540px) {
    .hero-title-accent {
        display: block;
    }
}
@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .br-desktop {
        display: inline;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.6rem;
    }
}

/* Section */
.section {
    padding: 3rem 1rem;
}

.section-white {
    background-color: var(--color-card);
}

.section-gradient {
    background: linear-gradient(to bottom, rgba(232, 245, 237, 0.2), white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.section-label i {
    font-size: 1.25rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-description {
    color: var(--color-muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
    font-size: 1.125rem;
}

@media (min-width: 640px) {
    .section {
        padding: 5rem 1rem;
    }
    .section-title {
        font-size: 3rem;
    }
}

/* Service Section */
.service-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.service-image-wrapper {
    position: relative;
    height: 25rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.service-card {
    background: linear-gradient(to bottom right, rgba(74, 157, 111, 0.05), rgba(107, 184, 143, 0.05));
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(74, 157, 111, 0.1);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--color-primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.service-card-description {
    color: var(--color-muted-foreground);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.service-bullet {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background-color: rgba(74, 157, 111, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.service-bullet-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--color-primary);
}

@media (min-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Products Section */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-card {
    background-color: var(--color-card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-layout {
    display: grid;
}

.product-image-col {
    height: 16rem;
    position: relative;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-image-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2));
}

.product-image-gradient-left {
    background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.2));
}

.product-content-col {
    padding: 2rem;
}

.product-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.product-badge-primary {
    background-color: rgba(74, 157, 111, 0.1);
    color: var(--color-primary);
}

.product-badge-accent {
    background-color: rgba(107, 184, 143, 0.2);
    color: var(--color-accent);
}

.product-title {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--color-muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.product-detail {
    background-color: rgba(232, 245, 237, 0.5);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid rgba(74, 157, 111, 0.1);
}

.product-detail-accent {
    border-color: rgba(107, 184, 143, 0.1);
}

.product-detail-title {
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.product-detail-title-accent {
    color: var(--color-accent);
}

.product-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--color-primary);
}

.product-dot-accent {
    background-color: var(--color-accent);
}

.product-name {
    font-weight: 500;
}

.product-note {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    margin-left: 0.5rem;
}

.product-card-simple {
    background: linear-gradient(to bottom right, rgba(74, 157, 111, 0.05), rgba(107, 184, 143, 0.05));
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(74, 157, 111, 0.1);
}

.product-simple-content {
    max-width: 48rem;
}

.product-simple-title {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

.product-simple-description {
    color: var(--color-muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.product-simple-grid {
    display: grid;
    gap: 1rem;
}

.product-simple-item {
    background-color: var(--color-card);
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--color-border);
}

.product-simple-label {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    margin-bottom: 0.25rem;
}

.product-simple-value {
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .product-simple-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-layout {
        grid-template-columns: 2fr 3fr;
    }
    
    .product-image-col {
        height: auto;
    }
    
    .product-content-col {
        padding: 2.5rem;
    }
    
    .product-image-order {
        order: -1;
    }
    
    .product-card-simple {
        padding: 2.5rem;
    }
}

/* Company Section */
.company-wrapper {
    max-width: 64rem;
    margin: 0 auto;
}

.company-card {
    background: linear-gradient(to bottom right, rgba(232, 245, 237, 0.3), white);
    border-radius: 1rem;
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.company-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.company-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

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

.company-label {
    color: var(--color-muted-foreground);
    min-width: 7.5rem;
}

.company-value-flex {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.company-name-large {
    font-weight: 500;
    font-size: 1.125rem;
}

.company-link {
    font-weight: 500;
    transition: color 0.3s;
}

.company-link:hover {
    color: var(--color-primary);
}

@media (min-width: 768px) {
    .company-content {
        padding: 3rem;
    }
    
    .company-row {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .company-value {
        flex: 1;
    }
}

/* Footer */
.footer {
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-accent));
    color: white;
    padding: 3rem 1rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-company-name {
    font-weight: 700;
    font-size: 1.125rem;
}

.footer-tagline {
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-description {
    opacity: 0.8;
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-title {
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

.footer-link {
    transition: opacity 0.3s;
}

.footer-link:hover {
    opacity: 1;
}

.footer-copyright {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.7;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}
