/* Apple-inspired Clean Design for BalanceOne */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #ffffff;
    font-weight: 400;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Container */
.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    color: #1d1d1f;
    margin-bottom: 16px;
}

h1 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.015em;
}

h3 {
    font-size: 32px;
    font-weight: 600;
}

p {
    margin-bottom: 16px;
    color: #424245;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    height: 60px;
    width: 200px; /* ヘッダー幅に合わせて */
    overflow: hidden; /* はみ出しカット */
}
.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 枠いっぱいに拡大（必要なら切れる） */
    display: block;
    max-width: none;
}

/* Navigation */
.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-list a {
    text-decoration: none;
    color: #1d1d1f;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #0071e3;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.mobile-menu-btn .hamburger-line {
    width: 24px;
    height: 2px;
    background: #1d1d1f;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
    display: block;
}

.mobile-menu-btn .close-icon {
    position: absolute;
    font-size: 24px;
    color: #1d1d1f;
    opacity: 0;
    transition: all 0.3s ease;
    transform: rotate(0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 1001;
}

/* Active state - show X, hide hamburger lines */
.mobile-menu-btn.active .hamburger-line {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-btn.active .close-icon {
    opacity: 1;
    transform: rotate(90deg);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Background Image Slider */
.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-bg-slide.active {
    opacity: 1;
}

.hero-bg-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 80px 24px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #1d1d1f;

    /* Initially visible for typing effect */
    opacity: 1;
    transform: translateY(0);
}

/* Typewriter effect styles */
.hero-title.typing {
    border-right: 3px solid #0071e3;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: expandWidth 3s steps(15, end) 0.5s forwards, blinkCursor 1s infinite;
}

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

@keyframes expandWidth {
    to {
        width: 100%;
    }
}

@keyframes blinkCursor {
    0%,
    50% {
        border-color: #0071e3;
    }
    51%,
    100% {
        border-color: transparent;
    }
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    color: #6e6e73;
    font-weight: 400;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.hero-subtitle.show {
    opacity: 1;
    transform: translateY(0);
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: #0071e3;
    color: #ffffff;
    text-decoration: none;
    border-radius: 980px;
    font-weight: 500;
    font-size: 17px;
    transition: all 1.2s ease-out;
    opacity: 0;
    transform: translateY(30px);
}

.cta-button.show {
    opacity: 1;
    transform: translateY(0);
}

.cta-button:hover {
    background: #0077ed;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.3);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 80px;
    color: #1d1d1f;
    letter-spacing: -0.015em;
}

/* Services Section */
.services {
    background: #fafafa;
}

.services-lead {
    text-align: center;
    font-size: 19px;
    color: #6e6e73;
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.service-item {
    background: #ffffff;
    padding: 32px;
    border-radius: 18px;
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: #1d1d1f;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.service-item h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #1d1d1f;
    font-weight: 700;
    line-height: 1.3;
}

.service-list {
    margin: 0 0 20px 0;
    padding-left: 0;
    list-style: none;
}

.service-list li {
    color: #424245;
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 12px;
    padding-left: 16px;
    position: relative;
}

.service-list li::before {
    content: "•";
    color: #0071e3;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-list strong {
    color: #1d1d1f;
    font-weight: 600;
}

.service-value {
    background: #f5f5f7;
    border: 1px solid rgba(0, 113, 227, 0.1);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    font-size: 15px;
    color: #424245;
    line-height: 1.6;
}

.service-value span {
    font-weight: 600;
    color: #1d1d1f;
}

.service-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.service-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #0071e3;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.service-btn:hover {
    background: #0077ed;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

/* CEO Section - Premium Corporate Design */
.ceo {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.ceo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="corporate-pattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="0.8" fill="rgba(0,113,227,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23corporate-pattern)"/></svg>');
    opacity: 0.7;
}

/* CEO Header */
.ceo-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.ceo-subtitle {
    font-size: 18px;
    color: #6e6e73;
    font-weight: 400;
    margin-bottom: 0;
}

/* CEO Content */
.ceo-content {
    position: relative;
    z-index: 2;
}

.ceo-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 113, 227, 0.08);
    border: 1px solid rgba(0, 113, 227, 0.05);
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.ceo-photo-container {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    position: relative;
}

.ceo-photo-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0071e3, #0056b3);
}

.ceo-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 12px 40px rgba(0, 113, 227, 0.2);
}

.ceo-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ceo-credentials {
    text-align: center;
}

.ceo-name {
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.ceo-title-text {
    font-size: 16px;
    color: #0071e3;
    font-weight: 600;
    margin-bottom: 16px;
}

.ceo-badges {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.badge {
    background: linear-gradient(135deg, #e8f4ff 0%, #d1e9ff 100%);
    color: #0071e3;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(0, 113, 227, 0.1);
}

.ceo-content-text {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ceo-message blockquote {
    position: relative;
    padding: 32px 40px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.05) 0%, rgba(0, 113, 227, 0.02) 100%);
    border-radius: 20px;
    border-left: 4px solid #0071e3;
    margin: 0 0 32px 0;
}

.ceo-message blockquote::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: 32px;
    font-size: 60px;
    color: #0071e3;
    opacity: 0.2;
    font-family: serif;
    line-height: 1;
}

.quote-text {
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
    font-weight: 500;
    font-style: italic;
    margin: 0;
}

.message-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 20px;
    font-weight: 400;
}

.ceo-achievements {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ceo-achievements h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 24px;
    text-align: center;
}

.achievement-grid {
    display: grid;
    gap: 20px;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.achievement-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievement-content h5 {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.achievement-content p {
    font-size: 14px;
    color: #6e6e73;
    margin: 0;
    line-height: 1.5;
}

/* Experience Timeline */
.ceo-experience-section {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0, 113, 227, 0.08);
    border: 1px solid rgba(0, 113, 227, 0.05);
}

.experience-title {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.experience-title::after {
    content: "";
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0071e3, #0056b3);
    border-radius: 2px;
}

.experience-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Timeline line removed for minimal design */

@media (max-width: 768px) {
    .experience-timeline::before {
        display: none;
    }

    .experience-item {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 32px;
        background: #ffffff;
        padding: 24px;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(0, 113, 227, 0.1);
        border: 1px solid rgba(0, 113, 227, 0.05);
    }

    .experience-item::before {
        display: none;
    }

    .experience-year {
        width: auto;
        text-align: left;
        background: linear-gradient(135deg, #0071e3, #0056b3);
        color: #ffffff;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 700;
        align-self: flex-start;
        margin-bottom: 8px;
    }

    .experience-content {
        background: transparent;
        padding: 0;
        box-shadow: none;
        border: none;
    }
}

.experience-item {
    position: relative;
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    align-items: flex-start;
    padding: 0;
}

/* Timeline dots removed for minimal design */

.experience-year {
    flex-shrink: 0;
    width: 100px;
    font-size: 14px;
    font-weight: 600;
    color: #6e6e73;
    text-align: left;
    padding: 8px 12px;
    background: #f5f5f7;
    border-radius: 8px;
    align-self: flex-start;
}

.experience-content {
    flex: 1;
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.experience-content:hover {
    border-color: rgba(0, 113, 227, 0.15);
}

.experience-content h5 {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.experience-content p {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 16px;
}

.experience-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.experience-tags span {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #0369a1;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(3, 105, 161, 0.1);
}

/* Confirm Page Styles */
.confirm-section {
    padding: 120px 0;
    background: #fafafa;
    min-height: 80vh;
}

.confirm-content {
    max-width: 800px;
    margin: 0 auto;
}

.confirm-header {
    text-align: center;
    margin-bottom: 48px;
}

.confirm-title {
    font-size: 36px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.confirm-subtitle {
    font-size: 18px;
    color: #424245;
    margin-bottom: 0;
}

.confirm-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
}

.confirm-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.confirm-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.confirm-label {
    font-size: 14px;
    font-weight: 600;
    color: #424245;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.confirm-value {
    font-size: 16px;
    color: #1d1d1f;
    line-height: 1.5;
    word-break: break-word;
}

.confirm-message {
    white-space: pre-wrap;
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #0071e3;
}

.confirm-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 140px;
    justify-content: center;
}

.btn-primary {
    background: #0071e3;
    color: #ffffff;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.btn-secondary {
    background: #f5f5f7;
    color: #1d1d1f;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: #e8e8ed;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.confirm-note {
    text-align: center;
    color: #424245;
    font-size: 14px;
}

.btn.loading {
    opacity: 0.8;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Thanks Page Styles */
.thanks-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 80vh;
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.thanks-icon {
    margin-bottom: 32px;
    animation: bounceIn 0.8s ease-out;
}

.thanks-header {
    margin-bottom: 48px;
}

.thanks-title {
    font-size: 36px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.thanks-subtitle {
    font-size: 18px;
    color: #424245;
    line-height: 1.6;
    margin-bottom: 0;
}

.thanks-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
    text-align: left;
}

.thanks-info h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 32px;
    text-align: center;
}

.thanks-steps {
    margin-bottom: 48px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #0071e3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.step-content p {
    color: #424245;
    margin-bottom: 0;
    line-height: 1.5;
}

.thanks-contact {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 32px;
    border-left: 4px solid #0071e3;
    text-align: center;
}

.thanks-contact h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.thanks-contact p {
    color: #424245;
    margin-bottom: 20px;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0071e3;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    padding: 12px 20px;
    background: white;
    border-radius: 8px;
    border: 2px solid #0071e3;
    transition: all 0.2s ease;
}

.contact-email:hover {
    background: #0071e3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.thanks-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.thanks-note {
    color: #424245;
    font-size: 14px;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Company Section */
.company {
    background: #fafafa;
    padding: 120px 0;
}

.company-table {
    max-width: 800px;
    margin: 0 auto;
}

.company-table table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
}

.company-table th,
.company-table td {
    padding: 24px 32px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.company-table th {
    background: #f5f5f7;
    color: #1d1d1f;
    font-weight: 600;
    font-size: 17px;
    width: 30%;
}

.company-table td {
    font-size: 17px;
    color: #424245;
    line-height: 1.5;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

/* Contact Section - Accordion Style */
.contact {
    padding: 120px 0;
}

.contact-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.contact-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.contact-header {
    width: 100%;
    padding: 24px 32px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: left;
}

.contact-header:hover {
    background: rgba(0, 113, 227, 0.02);
}

.contact-header[aria-expanded="true"] {
    background: rgba(0, 113, 227, 0.05);
    border-bottom: 1px solid rgba(0, 113, 227, 0.1);
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.contact-info p {
    font-size: 15px;
    color: #6e6e73;
    margin: 0;
    line-height: 1.4;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0071e3;
}

.accordion-arrow {
    color: #6e6e73;
    transition: transform 0.3s ease;
}

.contact-header[aria-expanded="true"] .accordion-arrow {
    transform: rotate(180deg);
}

.contact-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
    will-change: max-height, opacity, padding;
}

.contact-content.active {
    max-height: 1000px;
    opacity: 1;
    padding: 0 32px 32px 32px;
}

/* Form Styles */
.contact-form {
    background: #fafafa;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid rgba(0, 113, 227, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #1d1d1f;
    font-size: 16px;
}

.required {
    color: #ff3b30;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: #ffffff;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1.5 4.5h9z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.form-group select:hover {
    border-color: rgba(0, 113, 227, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-button {
    width: 100%;
    padding: 14px;
    background: #0071e3;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #0077ed;
    transform: translateY(-1px);
}

/* Email Contact Styles */
.email-contact {
    text-align: center;
    padding: 32px;
    background: #fafafa;
    border-radius: 12px;
}

.email-link {
    display: inline-block;
    font-size: 24px;
    font-weight: 600;
    color: #0071e3;
    text-decoration: none;
    margin: 16px 0;
    padding: 12px 24px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(0, 113, 227, 0.2);
    transition: all 0.3s ease;
}

.email-link:hover {
    background: rgba(0, 113, 227, 0.05);
    transform: translateY(-1px);
}

.email-note {
    font-size: 14px;
    color: #6e6e73;
    margin-top: 16px;
    line-height: 1.5;
}

/* Location Info Styles */
.location-info {
    padding: 32px;
    background: #fafafa;
    border-radius: 12px;
}

.location-info p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #424245;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    margin-top: 16px;
}

.contact-map iframe {
    width: 100%;
    border: none;
}

/* Footer */
.footer {
    background: #1d1d1f;
    color: #a1a1a6;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo img {
    height: 80px;
    filter: brightness(0) invert(1);
}

.footer-info p {
    margin-bottom: 8px;
    font-size: 17px;
    line-height: 1.5;
}

.footer-sns h4 {
    color: #ffffff;
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 16px;
}

.sns-links {
    display: flex;
    gap: 16px;
}

.sns-link {
    color: #a1a1a6;
    transition: color 0.3s ease;
}

.sns-link:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid #424245;
    color: #6e6e73;
    font-size: 15px;
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 40px;
    }

    .ceo-card {
        grid-template-columns: 1fr;
        max-width: 800px;
    }

    .ceo-photo-container {
        padding: 40px 32px;
    }

    .ceo-content-text {
        padding: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    .nav-list a {
        display: block;
        padding: 20px;
        font-size: 21px;
    }

    .hero-content {
        padding: 60px 20px;
    }

    section {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-item {
        padding: 32px 24px;
    }

    .ceo {
        padding: 60px 0;
    }

    .ceo-header {
        margin-bottom: 60px;
    }

    .ceo-card {
        margin: 0 20px;
    }

    .ceo-photo-container {
        padding: 32px 24px;
    }

    .ceo-content-text {
        padding: 32px;
    }

    .ceo-photo {
        width: 160px;
        height: 160px;
        margin-bottom: 24px;
    }

    .ceo-message blockquote {
        padding: 24px 32px;
    }

    .ceo-message blockquote::before {
        font-size: 50px;
        top: -10px;
        left: 24px;
    }

    .quote-text {
        font-size: 15px;
    }

    .message-content p {
        font-size: 14px;
    }

    .contact-form {
        padding: 32px;
    }

    .company {
        padding: 80px 0;
    }

    .contact-header {
        padding: 20px 24px;
        gap: 16px;
    }

    .contact-content.active {
        padding: 0 24px 24px 24px;
    }

    .contact-form {
        padding: 24px;
    }

    .email-contact,
    .location-info {
        padding: 24px;
    }

    .company-table th,
    .company-table td {
        padding: 16px 20px;
        font-size: 15px;
    }

    .footer {
        padding: 60px 0 32px;
    }
}

@media (max-width: 768px) {
    /* Confirm page mobile styles */
    .confirm-card {
        padding: 32px 24px;
    }
    
    .confirm-title {
        font-size: 28px;
    }
    
    .confirm-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        min-width: auto;
    }
    
    /* Thanks page mobile styles */
    .thanks-card {
        padding: 32px 24px;
    }
    
    .thanks-title {
        font-size: 28px;
    }
    
    .thanks-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .step-item {
        gap: 16px;
    }
    
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .thanks-contact {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .confirm-card,
    .thanks-card {
        padding: 24px 16px;
    }
    
    .confirm-title,
    .thanks-title {
        font-size: 24px;
    }
    
    .confirm-subtitle,
    .thanks-subtitle {
        font-size: 16px;
    }
}

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    .hero-content {
        padding: 40px 16px;
    }

    .hero-title {
        font-size: clamp(32px, 8vw, 48px);
    }

    .hero-subtitle {
        font-size: 19px;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 16px;
    }

    section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 48px;
    }

    .service-item {
        padding: 24px 20px;
    }

    .ceo {
        padding: 40px 0;
    }

    .ceo-header {
        margin-bottom: 40px;
    }

    .ceo-card {
        margin: 0 16px;
    }

    .ceo-photo-container {
        padding: 24px 20px;
    }

    .ceo-content-text {
        padding: 24px;
    }

    .ceo-photo {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }

    .ceo-name {
        font-size: 20px;
    }

    .ceo-title-text {
        font-size: 14px;
    }

    .ceo-message blockquote {
        padding: 20px 24px;
    }

    .ceo-message blockquote::before {
        font-size: 40px;
        top: -8px;
        left: 20px;
    }

    .quote-text {
        font-size: 14px;
    }

    .message-content p {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .ceo-achievements {
        margin-top: 32px;
        padding-top: 24px;
    }

    .ceo-achievements h4 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .achievement-item {
        padding: 16px;
    }

    .achievement-icon {
        width: 32px;
        height: 32px;
    }

    .achievement-content h5 {
        font-size: 14px;
    }

    .achievement-content p {
        font-size: 12px;
    }

    .contact-form {
        padding: 24px;
    }

    /* CEO Section Mobile Styles */
    .ceo-hero {
        padding: 60px 0;
    }

    .ceo-hero-title {
        font-size: clamp(28px, 6vw, 40px);
    }

    .ceo-hero-subtitle {
        font-size: 18px;
    }

    .ceo-hero-quote {
        padding: 24px 32px;
    }

    .ceo-hero-quote p {
        font-size: 18px;
    }

    .ceo-image-container {
        height: 350px;
    }

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

    .ceo-profile-card {
        padding: 32px;
        margin-bottom: 32px;
    }

    .ceo-name {
        font-size: 28px;
    }

    .ceo-position {
        font-size: 18px;
    }

    .ceo-message-text {
        font-size: 16px;
    }

    .ceo-experience-section {
        padding: 32px;
    }

    .experience-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .ceo-hero-quote::before {
        font-size: 60px;
        top: -10px;
    }

    .ceo-hero-quote {
        padding: 20px 24px;
    }

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

    .ceo-image-container {
        height: 300px;
    }

    .ceo-profile-card {
        padding: 24px;
    }

    .ceo-name {
        font-size: 24px;
    }

    .ceo-experience-section {
        padding: 24px;
    }

    .experience-title {
        font-size: 20px;
    }

    .experience-item {
        padding: 20px;
    }
}
