:root {
    --primary-color: #3278be;
    --text-color: #333;
    --bg-color: #fff;
    --light-gray: #f9f9f9;
    --border-color: #eee;
    --font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-color);
    font-weight: bold;
    font-size: 0.9rem;
}

nav a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Hero */
.hero {
    background-image: url('white-cloud-blue-sky_original.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 8rem 5%;
    text-align: center;
    position: relative;
}

/* Optional: Add overlay for better text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(50, 120, 190, 0.3);
    z-index: 1;
}

.hero h1,
.hero p {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Sections */
section {
    padding: 5rem 5%;
    max-width: 960px;
    margin: 0 auto;
}

section:nth-child(even) {
    background-color: var(--light-gray);
    width: 100%;
    max-width: 100%;
}

section:nth-child(even) .container {
    max-width: 960px;
    margin: 0 auto;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0.5rem auto 0;
}

/* Company Profile Table */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

th,
td {
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

th {
    background-color: #f4f8fb;
    color: var(--primary-color);
    width: 30%;
    font-weight: bold;
}

/* Business Section */
.business-content {
    text-align: center;
    padding: 2rem 0;
}

.business-lead {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.business-flow-container {
    overflow-x: auto;
    padding-bottom: 1rem;
}

.business-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    width: 900px;
    /* Fixed width to prevent wrapping */
    margin-left: auto;
    margin-right: auto;
}

.flow-item {
    background: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    width: 250px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.flow-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.flow-item p {
    font-size: 0.9rem;
    color: #666;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

.one-stop-support {
    background-color: var(--primary-color);
    color: #fff;
    padding: 1.5rem;
    border-radius: 50px;
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
    position: relative;
    width: 800px;
    /* Aligns with the flow width */
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 10px rgba(50, 120, 190, 0.4);
}

/* CSS Triangle Arrow */
.one-stop-support::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid var(--primary-color);
}

/* Responsive Business Flow */
@media (max-width: 768px) {
    .business-flow {
        /* Keep fixed width on mobile to allow scroll */
        width: 900px;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .one-stop-support {
        width: 90%;
        font-size: 1.2rem;
    }
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 2rem;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    th,
    td {
        display: block;
        width: 100%;
    }

    th {
        background-color: transparent;
        color: var(--primary-color);
        padding-bottom: 0.2rem;
        border-bottom: none;
    }

    td {
        padding-top: 0;
    }
}