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

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1A2B4A;
    background-color: #FFFFFF;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #0F1729;
}

h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 48px;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: #0F1729;
}

h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.005em;
    color: #0F1729;
}

p {
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.7;
    color: #475569;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    height: 80px;
    border-bottom: 1px solid #E2E8F0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo h1 {
    font-size: 20px;
    color: #0F1729;
    width: 200px;
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #475569;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
    cursor: pointer;
}

nav a:hover {
    color: #2563EB;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #2563EB;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 24px;
    height: 24px;
    justify-content: center;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: #0F1729;
    margin: 2px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    height: 600px;
    background-color: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/sample01.jpg') center/cover no-repeat;
    opacity: 0.25;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    text-align: left;
    margin-left: 80px;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 24px;
    font-weight: 700;
    color: #0F1729;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.hero-content p {
    font-size: 20px;
    max-width: 600px;
    margin: 0;
    color: #1E293B;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: #F6F8FB;
}

/* Welcome Section */
.welcome {
    text-align: left;
}

.welcome h2 {
    border-left: 4px solid #2563EB;
    padding-left: 20px;
}

.welcome-list {
    max-width: 800px;
    border-left: 1px solid #CBD5E1;
    padding-left: 40px;
    margin-top: 40px;
}

.welcome-item {
    margin-bottom: 40px;
    position: relative;
}

.welcome-item-number {
    font-size: 18px;
    font-weight: 700;
    color: #94A3B8;
    margin-bottom: 8px;
}

.welcome-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.welcome-item p {
    font-size: 16px;
    margin-bottom: 0;
}

/* History Preview */
.history-preview {
    text-align: left;
}

.history-preview h2 {
    border-left: 4px solid #2563EB;
    padding-left: 20px;
}

.timeline-preview {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid #E2E8F0;
    flex-wrap: wrap;
}

.timeline-item {
    flex: 1;
    min-width: 200px;
    padding: 20px 0;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background-color: #CBD5E1;
}

.timeline-item .year {
    font-size: 18px;
    font-weight: 700;
    color: #0F1729;
    margin-bottom: 12px;
}

.timeline-item .content {
    font-size: 14px;
    color: #64748B;
}

/* Business Overview */
.business-overview {
    text-align: left;
}

.business-overview h2 {
    border-left: 4px solid #2563EB;
    padding-left: 20px;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    margin-bottom: 40px;
}

.business-item {
    padding: 32px 24px;
    border-bottom: 1px solid #E2E8F0;
}

.business-item h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.business-item-label {
    font-size: 12px;
    color: #94A3B8;
    margin-bottom: 4px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.business-item-specs {
    margin-top: 16px;
}

.business-spec {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px;
}

.business-spec-label {
    min-width: 100px;
    color: #64748B;
}

.business-spec-value {
    color: #1E293B;
}

/* Equipment Highlight */
.equipment-highlight {
    text-align: left;
    background-color: #FFFFFF;
    color: white;
    position: relative;
}

.equipment-highlight h2 {
    border-left: 4px solid #2563EB;
    padding-left: 20px;
}

.equipment-highlight p {
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 800px;
    color: #475569;
}

.equipment-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.equipment-gallery .equipment-item {
    background-color: #F8FAFC;
    padding: 0;
    text-align: left;
    overflow: hidden;
    border: 1px solid #E2E8F0;
}

.equipment-gallery .equipment-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    filter: grayscale(0%);
}

.equipment-item-caption {
    padding: 20px;
}

.equipment-gallery .equipment-item h3 {
    color: #0F1729;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.equipment-gallery .equipment-item p {
    color: #64748B;
    font-size: 14px;
    margin-bottom: 0;
}

.equipment-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid #E2E8F0;
    padding-top: 20px;
}

.stat {
    text-align: left;
    padding: 20px;
    border-right: 1px solid #E2E8F0;
}

.stat:last-child {
    border-right: none;
}

