/* ===================================
   採用担当からのメッセージ
   デザインリニューアル：クリーン・プロフェッショナル
=================================== */

/* -----------------------------------
   共通・ユーティリティ
----------------------------------- */

:root {
    --primary-blue: #0077b6;
    --accent-blue: #0096c7;
    --dark-navy: #0f172a;
    --text-main: #334155;
    --text-sub: #64748b;
    --border-light: #f1f5f9;
    --bg-light: #f8fafc;
}

/* キーワード強調 */
.text-highlight {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    color: #ffffff;
    padding: 6px 20px;
    margin: 0 0.1em;
    border-radius: 2px;
    display: inline-block;
    font-weight: 700;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.15);
}

/* セクション共通 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label-num {
    font-family: var(--font-en);
    font-size: clamp(4rem, 12vw, 6rem);
    font-weight: 950;
    color: var(--primary-blue);
    opacity: 0.04;
    line-height: 0.7;
    margin-bottom: -0.3em;
    display: block;
}

.section-main-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 900;
    color: var(--dark-navy);
    letter-spacing: 0.1em;
    position: relative;
}

.section-main-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary-blue);
    margin: 20px auto 0;
}

/* スクロールアニメーション */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* -----------------------------------
   Main要素の最初の子要素にマージン
----------------------------------- */
.ideal-candidate-page > section:first-child {
    margin-top: 80px !important;
}

/* -----------------------------------
   ページヒーロー（ページ固有スタイル）
----------------------------------- */
.page-hero-ideal {
    margin-top: 0 !important;
}

.page-hero-ideal .page-hero-bg img {
    object-position: center center;
}

/* タイトルが長いので少し大きめに */
.page-hero-ideal .page-hero-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

/* -----------------------------------
   Intro Section
----------------------------------- */
.section-intro {
    padding: 100px 0 50px;
    background: #ffffff;
    text-align: center;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 2;
    color: var(--dark-navy);
}

.intro-text span {
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    .intro-text {
        font-size: 1rem;
        line-height: 1.9;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .intro-text {
        font-size: 0.9375rem;
    }
}

/* -----------------------------------
   Keywords Section
----------------------------------- */
.section-keywords {
    padding: 0 0 80px;
    background: #ffffff;
}

.keywords-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.keyword-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    transition: transform 0.3s ease;
}

.keyword-card:hover {
    transform: translateY(-5px);
}

.keyword-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

/* 青グラデーションオーバーレイ */
.keyword-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 119, 182, 0.85) 0%, 
        rgba(0, 150, 199, 0.8) 100%);
}

.keyword-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.keyword-head {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.keyword-num {
    display: none;
}

.keyword-label {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--primary-blue);
    text-align: center;
    line-height: 1.3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.keyword-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: #ffffff;
    text-align: center;
    max-width: 300px;
}

@media (max-width: 700px) {
    .keywords-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .keyword-card {
        aspect-ratio: 4/3;
    }
}

@media (max-width: 500px) {
    .keywords-grid {
        gap: 16px;
    }
    
    .keyword-content {
        padding: 20px;
        gap: 12px;
    }
    
    .keyword-label {
        width: 130px;
        height: 130px;
        font-size: 1rem;
    }
    
    .keyword-desc {
        font-size: 0.875rem;
        line-height: 1.6;
    }
}

/* -----------------------------------
   Candidate Message Section
----------------------------------- */
.section-candidate-message {
    padding: 100px 0;
    background: #ffffff;
    text-align: center;
}

.candidate-message-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.message-statement {
    text-align: center;
}

.statement-group {
    margin-bottom: 50px;
}

.statement-group:last-child {
    margin-bottom: 0;
}

.statement-row {
    display: block;
    line-height: 1.8;
    margin-bottom: 20px;
}

.message-statement span {
    display: inline-block;
    vertical-align: middle;
}

.message-statement .text-s {
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--text-sub);
    letter-spacing: 0.15em;
    margin: 0 10px;
    line-height: 1.8;
}

.message-statement .text-m {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 800;
    color: var(--dark-navy);
    letter-spacing: 0.05em;
    line-height: 1.8;
}

.message-statement .text-l {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 950;
    letter-spacing: 0.05em;
    line-height: 1.8;
}

.message-statement .text-xl {
    font-size: clamp(1.5rem, 4.5vw, 3rem);
    font-weight: 950;
    letter-spacing: -0.03em;
    line-height: 1.8;
}

.message-statement .color-blue {
    color: var(--primary-blue);
}

.message-statement .text-l.color-blue {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 950;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

@media (max-width: 768px) {
    }
    
    .hero-display-title {
        font-size: 1.5rem;
    }
    
    .hero-separator {
        width: 60px;
        height: 3px;
        margin: 24px auto;
    }
    
    .statement-group {
        margin-bottom: 24px;
    }
    .statement-row {
        margin-bottom: 8px;
    }
    .message-statement span {
        margin: 2px 5px;
    }

/* -----------------------------------
   レスポンシブ
----------------------------------- */
@media (max-width: 768px) {
    .keywords-grid {
        grid-template-columns: 1fr;
    }
    
    .keyword-content {
        padding: 30px 20px;
    }
    
    .section-intro {
        padding: 60px 0;
    }
    
    .section-keywords {
        padding: 0 0 20px;
    }
    
    .section-candidate-message {
        padding: 60px 0;
    }
    
    .message-statement .text-m {
        font-size: 1.125rem;
    }
    
    .message-statement .text-xl,
    .message-statement .text-xl.gradient-text {
        font-size: 1.25rem;
    }
    
    .message-statement .text-l.color-blue {
        font-size: 1.125rem;
    }
}
