/*
 * Theme Name: Renovia Partners
 * Author: Renovia Partners
 * Description: Renovia Partners OFFICIAL
 * Version: 1.0;
 */

/* Base Setup: 03. Carbon Style */
body { 
    background-color: #050505;
    color: #e5e5e5;
    margin: 0;
    font-family: 'Manrope', 'Noto Sans JP', sans-serif; 
    -webkit-font-smoothing: antialiased;
    /* Carbon Style Background: Radial Gradient */
    background-image: radial-gradient(circle at 50% 0%, #1f1f1f 0%, #000000 70%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography Utilities */
.font-eng-sans { font-family: 'Manrope', sans-serif; }
.font-jp-sans { font-family: 'Noto Sans JP', sans-serif; }
.text-chunk { display: inline-block; white-space: nowrap; }
.tracking-tight-brand { letter-spacing: -0.08em; margin-right: -0.05em; }

/* S-Curve Animation */
.s-curve-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 2.5s ease-out forwards 0.5s;
}
@keyframes dash { to { stroke-dashoffset: 0; } }

.point-glow { animation: pulse-glow 2s infinite; }
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* Hover Effects */
.hover-lift { transition: transform 0.3s ease; }
.hover-lift:hover { transform: translateY(-5px); }

/* Glass Header */
.glass-header {
    backdrop-filter: blur(12px);
    background: rgba(0,0,0,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Carbon Specific UI Components */
.carbon-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    background-image: linear-gradient(to right, #ffffff, #9ca3af);
}

/* Thick Red Border Box for Carbon Style */
.carbon-card {
    background-color: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(8px);
    border: 3px solid #b91c1c; /* Red-700 */
    transition: all 0.3s;
}
.carbon-card:hover {
    background-color: rgba(30, 30, 30, 0.8);
    border-color: #dc2626; /* Red-600 */
}

/* Opaque Carbon Card for Recruit Section */
.carbon-card-opaque {
    background-color: rgba(23, 23, 23, 0.6); /* neutral-900 with opacity */
    backdrop-filter: blur(8px);
    border: 3px solid #b91c1c; /* Red-700 */
    transition: all 0.3s;
}
.carbon-card-opaque:hover {
    border-color: #dc2626; /* Red-600 */
}

.carbon-btn {
    background-image: linear-gradient(to right, #dc2626, #ef4444);
    color: white;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}
.carbon-btn:hover {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
    transform: translateY(-2px);
}

/* List Styles */
.recruit-list li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 0.2em; /* Reduced margin */
}
.recruit-list li::before {
    content: "•";
    color: #dc2626;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* common style */
.content-area h2 {
    font-size: 1.875rem; /* 3xl */
    font-weight: 700; /* bold */
    color: #f3f4f6;
    border-bottom: 1px solid #991b1b; /* red-800 のような濃い赤 */
    padding-bottom: 0.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1); 
}
.content-area h3 {
    font-size: 1.5rem; /* 2xl */
    font-weight: 700;
    color: #f3f4f6; /* gray-100 (白系統) */
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #374151; /* gray-700: 暗いグレーの境界線 */
    padding-bottom: 0.25rem;
}
.content-area p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #d1d5db; /* gray-300 */
}
.content-area ul, .content-area ol {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #d1d5db;
}
.content-area ol {
    list-style-type: decimal;
}
.content-area li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}
.content-area a {
    color: #ef4444; /* red-500 */
    text-decoration: underline;
    transition: color 0.2s;
}
.content-area a:hover {
    color: #f87171; /* red-400 */
}
@media screen and (max-width: 768px) {
    .content-area h2 {
        font-size: 1.5rem;
    }
    .content-area h3 {
        font-size: 1.25rem;
    }
}
/* table */
.content-area table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #4b5563;
}
.content-area th, .content-area td {
    border: 1px solid #4b5563;
    padding: 1rem;
    text-align: left;
}
.content-area th {
    background-color: #1f2937; /* dark blue-gray */
    color: #ffffff;
    font-weight: 700;
}
.content-area td {
    background-color: #111827; /* even darker */
}

/* mobile menu */
#mobile-menu.is-open {
    opacity: 1;
    transform: translateX(0);
}

/* contact */
.wpcf7 form.invalid .wpcf7-response-output {
    padding: 1rem;
    border-color: #ef4444 !important;
    color: #ef4444;
    text-align: center;
    background: #ffffff;
}

/* responsive */
@media screen and (max-width: 768px) {
    .text-xl {
        font-size: 1rem !important;
    }
    .text-2xl {
        font-size: 1.25rem !important;
    }
    .text-4xl {
        font-size: 1.75rem !important;
    }
    .text-6xl {
        font-size: 2.5rem !important;
    }
    .text-8xl {
        font-size: 3.75rem !important;
    }

    /* concept */
    #concept .container .flex p .text-chunk {
        display: inline !important;
        white-space: wrap !important;
    }

    /* strength */
    #strength .container .grid .p-10 {
        padding: 1.5rem !important;
    }

    /* recruit */
    #recruit .container .text-center .leading-relaxed {
        font-size: 1.5rem !important;
    }
    #recruit .container .w-full .p-12 {
        padding: 1.5rem !important;
    }

    /* contact */
    #contact-form .p-8,
    #contact-confirm .p-8,
    #contact-thanks .p-8 {
        padding: 1.5rem !important;
    }
}