/* =============================================
   MORIKURO Inc. - Corporate Website Styles
   Color Scheme: White, Green, Black
   Design: Minimal & Modern
   ============================================= */

/* =============================================
   CSS Variables
   ============================================= */
:root {
    /* Colors */
    --color-primary: #2F581C;      /* Green - Logo Color */
    --color-primary-dark: #234312;
    --color-primary-light: #3F7528;
    --color-black: #1A1A1A;
    --color-gray-dark: #333333;
    --color-gray: #666666;
    --color-gray-light: #999999;
    --color-white: #FFFFFF;
    --color-bg: #FAFAFA;
    --color-border: #E5E5E5;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Noto Sans JP', sans-serif;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    --spacing-xxl: 80px;
    --spacing-huge: 120px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

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

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

body {
    font-family: var(--font-secondary);
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-gray-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

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

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

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

ul {
    list-style: none;
}

/* =============================================
   Container
   ============================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* =============================================
   Section
   ============================================= */
.section {
    padding: var(--spacing-huge) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.section-label {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================
   Header
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo-image {
    height: 32px;
    width: auto;
    transition: transform var(--transition-base);
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--color-gray-dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-black);
    transition: all var(--transition-base);
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.6) 50%, rgba(47, 88, 28, 0.15) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

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

.hero-title {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    animation: fadeInUp 1s ease both;
}

.hero-title-main {
    font-family: var(--font-secondary);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title-sub {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    margin-top: var(--spacing-lg);
    opacity: 0.9;
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.1;
    z-index: 2;
}

.hero-decoration-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
}

.hero-decoration-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
}

/* =============================================
   About Section
   ============================================= */
.about {
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    opacity: 0.05;
    border-radius: 50%;
    transform: translateY(-50%);
}

.about-content {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: var(--spacing-huge);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    overflow: visible;
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-slow);
    border: 6px solid var(--color-white);
}

.about-image-wrapper:hover .about-image {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.about-image-decoration {
    position: absolute;
    top: -25px;
    left: -25px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    opacity: 0.2;
    border-radius: 20px;
    z-index: -1;
    transform: rotate(-5deg);
}

.about-text {
    position: relative;
}

.about-subtitle {
    font-family: var(--font-primary);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: var(--spacing-lg);
    line-height: 1.4;
    position: relative;
    display: inline-block;
}

.about-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, transparent 100%);
    border-radius: 2px;
}

.about-description {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
}

.about-features {
    margin-top: var(--spacing-lg);
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.about-features li:hover {
    background-color: var(--color-bg);
    transform: translateX(8px);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.3);
}

/* =============================================
   Services Section
   ============================================= */
.services {
    background-color: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.service-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.service-image-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-content {
    padding: var(--spacing-lg);
}

.service-number {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.service-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: var(--spacing-sm);
}

.service-description {
    font-size: 0.938rem;
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
}

.service-list {
    font-size: 0.938rem;
    color: var(--color-gray-dark);
}

.service-list li {
    position: relative;
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

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

/* =============================================
   Strengths Section
   ============================================= */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.strength-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.strength-image-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.strength-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.strength-card:hover .strength-image {
    transform: scale(1.1);
}

.strength-content {
    padding: var(--spacing-lg);
}

.strength-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    opacity: 0.3;
    margin-bottom: var(--spacing-sm);
}

.strength-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: var(--spacing-sm);
}

.strength-description {
    font-size: 0.938rem;
    color: var(--color-gray);
    line-height: 1.8;
}

/* =============================================
   Company Section
   ============================================= */
.company {
    background-color: var(--color-bg);
}

.company-content {
    max-width: 900px;
    margin: 0 auto;
}

.company-table {
    width: 100%;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.company-table tr {
    border-bottom: 1px solid var(--color-border);
}

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

.company-table th {
    font-family: var(--font-primary);
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--color-gray-dark);
    text-align: left;
    padding: var(--spacing-lg);
    width: 200px;
    background-color: var(--color-bg);
}

.company-table td {
    font-size: 0.938rem;
    color: var(--color-gray-dark);
    padding: var(--spacing-lg);
    line-height: 1.8;
}

.company-table td a {
    color: var(--color-primary);
    font-weight: 500;
}

/* =============================================
   Contact Section
   ============================================= */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xxl);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-dark);
    margin-bottom: var(--spacing-xs);
}

.required {
    color: var(--color-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--color-gray-dark);
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    margin-top: var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    cursor: pointer;
}

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

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-info-item h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--spacing-sm);
}

.contact-info-item p {
    font-size: 0.938rem;
    color: var(--color-gray);
    line-height: 1.8;
}

.contact-info-item a {
    color: var(--color-primary);
    font-weight: 500;
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background-color: var(--color-black);
    padding: var(--spacing-lg) 0;
}

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

.copyright {
    font-size: 0.875rem;
    color: var(--color-gray-light);
}

/* =============================================
   Animations
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* =============================================
   Responsive Design
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title-main {
        font-size: 2.75rem;
    }
    
    .hero-title-sub {
        font-size: 1.75rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xxl);
    }
    
    .about-image {
        height: 450px;
    }
    
    .about-image-decoration {
        width: 150px;
        height: 150px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .strengths-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --spacing-huge: 60px;
        --spacing-xxl: 40px;
        --spacing-xl: 32px;
    }
    
    .header-content {
        padding: var(--spacing-sm) 0;
    }
    
    .logo-image {
        height: 28px;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        box-shadow: var(--shadow-md);
        padding: var(--spacing-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-title-main {
        font-size: 2rem;
    }
    
    .hero-title-sub {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .about-image {
        height: 300px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .company-table th {
        width: 120px;
        font-size: 0.813rem;
    }
    
    .company-table td {
        font-size: 0.813rem;
    }
}

@media (max-width: 480px) {
    .section-label {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-title {
        gap: var(--spacing-md);
    }
    
    .hero-title-main {
        font-size: 1.875rem;
        letter-spacing: 0.05em;
    }
    
    .company-table th,
    .company-table td {
        padding: var(--spacing-sm);
    }
    
    .company-table th {
        width: 100px;
    }
}