:root {
    --primary: #f5821f;
    --primary-hover: #e67616;
    --surface: #f8f9fa;
    --surface-dim: #d9dadb;
    --dark: #1b4332;
    --dark-container: #143225;
    --on-surface: #1b4332;
    --on-surface-variant: #4a6d5f;
    --white: #ffffff;
    --gray: #6c757d;
    --border: rgba(0,0,0,0.1);
    --font-main: 'Archivo Narrow', sans-serif;
    --container-max: 1200px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    color: #020202;
    background-color: var(--white);
    line-height: 1.6;
    font-family: "Noto Sans JP", sans-serif;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

img{
width: 100%;
vertical-align: bottom;
}
.centered { text-align: center; }
.py-lg { padding: 100px 0; }
.bg-light { background-color: var(--surface); }
.bg-dark { background-color: var(--dark); color: var(--white); }

/* Typography */
h1 { font-size: 4rem; font-weight: 700; margin-bottom: 1.5rem; line-height: 1.1; }
h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.label { font-size: 0.75rem; font-weight: 700; color: var(--primary); letter-spacing: 0.1em; display: block; margin-bottom: 1rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}
.btn-primary { background-color: var(--primary); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-hover); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background-color: var(--white); color: var(--dark); }
.btn-dark { background-color: var(--dark-container); color: var(--white); }
.btn-block { width: 100%; text-align: center; }

/* Navigation */
.top-nav {
    height: 80px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo { width: 250px; }
.nav-links a {
    margin-left: 30px;
    text-decoration: none;
color: #020202;
font-weight: 500;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); }

/* Hero */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
}
.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(27,67,50,0.4), rgba(27,67,50,0.7));
    display: flex;
    align-items: center;
    color: var(--white);
}
.hero-content { max-width: 800px; }
.hero-content p { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.9; }
.hero-actions .btn { margin-right: 15px; }

/* Cards & Grid */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Strengths */
.strength-card .icon { font-size: 2rem; margin-bottom: 1.5rem; }
.strength-card .line { width: 40px; height: 2px; background: var(--primary); margin-top: 1.5rem; }

/* Services */
.service-item { display: flex; align-items: center; gap: 60px; margin-bottom: 80px; }
.service-item.reverse { flex-direction: row-reverse; }
.service-img { flex: 1; border-radius: 4px; overflow: hidden; }
.service-img img { width: 100%; height: 400px; object-fit: cover; }
.service-info { flex: 1; }
.service-info .num { font-size: 0.875rem; color: var(--primary); font-weight: 700; margin-bottom: 0.5rem; display: block; }
.service-info ul { list-style: none; margin-top: 1.5rem; }
.service-info ul li::before { content: "•"; color: var(--primary); margin-right: 10px; }
.risk-assessment { background: rgba(255,255,255,0.05); padding: 25px; border-left: 4px solid var(--primary); margin-top: 2rem; }
.risk-assessment h4 { font-size: 0.75rem; color: var(--primary); margin-bottom: 0.5rem; }

/* Why Us */
.comparison-card { border-top: 4px solid var(--gray); }
.comparison-card.highlight { border-top-color: var(--primary); }
.tag { display: inline-block; padding: 4px 12px; font-size: 0.75rem; font-weight: 700; margin-bottom: 1rem; border-radius: 2px; }
.tag.gray { background: #eee; color: #666; }
.tag.orange { background: var(--primary); color: var(--white); }
.alert-box { background: var(--dark); color: var(--white); padding: 30px; margin-top: 40px; border-radius: 4px; text-align: center; }

/* Gallery */
.project-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.gallery-side { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gallery-side img { width: 100%; height: 200px; object-fit: cover; border-radius: 4px; }

/* CTA */
.cta-options { max-width: 800px; margin: 40px auto 0; }
.tel { font-size: 2rem; font-weight: 700; color: var(--primary); text-decoration: none; display: block; margin: 1rem 0; }

/* Form */
.form-card { max-width: 800px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
}

/* Footer */
.footer { padding: 80px 0 40px; font-size: 0.875rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px; margin-bottom: 60px; }
.footer-brand .logo { color: var(--white); margin-bottom: 1.5rem; }
.footer h4 { color: var(--white); margin-bottom: 1.5rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: rgba(255,255,255,0.7); text-decoration: none; }
.certifications { margin-top: 20px; }
.cert { border: 1px solid rgba(255,255,255,0.3); padding: 4px 8px; font-size: 0.7rem; margin-right: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; color: rgba(255,255,255,0.5); }

@media (max-width: 768px) {
    .grid-3, .grid-2, .form-row, .footer-grid, .project-gallery { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .service-item, .service-item.reverse { flex-direction: column; }
    h1 { font-size: 2.5rem; }
}