:root {
    --color-bg: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg-light: #f9f9f9;
    --color-accent-start: #008d92;
    --color-accent-end: #005a8e;
    --font-heading: 'Noto Sans JP', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --max-width: 1040px;
    --spacing-section: 120px;
    --spacing-section-mobile: 80px;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

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

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

a:hover {
    opacity: 0.7;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

/* Layout Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.bg-light {
    background-color: var(--color-bg-light);
}

/* Header & Main View */
.main-view {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.logo-container {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.logo-wrapper {
    width: 300px;
    max-width: 80vw;
}

.logo-anim {
    width: 100%;
    height: auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards;
}

.scroll-indicator span {
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background-color: #ddd;
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-text);
    transform: translateY(-100%);
    animation: scrollLine 2.5s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

/* Company Info */
.section-title {
    font-size: 2.5rem;
    /* Larger typography */
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent-start), var(--color-accent-end));
    margin-top: 20px;
}

.info-list {
    display: grid;
    gap: 2rem;
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.info-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
}

.info-item dt {
    font-weight: 700;
    color: var(--color-text);
}

.info-item dd {
    font-size: 1rem;
    color: var(--color-text-light);
}

/* Directors */
.directors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.director-card {
    background: #fff;
    padding: 0;
}

.director-image {
    margin-bottom: 24px;
    background-color: #eee;
    height: 300px;
    /* Preset height for placeholder */
    position: relative;
    overflow: hidden;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    position: relative;
}

.director-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.director-name .position {
    display: block;
    font-size: 0.875rem;
    color: var(--color-accent-start);
    font-weight: 500;
    margin-top: 4px;
}

.director-bio {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* Footer & CTA */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid #eee;
}

.contact-cta {
    text-align: center;
    margin-bottom: 60px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 60px;
    background: linear-gradient(90deg, var(--color-accent-start), var(--color-accent-end));
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 90, 142, 0.2);
    opacity: 1;
}

.copyright {
    text-align: center;
    font-size: 0.875rem;
    color: #999;
}

/* Form Styles */
.form-container {
    max-width: 640px;
    margin: 0 auto;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.form-badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

.badge-required {
    background-color: #ffecec;
    color: #d32f2f;
}

.badge-optional {
    background-color: #f0f0f0;
    color: #666;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fdfdfd;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent-start);
    box-shadow: 0 0 0 3px rgba(0, 141, 146, 0.1);
}

.form-textarea {
    height: 180px;
    resize: vertical;
}

.form-actions {
    margin-top: 40px;
    text-align: center;
}

.btn-submit {
    border: none;
    cursor: pointer;
    background: linear-gradient(90deg, var(--color-accent-start), var(--color-accent-end));
    color: #fff;
    padding: 16px 80px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    transition: opacity 0.3s;
}

.btn-submit:hover {
    opacity: 0.9;
}

.error-message {
    color: #d32f2f;
    font-size: 0.875rem;
    margin-top: 6px;
    display: none;
}

.form-input.error,
.form-textarea.error {
    border-color: #d32f2f;
    background-color: #fff8f8;
}

.privacy-notice {
    font-size: 0.875rem;
    color: #666;
    margin-top: 24px;
    text-align: center;
}

/* Thanks Page */
.message-box {
    text-align: center;
    padding: 80px 0;
}

.message-title {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--color-accent-start);
}

/* Animations */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }

    50% {
        transform: translateY(100%);
    }

    50.1% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(-100%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --spacing-section: 80px;
    }

    .section-title {
        font-size: 2rem;
    }

    .info-item {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        gap: 8px;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 16px;
    }

    .directors-grid {
        grid-template-columns: 1fr;
        /* Stack directors */
        gap: 60px;
    }

    .btn-contact {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}