/* モダンな応募フォームスタイル */
:root {
    --primary-color: #3F3F3F;
    --primary-dark: #2a2a2a;
    --secondary-color: #ff69b4;
    --accent-color: #ff69b4;
    --success-color: #ff69b4;
    --warning-color: #ff69b4;
    --error-color: #FF6B6B;
    --text-primary: #3F3F3F;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-tertiary: #f5f5f5;
    --border-color: #e0e0e0;
    --border-focus: #ff69b4;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, #3F3F3F 0%, #666666 100%);
    --gradient-secondary: linear-gradient(135deg, #ff69b4 0%, #ff69b4 100%);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

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

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* スマホ用固定応募ボタン */
.mobile-apply-btn {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(63,63,63,0.3);
    border: none;
    cursor: pointer;
    z-index: 1004;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.mobile-apply-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(63,63,63,0.4);
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
    z-index: 1002;
}

.logo i {
    font-size: 1.75rem;
}

.nav {
    display: flex;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-apply-btn {
    background: var(--gradient-primary);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 16px 0 rgba(63,63,63,0.3), 0 0 32px 0 rgba(255,105,180,0.2);
    transition: all 0.2s cubic-bezier(.4,2,.6,1);
    z-index: 1003;
    position: absolute;
    right: 0;
    overflow: hidden;
    animation: header-glow 2s infinite alternate;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
}

.header-apply-btn:hover, .header-apply-btn:active {
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 0 32px 0 rgba(63,63,63,0.5), 0 0 64px 0 rgba(255,105,180,0.3);
}

@keyframes header-glow {
    0% { box-shadow: 0 0 16px 0 rgba(63,63,63,0.3), 0 0 32px 0 rgba(255,105,180,0.2); }
    100% { box-shadow: 0 0 32px 8px rgba(63,63,63,0.5), 0 0 64px 16px rgba(255,105,180,0.3); }
}

/* ヒーローセクション */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #ff69b4 0%, #ff69b4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 4rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-top: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-prefix {
    font-size: 0.875rem;
    color: #ffffff;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF69B4;
    margin-bottom: 0.5rem;
    position: relative;
    top: -0.25rem;
    left: -0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #ffffff;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* フローティングシェイプ */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* フォームセクション */
.application-form {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.form-header {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.form-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
}

.form {
    padding: 3rem 2rem;
}

.form-section {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.section-header i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.section-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.required {
    color: var(--error-color);
    font-weight: 700;
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-primary);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 60%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}

.form-input:focus + .input-icon,
.form-select:focus + .input-icon {
    color: var(--primary-color);
}

/* 電話番号フィールド */
.phone-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.phone-input {
    flex: 1;
    padding: 0.75rem 0.5rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
}

.phone-separator {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    user-select: none;
}

.phone-input-group .input-icon {
    position: absolute;
    right: 0.75rem;
    top: 60%;
    transform: translateY(-50%);
    z-index: 2;
}

/* 入力ボタン付き */
.input-with-button {
    display: flex;
    gap: 0.5rem;
}

.input-with-button .form-input {
    flex: 1;
}

.search-btn {
    padding: 0.875rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ラジオボタン */
.radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-item input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-item input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.radio-item input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.5rem;
    height: 0.5rem;
    background: white;
    border-radius: 50%;
}

.radio-label {
    font-weight: 500;
    color: var(--text-primary);
}

/* ファイルアップロード */
.file-upload {
    position: relative;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.file-label:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
    color: var(--primary-color);
}

.file-label i {
    font-size: 1.25rem;
}

.file-info {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-primary);
    display: none;
    font-weight: 500;
}

.file-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* チェックボックス */
.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-custom {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
}

.checkbox-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.terms-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
}

/* 送信ボタン */
.form-actions {
    text-align: center;
    margin-top: 3rem;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 3rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-btn:active {
    transform: translateY(0);
}

/* フッター */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ローディングオーバーレイ */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    /* スマホ用固定応募ボタンを表示 */
    .mobile-apply-btn {
        display: flex;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0.5rem 0;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    .nav {
        position: static;
        transform: none;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 0.875rem;
        padding: 0.5rem;
    }
    
    /* ヘッダーの応募ボタンを非表示 */
    .header-apply-btn {
        display: none;
    }
    
    .hero {
        min-height: 80vh;
        padding: 4rem 0 2rem 0;
    }
    
    .hero-content {
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
        margin-top: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .form-header,
    .form-subtitle {
        text-align: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        flex-direction: column;
    }
    
    .phone-input-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .phone-separator {
        display: none;
    }
    
    .phone-input {
        width: 100%;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .detail-item {
        padding: 0.5rem;
    }
    
    /* 企業情報セクション - スマホ対応 */
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .intro-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .gallery-item {
        min-height: 150px;
    }
    
    .gallery-image {
        height: 150px;
    }
    
    /* 代表者紹介セクション - スマホ対応 */
    .ceo-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .ceo-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .ceo-photo {
        min-height: 150px;
    }
    
    .ceo-image {
        height: 150px;
    }
    
    /* オフィス環境セクション - スマホ対応 */
    .exterior-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .exterior-image {
        min-height: 200px;
    }
    
    .office-image {
        height: 200px;
    }
    
    .intro-title,
    .ceo-title,
    .exterior-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    /* 小さい画面でも固定応募ボタンを表示 */
    .mobile-apply-btn {
        display: flex;
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .hero {
        min-height: 70vh;
        padding: 3rem 0 1rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .header-apply-btn {
        display: none;
    }
    
    /* 企業情報セクション - 小さい画面対応 */
    .intro-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-item {
        min-height: 180px;
    }
    
    .gallery-image {
        height: 180px;
    }
    
    /* 代表者紹介セクション - 小さい画面対応 */
    .ceo-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .ceo-photo {
        min-height: 180px;
    }
    
    .ceo-image {
        height: 180px;
    }
    
    /* オフィス環境セクション - 小さい画面対応 */
    .exterior-image {
        min-height: 220px;
    }
    
    .office-image {
        height: 220px;
    }
    
    .intro-title,
    .ceo-title,
    .exterior-title {
        font-size: 1.75rem;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-section {
    animation: fadeInUp 0.6s ease-out;
}

/* フォーカス時のスタイル */
.form-input:focus,
.form-select:focus {
    transform: translateY(-1px);
}

/* ホバーエフェクト */
.form-input:hover,
.form-select:hover {
    border-color: var(--text-light);
}

/* 成功・エラー状態 */
.form-input.success {
    border-color: var(--success-color);
}

.form-input.error {
    border-color: var(--error-color);
}

.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.success-message {
    color: var(--success-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
} 

/* 募集職種選択 */
.position-selector {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.position-header {
    text-align: center;
    margin-bottom: 3rem;
}

.position-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.position-title i {
    color: var(--primary-color);
}

.position-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.position-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    max-width: none;
}

.position-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    max-width: 100%;
    min-width: 0;
}

.position-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.position-card.selected {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.card-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.employment-type {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    margin-left: auto;
}

.card-content {
    margin-bottom: 2rem;
}

.salary-info {
    background: var(--gradient-primary);
    color: white;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.salary-info strong {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.salary-info span {
    font-size: 0.875rem;
    opacity: 0.9;
}

.job-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.job-features li i {
    color: var(--success-color);
    font-size: 0.875rem;
}

/* 募集要項詳細 */
.job-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.job-details h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-details h4::before {
    content: '';
    width: 0.25rem;
    height: 1.5rem;
    background: var(--primary-color);
    border-radius: var(--radius-sm);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-color);
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    font-size: 0.875rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.select-position-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.select-position-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.select-position-btn:active {
    transform: translateY(0);
}

/* 職種選択ラジオボタン */
.position-radio-group {
    flex-direction: column;
    gap: 1rem;
}

.position-radio {
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    background: var(--bg-primary);
}

.position-radio:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.position-radio input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.position-radio input[type="radio"]:checked ~ .radio-label {
    color: var(--primary-color);
}

.position-radio .radio-label {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.5;
}

.position-radio .radio-label strong {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.position-radio .radio-label small {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: block;
    margin-top: 0.25rem;
}

/* PCでの2列表示を確実にする */
@media (min-width: 769px) {
    .position-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .position-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .position-card {
        padding: 1.5rem;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .employment-type {
        margin-left: 0;
    }
    
    .position-radio {
        padding: 1rem;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .detail-item {
        padding: 0.5rem;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .intro-gallery {
        grid-template-columns: 1fr;
    }
    
    .ceo-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ceo-gallery {
        grid-template-columns: 1fr;
    }
    
    .exterior-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .intro-title,
    .ceo-title,
    .exterior-title {
        font-size: 2rem;
    }
} 

/* 会社紹介セクション */
.company-intro {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.intro-header {
    text-align: center;
    margin-bottom: 3rem;
}

.intro-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.intro-title i {
    color: var(--primary-color);
}

.intro-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
}
.intro-row, .intro-row-reverse {
    display: contents;
}
.intro-section, .gallery-item {
    width: 100%;
    max-width: 600px;
    margin: 0;
}
@media (max-width: 900px) {
    .intro-content {
        grid-template-columns: 1fr;
    }
    .intro-section, .gallery-item {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 1.5rem 0;
    }
    .intro-section, .gallery-item {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 1.5rem 0 !important;
    }
    .intro-section {
        order: 1 !important;
    }
    .gallery-item {
        order: 2 !important;
        height: 180px !important;
    }
}

.intro-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.intro-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.intro-section h3 i {
    color: var(--primary-color);
}

.intro-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.intro-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.intro-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

.intro-features li i {
    color: var(--success-color);
    font-size: 0.875rem;
}

.intro-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem;
    font-size: 0.875rem;
    text-align: center;
}

/* 代表者紹介セクション */
.ceo-intro {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.ceo-content {
    max-width: 1200px;
    margin: 0 auto;
}

.ceo-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ceo-title i {
    color: var(--primary-color);
}

.ceo-message p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.ceo-message p:first-child {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    font-style: italic;
}

.ceo-values {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ceo-values li {
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.ceo-values li strong {
    color: var(--primary-color);
    font-size: 1rem;
}

/* 代表者メッセージ・画像レイアウト */
.ceo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.ceo-message {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ceo-photos {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ceo-photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 250px;
}

.ceo-photo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.ceo-image {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

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

.ceo-photo:hover .ceo-image img {
    transform: scale(1.05);
}

.ceo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    text-align: center;
}

.ceo-caption h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ceo-caption p {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .ceo-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ceo-photos {
        gap: 1.5rem;
    }
    
    .ceo-photo {
        height: 200px;
    }
    
    .ceo-title {
        font-size: 2rem;
    }
    
    .ceo-message p {
        font-size: 1rem;
    }
    
    .ceo-message p:first-child {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .ceo-intro {
        padding: 2rem 0;
    }
    
    .ceo-title {
        font-size: 1.75rem;
    }
    
    .ceo-photos {
        gap: 1rem;
    }
    
    .ceo-image {
        height: 200px;
    }
}

/* オフィス環境セクション */
.office-exterior {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.exterior-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.exterior-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.exterior-title i {
    color: var(--primary-color);
}

.exterior-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
}

.exterior-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.feature-item span {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.exterior-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    height: 300px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: auto;
    max-width: 420px;
}

.exterior-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.office-image {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    z-index: 1;
}

.exterior-image:hover .office-image {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    box-sizing: border-box;
    z-index: 2;
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
    overflow: hidden;
    width: auto;
    max-width: 100%;
} 

.apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.75rem 2rem;
    margin: 2rem auto 0 auto;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.2s;
}
.apply-btn i {
    font-size: 1.25rem;
}
.apply-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px) scale(1.03);
    box-shadow: var(--shadow-lg);
}
@media (max-width: 768px) {
    .apply-btn {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
} 

.position-header.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
} 

/* Googleマップセクション */
.map-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.map-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: center;
    justify-content: center;
}

.map-title i {
    color: var(--primary-color);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

.map-info {
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 2rem;
}

.map-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    width: 1.5rem;
    text-align: center;
}

.detail-item span {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 300px;
    }
    
    .map-title {
        font-size: 1.75rem;
    }
    
    .map-info {
        padding: 1.5rem;
    }
    
    .detail-item {
        padding: 0.75rem;
    }
    
    .detail-item span {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .map-container iframe {
        height: 250px;
    }
    
    .map-title {
        font-size: 1.5rem;
    }
    
    .map-info {
        padding: 1rem;
    }
} 

/* スクロールトップボタン */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.scroll-top-btn.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .scroll-top-btn {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
} 

/* 企業情報セクション「私たちの特徴」レイアウト */
.intro-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    align-items: center;
}

.intro-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    order: 1;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 800px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 300px;
    order: 2;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    text-align: center;
}

.gallery-caption h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-caption p {
    font-size: 0.875rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .intro-row {
        display: block !important;
        gap: 0 !important;
        margin-bottom: 2rem;
    }
    .intro-section, .gallery-item {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 1.5rem 0 !important;
    }
    .intro-section {
        order: unset !important;
    }
    .gallery-item {
        order: unset !important;
        height: 180px !important;
    }
} 

 

/* オフィス環境セクション - PC: 左テキスト・右画像、スマホ: 上テキスト・下画像 */
/* 代表者メッセージと同じ横幅・配置に合わせる */
.exterior-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin: 64px 0;
  padding: 0 24px;
}
.exterior-info {
  flex: 1;
  min-width: 280px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.exterior-image {
  flex: 1;
  min-width: 280px;
  max-width: 520px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.exterior-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
@media (max-width: 900px) {
  .exterior-row {
    flex-direction: column;
    gap: 24px;
    padding: 0 8px;
  }
  .exterior-info, .exterior-image {
    max-width: 100%;
    min-width: unset;
  }
  .exterior-image {
    justify-content: center;
  }
}

.intro-row-reverse {
    display: flex;
    flex-direction: row-reverse;
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    align-items: center;
} 

.intro-row, .intro-row-reverse {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
    justify-content: center;
}
.intro-row-reverse {
    flex-direction: row-reverse;
}
.intro-section, .gallery-item {
    flex: 1 1 0;
    min-width: 320px;
    max-width: 600px;
    width: 50%;
    margin: 0;
}
@media (max-width: 900px) {
    .intro-section, .gallery-item {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .intro-row, .intro-row-reverse {
        display: block !important;
        gap: 0 !important;
        margin-bottom: 2rem;
    }
    .intro-section, .gallery-item {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 1.5rem 0 !important;
        min-width: 0 !important;
        flex: none !important;
    }
    .intro-section {
        order: 1 !important;
    }
    .gallery-item {
        order: 2 !important;
        height: 180px !important;
    }
} 

.office-exterior .ceo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.office-exterior .ceo-message {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    align-items: flex-start;
}
.office-exterior .ceo-photos {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-end;
}
.office-exterior .ceo-photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 250px;
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 900px) {
    .office-exterior .ceo-row {
        max-width: 100vw;
        grid-template-columns: 1fr;
    }
    .office-exterior .ceo-photo {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .office-exterior .ceo-row {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        align-items: stretch;
        max-width: 100vw;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }
    .office-exterior .ceo-message {
        order: 1;
        width: 100%;
        margin-bottom: 1.5rem;
        padding-left: 4vw;
        padding-right: 4vw;
        align-items: center;
        box-sizing: border-box;
        text-align: center;
    }
    .office-exterior .ceo-photo {
        order: 2;
        width: 100%;
        height: 220px;
        margin: 0 auto;
        box-sizing: border-box;
        max-width: 100%;
    }
    .office-exterior .ceo-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
} 