.stat .number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0F1729;
}

.stat .label {
    font-size: 14px;
    color: #64748B;
}

/* Read More Links */
.read-more {
    display: inline-block;
    color: #2563EB;
    text-decoration: none;
    font-weight: 600;
    padding: 0;
    background: none;
    border: none;
    border-bottom: 1px solid #2563EB;
    transition: all 0.3s ease;
    cursor: pointer;
}

.read-more::after {
    content: ' →';
    font-size: 14px;
}

.read-more:hover {
    color: #1E40AF;
    border-bottom-color: #1E40AF;
}

/* Footer */
footer {
    background-color: #F8FAFC;
    padding: 40px 0;
    border-top: 1px solid #E2E8F0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.company-info p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #64748B;
}

.contact a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.3s ease;
    cursor: pointer;
}

.contact a:hover {
    border-bottom-color: #2563EB;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    background-color: transparent;
}

table th {
    background-color: #F8FAFC;
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #E2E8F0;
    font-weight: 600;
    color: #0F1729;
}

table td {
    padding: 16px;
    border-bottom: 1px solid #E2E8F0;
    color: #475569;
}

table tr:last-child td {
    border-bottom: none;
}

/* Timeline Styles for Company Page */
.timeline {
    max-width: 100%;
    margin: 0;
    position: relative;
}

.timeline-event {
    margin-bottom: 0;
    position: relative;
    padding: 24px 0;
    border-bottom: 1px solid #E2E8F0;
}

.timeline-event:last-child {
    border-bottom: none;
}

.timeline-content {
    display: flex;
    gap: 40px;
    align-items: baseline;
}

.timeline-date {
    font-weight: 700;
    color: #0F1729;
    font-size: 16px;
    min-width: 120px;
}

.timeline-description {
    flex: 1;
}

.timeline-description h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.timeline-description p {
    font-size: 14px;
    margin-bottom: 0;
    color: #64748B;
}

/* Page Specific Styles */
.page-header {
    background-color: #F8FAFC;
    padding: 60px 0;
    text-align: left;
    margin-bottom: 0;
    border-bottom: 1px solid #E2E8F0;
}

.page-header h1 {
    margin-bottom: 12px;
    border-left: 4px solid #2563EB;
    padding-left: 20px;
}

.page-header p {
    color: #64748B;
    margin-bottom: 0;
    padding-left: 24px;
}

.section-content {
    padding: 60px 0;
}

/* Equipment Grid */
.equipment-section {
    margin-bottom: 0;
}

.equipment-table-wrapper {
    overflow-x: auto;
    margin-bottom: 40px;
}

/* Business Services */
.business-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    margin-top: 40px;
}

.service-item {
    padding: 32px;
    border-bottom: 1px solid #E2E8F0;
}

.service-item h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.service-item p {
    margin-bottom: 0;
    color: #64748B;
}

/* Equipment Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    text-align: left;
    padding: 0;
    background-color: #F8FAFC;
    overflow: hidden;
    border: 1px solid #E2E8F0;
}

.feature-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    filter: grayscale(0%);
}

.feature-item-content {
    padding: 24px;
}

.feature-item-number {
    font-size: 32px;
    font-weight: 700;
    color: #94A3B8;
    margin-bottom: 12px;
    line-height: 1;
}

.feature-item h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.feature-item p {
    margin-bottom: 0;
    color: #64748B;
    font-size: 14px;
}

/* Access Page Styles */
.access-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-details table {
    margin-bottom: 0;
}

.map-section {
    display: flex;
    flex-direction: column;
}

.map-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.map-container {
    flex: 1;
    min-height: 400px;
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    display: block;
    filter: grayscale(0%);
}

.map-link {
    display: inline-block;
    color: #2563EB;
    text-decoration: none;
    margin-top: 12px;
    font-size: 14px;
    border-bottom: 1px solid #2563EB;
    transition: border-bottom-color 0.3s ease;
    cursor: pointer;
}

