/*
Theme Name: inst-theme
Theme URI: https://inst.osaka.jp
Author: inst合同会社
Author URI: https://inst.osaka.jp
Description: inst合同会社 採用サイト カスタムテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: inst-theme
*/

/* ==========================================
   リセット・基本設定
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #1A1A2E;
    --color-accent1: #FF6B6B;
    --color-accent2: #4ECDC4;
    --color-white: #FFFFFF;
    --color-offwhite: #F7F7F7;
    --color-text: #333333;
    --color-gray: #888888;
    --font-main: 'Noto Sans JP', sans-serif;
    --font-en: 'Montserrat', sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ==========================================
   共通レイアウト
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-accent1);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ==========================================
   ヘッダー
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 2px;
}

.site-logo span {
    color: var(--color-accent1);
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.nav-menu a:hover {
    color: var(--color-accent1);
    opacity: 1;
}

.nav-apply-btn {
    background: var(--color-accent1);
    color: var(--color-white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700 !important;
    font-size: 0.9rem;
}

.nav-apply-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================
   フッター固定応募ボタン
   ========================================== */
.fixed-apply-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: var(--color-accent1);
    padding: 16px 20px;
    text-align: center;
    display: none;
}

.fixed-apply-btn a {
    color: var(--color-white);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ==========================================
   ボタン
   ========================================== */
.btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--color-accent1);
    color: var(--color-white);
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-accent1);
    border: 2px solid var(--color-accent1);
}

.btn-secondary:hover {
    background: var(--color-accent1);
    color: var(--color-white);
    transform: translateY(-3px);
}

.btn-line {
    background: #06C755;
    color: var(--color-white);
}

.btn-line:hover {
    background: #05b54c;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
}

/* ==========================================
   TOPページ ファーストビュー
   ========================================== */
.hero {
    min-height: 100vh;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 100px 20px 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,107,107,0.1) 0%, rgba(78,205,196,0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    background: rgba(255,107,107,0.2);
    color: var(--color-accent1);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(255,107,107,0.3);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--color-accent1);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   特徴セクション
   ========================================== */
.features {
    background: var(--color-offwhite);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--color-white);
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.feature-text {
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ==========================================
   求人ピックアップ
   ========================================== */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.job-card {
    background: var(--color-white);
    border: 2px solid #eee;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.job-card:hover {
    border-color: var(--color-accent1);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255,107,107,0.15);
}

.job-tag {
    display: inline-block;
    background: rgba(255,107,107,0.1);
    color: var(--color-accent1);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.job-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.job-salary {
    font-size: 1.1rem;
    color: var(--color-accent1);
    font-weight: 700;
    margin-bottom: 16px;
    font-family: var(--font-en);
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.job-detail-tag {
    background: var(--color-offwhite);
    color: var(--color-gray);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
}

/* ==========================================
   SNSセクション
   ========================================== */
.sns-section {
    background: var(--color-primary);
    color: var(--color-white);
}

.sns-section .section-title {
    color: var(--color-white);
}

.sns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.sns-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ==========================================
   フッター
   ========================================== */
.site-footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 60px 0 100px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-logo {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.footer-logo span {
    color: var(--color-accent1);
}

.footer-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-sns {
    display: flex;
    gap: 16px;
}

.footer-sns a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-sns a:hover {
    background: var(--color-accent1);
}

.footer-nav-title {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-accent1);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-white);
}

.footer-bottom {
    text-align: center;
    padding: 24px 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* ==========================================
   レスポンシブ
   ========================================== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--color-primary);
        flex-direction: column;
        padding: 32px 20px;
        gap: 24px;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .fixed-apply-btn {
        display: block;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }
}