:root {
    --primary-color: #222222;
    --bg-color: #ffffff;
    --text-color: #333333;
    --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 32px;
    transition: background-color 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1920px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}

html[data-darkreader-scheme="dark"] .logo img {
    filter: brightness(0) invert(1);
}

.logo img {
    height: 24px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    max-width: 0;
    opacity: 0;
    margin-left: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.4s ease, opacity 0.3s ease, margin-left 0.4s ease;
}

.logo:hover .logo-text {
    max-width: 200px;
    opacity: 1;
    margin-left: 10px;
}

.nav-desktop {
    display: flex;
    gap: 30px;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.nav-link {
    text-decoration: none;
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    position: relative;
    cursor: pointer;
}

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

.lang-toggle {
    border: 2px solid #000000;
    padding: 4px 12px;
    border-radius: 8px;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.lang-toggle:hover {
    border-color: var(--primary-color);
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

.nav-mobile-toggle {
    display: none;
    cursor: pointer;
    font-weight: bold;
    color: #000000;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    .nav-mobile-toggle {
        display: block;
    }
    .header {
        padding: 20px;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    isolation: isolate;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 100px 40px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}


.hero-content {
    width: 100%;
    max-width: 1440px;
    position: relative;
    z-index: 2;
    color: white;
}

.hero-content .subtitle,
.hero-content .title {
    max-width: 800px;
}

.subtitle {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
    color: #eee;
}

.title {
    font-size: 48px;
    line-height: 1.1;
    font-weight: 300;
}

@media (max-width: 768px) {
    .title {
        font-size: 32px;
    }
    .hero-section {
        padding: 80px 20px;
    }
}

/* Intro Section */
.intro-section {
    padding: 160px 16px 120px;
    max-width: 1920px;
    margin: 0 auto;
}

.intro-container {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.intro-container h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.intro-container p {
    font-size: 20px;
    line-height: 1.8;
    color: #555;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 16px;
    max-width: 1920px;
    margin: 0 auto;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.gallery-block {
    position: relative;
    width: 100%;
    height: 85vh;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ddd;
}

.gallery-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.placeholder-1 { background-image: url('images/welfare.jpg'); }
.placeholder-2 { background-image: url('images/health.jpg'); }
.placeholder-3 { background-image: url('images/foods-bg.jpg'); }
.placeholder-4 { background-image: url('images/fudousan.jpg'); }

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: white;
}

.gallery-overlay h3 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 400;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: white;
    color: black;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
    align-self: flex-start;
}

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

@media (max-width: 768px) {
    .intro-section {
        padding: 100px 16px 80px;
    }
    .intro-container h2 {
        font-size: 32px;
    }
    .gallery-section {
        padding: 40px 20px;
    }
    .gallery-block {
        height: 60vh;
    }
    .gallery-overlay {
        padding: 20px;
    }
}

/* Info Section */
.info-section {
    padding: 100px 40px;
    max-width: 1920px;
    margin: 0 auto;
}

.info-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.info-container blockquote {
    font-size: 42px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.4;
    color: #000000;
    border: none;
    margin: 0;
    padding: 40px 40px 60px;
    position: relative;
}

.info-container blockquote::before {
    content: '\201C';
    font-size: 120px;
    font-style: normal;
    color: rgba(0, 0, 0, 0.1);
    position: absolute;
    top: -40px;
    left: -20px;
    line-height: 1;
    font-family: Georgia, serif;
}

.info-container blockquote::after {
    content: '\201D';
    font-size: 120px;
    font-style: normal;
    color: rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: -60px;
    right: -20px;
    line-height: 1;
    font-family: Georgia, serif;
}

@media (max-width: 768px) {
    .info-container blockquote {
        font-size: 24px;
        padding: 30px 20px 50px;
    }
    .info-container blockquote::before,
    .info-container blockquote::after {
        font-size: 80px;
    }
    .info-section {
        padding: 60px 20px;
    }
}

/* Vision Page */
.vision-page {
    padding: 160px 40px 80px;
    max-width: 1920px;
    margin: 0 auto;
}

.vision-container {
    max-width: 800px;
    margin: 0 auto;
}

.vision-container h1 {
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: 300;
}

.vision-text {
    font-size: 20px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.btn-back {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .vision-page {
        padding: 120px 20px 60px;
    }
}

/* Contact Page */
.contact-page {
    padding: 160px 40px 80px;
    max-width: 1920px;
    margin: 0 auto;
}

.contact-page-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-page-container h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.contact-page-intro {
    font-size: 20px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 48px;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    margin-bottom: 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form-group label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.contact-form-group input,
.contact-form-group textarea {
    padding: 12px 16px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 18px;
    font-family: var(--font-family);
    color: #333;
    background-color: #fff;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    border-color: #999;
}

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

.contact-form-submit {
    padding: 14px 40px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-family: var(--font-family);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.contact-form-submit:hover {
    background-color: #444;
}

.contact-info {
    padding: 32px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.contact-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.contact-info address {
    font-style: normal;
    line-height: 2;
    color: #555;
    font-size: 16px;
    margin-bottom: 16px;
}

.contact-info-email {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

.contact-info-email:hover {
    text-decoration: underline;
}

.contact-map {
    margin-bottom: 48px;
    border-radius: 8px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    display: block;
}

@media (max-width: 768px) {
    .contact-page {
        padding: 120px 20px 60px;
    }
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-form-row {
        grid-template-columns: 1fr;
    }
}

.landing-page {
    padding: 0;
    max-width: 1920px;
    margin: 0 auto;
}

.landing-hero {
    position: relative;
    isolation: isolate;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 80px 60px;
}

.landing-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.landing-hero h1 {
    font-size: 56px;
    font-weight: 300;
    color: white;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.landing-hero .subtitle {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: #eee;
    position: relative;
    z-index: 2;
}

.landing-content {
    padding: 80px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.landing-content .intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 60px;
}

.landing-content-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 60px;
    object-fit: cover;
}

.landing-section {
    margin-bottom: 50px;
}

.landing-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #000;
}

.landing-section p {
    font-size: 20px;
    line-height: 1.8;
    color: #555;
}

.landing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.landing-tag {
    display: inline-block;
    padding: 8px 20px;
    background-color: #f0f0f0;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.company-table th,
.company-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 17px;
}

.company-table th {
    width: 180px;
    font-weight: 700;
    color: #000;
}

.company-table td {
    color: #555;
}

.btn-back {
    display: inline-block;
    margin-top: 40px;
    padding: 14px 32px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

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

.btn-visit {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 18px;
    transition: background-color 0.3s ease;
    margin-top: 16px;
}

.btn-visit:hover {
    background-color: #444;
}

@media (max-width: 768px) {
    .landing-hero {
        height: 60vh;
        min-height: 350px;
        padding: 40px 20px;
    }
    .landing-hero h1 {
        font-size: 36px;
    }
    .landing-content {
        padding: 40px 20px;
    }
    .company-table th {
        width: 120px;
    }
    .company-table th,
    .company-table td {
        padding: 10px 8px;
        font-size: 14px;
    }
}

/* Footer */
.footer {
    padding: 60px 16px;
    background-color: #f9f9f9;
    margin-top: 80px;
}

.footer-container {
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 60px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-right: auto;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

html[data-darkreader-scheme="dark"] .footer-logo img {
    filter: brightness(0) invert(1);
}

.footer-logo img {
    height: 32px;
    flex-shrink: 0;
}

.footer-logo-text {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    white-space: nowrap;
}

.footer-info address {
    font-style: normal;
    line-height: 1.8;
    color: #666;
    margin-bottom: 8px;
}

.footer-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.footer-nav {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.footer-nav-column h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-column ul li {
    margin-bottom: 8px;
}

.footer-nav-column ul li a {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-nav-column ul li a:hover {
    color: #000;
}

.footer-bottom {
    max-width: 1920px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 16px;
    color: #999;
}

.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-form input,
.footer-contact-form textarea {
    width: 220px;
    padding: 8px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 16px;
    font-family: var(--font-family);
    color: #333;
    background-color: #fff;
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.footer-contact-form input:focus,
.footer-contact-form textarea:focus {
    border-color: #999;
}

.footer-contact-form textarea {
    resize: vertical;
    min-height: 60px;
}

.footer-contact-form input::placeholder,
.footer-contact-form textarea::placeholder {
    color: #aaa;
}

.footer-contact-submit {
    padding: 10px 28px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-family: var(--font-family);
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.footer-contact-submit:hover {
    background-color: #444;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    .footer-nav {
        gap: 30px;
        flex-wrap: wrap;
    }
    .footer-contact-form input,
    .footer-contact-form textarea {
        width: 100%;
    }
}