.map-link::after {
    content: ' →';
    font-size: 12px;
}

.map-link:hover {
    border-bottom-color: #1E40AF;
    color: #1E40AF;
}

.contact-section {
    max-width: 100%;
    margin: 0;
    text-align: left;
}

.contact-section h2 {
    border-left: 4px solid #2563EB;
    padding-left: 20px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    margin-top: 40px;
}

.contact-method {
    padding: 32px;
    border-bottom: 1px solid #E2E8F0;
    text-align: left;
}

.contact-method h3 {
    margin-bottom: 20px;
    text-align: left;
    font-size: 18px;
}

.contact-method p {
    margin-bottom: 10px;
    color: #64748B;
}

.contact-method a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.3s ease;
    cursor: pointer;
}

.contact-method a:hover {
    border-bottom-color: #2563EB;
}

.note {
    font-size: 12px;
    color: #94A3B8;
    font-style: normal;
}

.contact-hours {
    font-size: 14px;
    color: #94A3B8;
}

.transportation-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
    margin-top: 40px;
}

.transport-section {
    padding: 0;
}

.transport-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.transport-section ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
    border-left: 1px solid #CBD5E1;
    padding-left: 20px;
}

.transport-section li {
    margin-bottom: 12px;
    color: #64748B;
    font-size: 14px;
}

.parking-info {
    background-color: #F0F9FF;
    padding: 16px 20px;
    border-left: 2px solid #059669;
    font-weight: 600;
    margin-bottom: 0;
    color: #0F1729;
    font-size: 14px;
}

/* Company Info Grid */
.philosophy-section {
    max-width: 100%;
    text-align: left;
}

.philosophy-quote {
    max-width: 900px;
    margin-bottom: 60px;
}

.philosophy-keyphrase {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    color: #0F1729;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.philosophy-description {
    font-size: 16px;
    line-height: 1.8;
    color: #64748B;
    margin-bottom: 0;
}

.philosophy-values {
    margin-bottom: 60px;
    border-left: 1px solid #CBD5E1;
    padding-left: 40px;
    max-width: 900px;
}

.philosophy-value {
    margin-bottom: 40px;
}

.philosophy-value:last-child {
    margin-bottom: 0;
}

.philosophy-value-number {
    font-size: 18px;
    font-weight: 700;
    color: #94A3B8;
    margin-bottom: 8px;
}

.philosophy-value h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #0F1729;
    font-weight: 600;
}

.philosophy-value p {
    font-size: 16px;
    margin-bottom: 0;
    color: #64748B;
    line-height: 1.7;
}

.philosophy-image {
    width: 100%;
    margin-top: 0;
}

.philosophy-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    filter: grayscale(0%);
}

/* Scroll Animations */
@keyframes scrollFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid #E2E8F0;
        backdrop-filter: blur(8px);
    }

    nav ul.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        margin-left: 0;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .timeline-preview {
        flex-direction: column;
    }

    .timeline-item:not(:last-child)::after {
        display: none;
    }

    .timeline-content {
        flex-direction: column;
        gap: 12px;
    }

    .timeline-date {
        min-width: auto;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    section {
        padding: 50px 0;
    }

    .business-grid,
    .equipment-gallery,
    .equipment-stats,
    .business-services,
    .feature-grid,
    .contact-methods,
    .transportation-info {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .equipment-stats .stat {
        border-right: none;
        border-bottom: 1px solid #E2E8F0;
    }

    .equipment-stats .stat:last-child {
        border-bottom: none;
    }

    .access-info {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    .logo h1 {
        font-size: 14px;
        width: auto;
    }

    .hero {
        height: 400px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .stat .number {
        font-size: 36px;
    }

    .equipment-gallery .equipment-item img,
    .feature-item img {
        height: 200px;
    }

    .philosophy-image img {
        height: 300px;
    }

    section {
        padding: 40px 0;
    }
}
