@charset "UTF-8";

/* =========================================
   1. GLOBAL & VARS
   ========================================= */
:root {
    --primary-color: #FE222C;
    --secondary-color: #2c5e4f;
    --accent-color: #eab308;
    --text-color: #333333;
    --bg-color: #ffffff;
    --gray-light: #f4f5f7;
    --gray-border: #ddd;
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Inter', 'Noto Sans JP', sans-serif;
}

/* =========================================
   3. COMMON LAYOUT & TYPOGRAPHY
   ========================================= */
section {
    padding: 100px 20px;
    position: relative;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-size: 40px;
    font-weight: 300;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: 0.05em;
}

.section-title span {
    display: block;
    font-size: 14px;
    color: #FE222C;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.section-label {
    font-size: 14px;
    color: #FE222C;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.2em;
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Animation Classes */
.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   PAGE HERO (General)
   ========================================= */
.page-hero-general {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.page-hero-general::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    /* Using a generic background or fallback if image not present, 
       but here reusing the style. For a general page, we might want a subtle pattern or allowing a featured image override. 
       For now, using a neutral pattern/gradient to differentiate slightly from Recruit, or the same if strict reuse is desired.
       Let's use the radial gradient pattern seen in other sections for a clean look. */
    background: radial-gradient(circle at center, rgba(58, 125, 104, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -2;
}

.page-hero-general::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    z-index: -1;
}

.page-hero-general h1 {
    font-size: 56px;
    font-weight: 300;
    color: #333;
    z-index: 1;
    letter-spacing: 0.05em;
    position: relative;
    margin-bottom: 0px;
}

.page-hero-general p {
    font-size: 18px;
    color: #FE222C;
    letter-spacing: 0.1em;
    z-index: 1;
}

/* Parallax Shapes */
.hero-circle {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

.hc-1 {
    width: 400px;
    height: 400px;
    background: rgba(58, 125, 104, 0.05);
    top: -100px;
    left: -100px;
    border-radius: 50%;
    opacity: 0.5;
}

.hc-2 {
    width: 300px;
    height: 300px;
    background: rgba(58, 125, 104, 0.08);
    bottom: 50px;
    right: -50px;
    border-radius: 50%;
    opacity: 0.5;
}

/* =========================================
   PAGE CONTENT
   ========================================= */
.page-content-area {
    background-color: #fff;
    padding: 10px 60px 10px 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    margin-bottom: 100px;
    border: 1px solid #eee;
    min-height: auto;
    /* Ensure some height for empty pages */
}

.page-content-area h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.page-content-area h3 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-content-area p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.page-content-area ul,
.page-content-area ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-content-area li {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero-general h1 {
        font-size: 40px;
    }

    .page-content-area {
        padding: 10px;
    }
	div.wpcf7 input.wpcf7-submit{
		width:100%!important;
	}
}