/* ========================================
   GOLD RECT.Inc - Corporate Website Styles
   ======================================== */

/* ----- CSS Variables ----- */
:root {
    /* Colors */
    --gold-primary: #C9A962;
    --gold-light: #E5D4A1;
    --gold-dark: #A68B4A;
    --dark-primary: #2C3E50;
    --dark-secondary: #34495E;
    --dark-accent: #1A252F;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #1A1A2E;
    --gradient-gold: linear-gradient(135deg, #C9A962 0%, #E5D4A1 50%, #C9A962 100%);
    --gradient-dark: linear-gradient(135deg, #2C3E50 0%, #1A252F 100%);

    /* Typography */
    --font-primary: 'Noto Sans JP', 'Inter', sans-serif;
    --font-display: 'Inter', 'Noto Sans JP', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 4px 20px rgba(201, 169, 98, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--white);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ----- Utility Classes ----- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.section-dark {
    background: var(--gradient-dark);
    color: var(--white);
}

.section-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.section-dark .section-subtitle {
    color: var(--gold-light);
}

.highlight {
    color: var(--gold-primary);
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--dark-primary);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(201, 169, 98, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
}

.btn-outline:hover {
    background: var(--gold-primary);
    color: var(--dark-primary);
}

.btn-dark {
    background: var(--dark-primary);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--dark-secondary);
    transform: translateY(-2px);
}

/* ----- Header ----- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--gold-primary);
}

.lang-switcher {
    display: flex;
    gap: 5px;
    margin-left: 20px;
}

.lang-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--text-light);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: var(--white);
}

.nav-cta {
    margin-left: 20px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--dark-primary);
    transition: all var(--transition-fast);
}

/* ----- Hero Section ----- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    overflow: hidden;
    padding-top: 80px;
}

.hero::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"><circle cx="50" cy="50" r="1" fill="%23C9A962" opacity="0.1"/></svg>');
    background-size: 30px 30px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-30px);
    }
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.hero-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* ----- Problems Section ----- */
.problems {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.problems-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--dark-primary);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.problem-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all var(--transition-normal);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(201, 169, 98, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.problem-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.problems-solution {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-primary);
    line-height: 1.6;
}

/* ----- About Section ----- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--gold-primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-primary);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-secondary);
}

/* ----- Service Section ----- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(201, 169, 98, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-primary);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ----- Features Section ----- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px;
}

.feature-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold-primary);
    opacity: 0.3;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

/* ----- Flow Section ----- */
.flow-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.flow-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 100px;
    right: 100px;
    height: 2px;
    background: var(--gold-primary);
    opacity: 0.3;
}

.flow-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.flow-step-number {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.flow-step-number span {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-primary);
}

.flow-step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-primary);
    margin-bottom: 10px;
}

.flow-step p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ----- Recruit Section ----- */
.recruit-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.recruit-content p {
    font-size: 1.2rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* ----- Access Section ----- */
.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.access-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
}

.access-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.access-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.access-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-primary);
    margin-bottom: 30px;
}

.access-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--text-primary);
}

.access-item-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--gold-primary);
}

/* ----- Contact Section ----- */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.form-label .required {
    background: #E74C3C;
    color: var(--white);
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--gold-primary);
}

.form-radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-radio {
    width: 18px;
    height: 18px;
    accent-color: var(--gold-primary);
}

.form-submit {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--dark-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.form-submit:hover {
    background: var(--dark-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.form-privacy {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 20px;
}

/* ----- Footer ----- */
.footer {
    background: var(--dark-accent);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ----- Mobile Navigation ----- */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-list a {
    display: block;
    padding: 15px;
    font-size: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid #eee;
}

.mobile-lang-switcher {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* ----- Animations ----- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----- Responsive Design ----- */
@media (max-width: 1024px) {

    .nav-list,
    .lang-switcher,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .flow-steps {
        flex-direction: column;
        gap: 40px;
    }

    .flow-steps::before {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .problems-grid {
        grid-template-columns: 1fr;
    }

    .problems-solution {
        font-size: 1.5rem;
    }

    .about-content,
    .access-content {
        grid-template-columns: 1fr;
    }

    .about-image::after {
        display: none;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .problems-title {
        font-size: 1.5rem;
    }

    .form-radio-group {
        flex-direction: column;
    }
}