/* ============================================
   Trust Bridge Advisors - Global Styles
   Design Philosophy: Modern Fresh Corporate
   - Bright blue (#3b82f6) for trust and freshness
   - Cyan accents (#06b6d4) for growth and innovation
   - Coral/Orange (#f97316) for energy and approachability
   ============================================ */

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

html {
    font-family: 'Noto Sans JP', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: #1f2937;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: 'Noto Sans JP', sans-serif;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Layout */
#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* ============================================
   Navigation
   ============================================ */
nav {
    background: linear-gradient(to right, #3b82f6, rgba(59, 130, 246, 0.9));
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    white-space: nowrap;
}

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

nav a {
    color: #ffffff;
    font-weight: 500;
    position: relative;
    transition: color 0.2s;
    display: block;
    padding-bottom: 0.25rem;
}

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

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

@media (max-width: 768px) {
    nav .nav-links {
        gap: 1rem;
        font-size: 0.875rem;
    }

    nav .logo {
        font-size: 1.125rem;
    }
}

/* ============================================
   Hero Section (Home Page)
   ============================================ */
.hero {
    position: relative;
    height: 24rem;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
}

.hero-content {
    color: #ffffff;
}

.hero-label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 32rem;
}

@media (max-width: 768px) {
    .hero {
        height: 18rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* ============================================
   Page Header (Other Pages)
   ============================================ */
.page-header {
    background: linear-gradient(to right, #3b82f6, rgba(59, 130, 246, 0.9));
    color: #ffffff;
    padding: 4rem 0;
}

.page-label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.page-header h1 {
    font-size: 2.25rem;
}

@media (max-width: 768px) {
    .page-header {
        padding: 2rem 0;
    }

    .page-header h1 {
        font-size: 1.875rem;
    }
}

/* ============================================
   Services Section (Home Page)
   ============================================ */
.services {
    padding: 5rem 0;
    background-color: #ffffff;
}

.services-content {
    max-width: 48rem;
}

.services-intro {
    color: rgba(31, 41, 55, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1rem;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-item {
    border-left: 4px solid #06b6d4;
    padding-left: 1.5rem;
}

.service-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.service-item p {
    color: rgba(31, 41, 55, 0.8);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .services {
        padding: 3rem 0;
    }
}

/* ============================================
   Page Content (Business, Company Pages)
   ============================================ */
.page-content {
    padding: 4rem 0;
    background-color: #ffffff;
}

.content-wrapper {
    max-width: 48rem;
}

.intro-text {
    color: rgba(31, 41, 55, 0.8);
    margin-bottom: 3rem;
    line-height: 1.8;
    font-size: 1rem;
}

.content-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0f2fe;
}

.content-item:last-child {
    border-bottom: none;
}

.content-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.content-item p {
    color: rgba(31, 41, 55, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Company Info */
.company-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0f2fe;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.info-item p {
    color: rgba(31, 41, 55, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
}

.sub-text {
    font-size: 0.875rem;
    display: block;
    margin-top: 0.25rem;
}

.business-list {
    list-style: none;
    color: rgba(31, 41, 55, 0.8);
    font-size: 0.95rem;
}

.business-list li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .page-content {
        padding: 2rem 0;
    }
}

/* ============================================
   Contact Form
   ============================================ */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
    font-size: 0.95rem;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #e0f2fe;
    border-radius: 0.5rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(31, 41, 55, 0.5);
}

.btn-submit {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to right, #3b82f6, rgba(59, 130, 246, 0.8));
    color: #ffffff;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary:hover {
    box-shadow: 0 10px 15px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-accent {
    background-color: #f97316;
}

.btn-accent:hover {
    background-color: #ea580c;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    background: linear-gradient(to right, #3b82f6, #06b6d4);
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
}

.cta h2 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .cta {
        padding: 2rem 0;
    }

    .cta h2 {
        font-size: 1.5rem;
    }

    .cta p {
        font-size: 1rem;
    }
}

/* ============================================
   Footer
   ============================================ */
footer {
    background-color: rgba(59, 130, 246, 0.95);
    color: #ffffff;
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
}

footer p {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    nav .nav-links {
        gap: 0.75rem;
        font-size: 0.75rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.875rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .cta h2 {
        font-size: 1.25rem;
    }

    .service-item,
    .content-item,
    .info-item {
        padding-left: 1rem;
        border-left-width: 3px;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
