/*
Theme Name: RIFF求人LPテーマ
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: 求人用ランディングページテーマ - ダッシュボードから簡単に編集可能
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: riff-theme
*/

/* ===================================
   リセットCSS
=================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Noto Sans JP', 'Yu Gothic', 'YuGothic', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    line-height: 1.8;
    color: #333;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

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

ul, ol {
    list-style: none;
}

/* ===================================
   ヘッダー（プロフェッショナルデザイン）
=================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

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

/* ロゴ（大きく目立つように） */
.site-logo {
    display: flex;
    align-items: center;
    z-index: 1001;
    flex-shrink: 0;
}

.site-logo img {
    height: 65px;
    width: auto;
}

.site-logo .logo-text {
    font-size: 36px;
    font-weight: 700;
    color: #2c5f2d;
    letter-spacing: 0.05em;
}

/* メインナビゲーション */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    gap: 0;
    align-items: stretch;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
    border-right: 1px solid #e0e0e0;
}

.main-nav li:first-child a {
    border-left: 1px solid #e0e0e0;
}

.main-nav-icon {
    font-size: 28px;
    margin-bottom: 5px;
    line-height: 1;
}

.main-nav-text {
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
}

.main-nav a:hover {
    background: #f8f8f8;
    color: #2c5f2d;
}

/* ヘッダー右側（電話番号 + CTAボタン） */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border: 2px solid #2c5f2d;
    background: #fff;
}

.header-phone-icon {
    font-size: 28px;
    line-height: 1;
}

.header-contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header-contact-label {
    font-size: 11px;
    color: #666;
    line-height: 1;
}

.header-phone {
    font-size: 22px;
    font-weight: 700;
    color: #2c5f2d;
    text-decoration: none;
    line-height: 1;
}

.header-phone:hover {
    opacity: 0.8;
}

.header-cta {
    background: #2c5f2d;
    color: #fff;
    padding: 20px 35px;
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: none;
}

.header-cta:hover {
    background: #1f4420;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.3);
}

/* ハンバーガーメニュー（モバイル用） */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #2c5f2d;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ===================================
   ヒーローセクション
=================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #f5f5f5;
    margin-top: 105px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.75) 0%, rgba(74, 157, 78, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    color: #fff;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title {
    font-size: 58px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 28px;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 45px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.hero-btn-primary {
    background: #fff;
    color: #2c5f2d;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.hero-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.hero-features {
    display: flex;
    gap: 45px;
    margin-top: 65px;
    animation: fadeInUp 0.8s ease 1s both;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-feature-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-feature-text {
    font-size: 16px;
    font-weight: 500;
}

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

/* スクロールインジケーター */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 0;
        top: 8px;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

/* ===================================
   レスポンシブ対応
=================================== */
@media screen and (max-width: 768px) {
    .header-inner {
        padding: 12px 20px;
    }
    
    .site-logo img {
        height: 35px;
    }
    
    .site-logo .logo-text {
        font-size: 20px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .header-actions {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 100px 30px 30px;
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    .header-actions.active {
        right: 0;
    }
    
    .header-contact {
        align-items: center;
        text-align: center;
        padding: 20px;
        background: #f8f8f8;
        border-radius: 15px;
    }
    
    .header-phone {
        font-size: 28px;
        justify-content: center;
    }
    
    .header-cta {
        width: 100%;
        text-align: center;
        padding: 18px 30px;
        font-size: 18px;
    }
    
    .hero-section {
        min-height: 550px;
        margin-top: 60px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 8px 20px;
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 35px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-btn {
        padding: 16px 30px;
        font-size: 16px;
        justify-content: center;
        width: 100%;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 20px;
        margin-top: 45px;
    }
    
    .hero-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .header-phone {
        font-size: 24px;
    }
}