@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;
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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 */
/* Sections */
main {
    padding-top: 0;
}

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 0;
}

.hero.full-screen {
    height: 100vh;
}

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

.hero-text {
    position: relative;
    z-index: 1;
    text-align: left;
    background: rgba(255, 255, 255, 0.9);
    padding: 60px 80px;
    /* sharp minimalist corners */
    margin-right: -30%;
    /* Offset design choice */
    margin-top: 20%;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.6;
    margin: 0 0 20px 0;
    letter-spacing: 0.12em;
}

.hero p {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 400;
    opacity: 0.8;
    letter-spacing: 0.05em;
}

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

.company-image {
    width: 100%;
    margin-bottom: 80px;
}

.company-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: cover;
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 60px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    padding-right: 40px;
    padding-left: 10px;
    padding-top: 30px;
    /* Increased padding to prevent top-side clipping */
    line-height: 1.8;
    /* Increased line-height as requested */
    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;
    }

    .hero-text {
        margin-right: 0;
        margin-top: 0;
        width: 80%;
        padding: 40px;
    }

    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;
}