@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500&display=swap');

:root {
    --text-color: #333333;
    --bg-color: #FFFFFF;
    --accent-color: #999999;
    --spacing-unit: 80px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 2.2;
    letter-spacing: 0.08em;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.6;
}

/* Layout */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

header {
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 100;
}

header .logo {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.15em;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px;
}

nav ul li a {
    font-size: 0.9rem;
}

/* Sections */
main {
    padding-top: 120px;
    /* Header height */
}

.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero h1 {
    font-size: 3rem;
    /* Large but thin */
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1rem;
    color: var(--accent-color);
    margin-top: 0;
}

.content-section {
    padding: var(--spacing-unit) 0;
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 60px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    display: inline-block;
}

/* Table Style for Company */
.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 24px 0;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-weight: 400;
}

.company-table th {
    width: 30%;
    color: var(--accent-color);
    font-weight: 300;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    header {
        padding: 20px 0;
    }

    .container {
        padding: 0 20px;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 12px 0;
        border: none;
    }

    .company-table th {
        padding-top: 24px;
        font-size: 0.85rem;
    }
}

/* Contact Form */
.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    font-family: inherit;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 0;
    /* Minimalist sharp corners */
    background: #f9f9f9;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

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

.submit-btn {
    display: inline-block;
    padding: 14px 40px;
    background-color: #333;
    color: #fff;
    border: none;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #000;
}

/* Messages */
.message-success {
    padding: 15px;
    background-color: #f0f9f0;
    border: 1px solid #d0e9d0;
    color: #2e7d32;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.message-error {
    padding: 15px;
    background-color: #fdf0f0;
    border: 1px solid #e9d0d0;
    color: #c62828;
    margin-bottom: 30px;
    font-size: 0.95rem;
}