/* ========================================
   基本設定
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ========================================
   コンテナ
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   ヘッダー
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c5f8d;
    white-space: nowrap;
}

.company-logo {
    height: 50px;
    width: auto;
    display: block;
}

.nav-list {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-list a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-list a:hover {
    color: #4a90e2;
}

.nav-cta {
    background: #4a90e2;
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 30px;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: #357abd;
    transform: translateY(-2px);
}

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

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s;
}

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

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

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

/* ========================================
   ファーストビュー
======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 40px 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* ========================================
   スライダー
======================================== */
.slider-container {
    background: #f8f9fa;
    padding: 40px 0;
    overflow: hidden;
}

.slider {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 20px;
    animation: slide 30s linear infinite;
}

.slider-track img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   セクション共通
======================================== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #2c5f8d;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #4a90e2;
}

/* ========================================
   共通スタイル(強調表示)
======================================== */
.highlight {
    color: #4a90e2;
    font-weight: 700;
}

.highlight-large {
    color: #e74c3c;
    font-size: 1.4em;
    font-weight: 900;
}

/* ========================================
   こんな方歓迎
======================================== */
.welcome {
    background: #fff;
}

.welcome-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.welcome-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 40px 30px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.welcome-item:hover {
    transform: translateY(-10px);
}

.welcome-item p {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.8;
}

/* ========================================
   コンテンツボックス(会社紹介)
======================================== */
.about {
    background: #f8f9fa;
}

.content-box {
    display: flex;
    gap: 50px;
    align-items: center;
}

.content-image {
    flex: 1;
}

.content-image img {
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.content-text {
    flex: 1;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 20px;
}

/* ========================================
   仕事内容(左右交互レイアウト)
======================================== */
.business {
    background: #fff;
}

.business-item {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.business-item:last-of-type {
    margin-bottom: 40px;
}

.business-item.reverse {
    flex-direction: row-reverse;
}

.business-image {
    flex: 1;
}

.business-image img {
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.business-text {
    flex: 1;
}

.business-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5f8d;
    margin-bottom: 20px;
}

.business-text p {
    font-size: 1.1rem;
    line-height: 2;
}

/* ========================================
   カードグリッドレイアウト(入社後の流れ・魅力・メンバー紹介)
======================================== */
.flow,
.appeal,
.member {
    background: #fff;
}

.flow:nth-of-type(even),
.appeal:nth-of-type(even) {
    background: #f8f9fa;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-top: 75%; /* 4:3 aspect ratio (3/4 = 0.75) */
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e91e63;
    padding: 20px 25px 10px;
    text-align: left;
}

.card-text {
    font-size: 1rem;
    line-height: 1.9;
    color: #333;
    padding: 0 25px 30px;
    text-align: left;
}

/* ========================================
   CTAセクション
======================================== */
.cta-section {
    margin-top: 60px;
    padding: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    text-align: center;
    color: #fff;
}

.cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: #667eea;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

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

/* ========================================
   1日の流れ(タイムライン)
======================================== */
.schedule {
    background: #f0f0f5;
    padding: 60px 0;
}

.section-title-schedule {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: #7b68ee;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.section-subtitle-schedule {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    color: #7b68ee;
    margin-bottom: 20px;
}

.schedule-intro {
    text-align: center;
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 50px;
}

.timeline-container {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 50px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* 左側の青い縦線 */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 40px;
    bottom: 40px;
    width: 4px;
    background: linear-gradient(to bottom, #4a90e2 0%, #7b68ee 100%);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 25px;
    position: relative;
    padding-left: 10px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.time-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    min-width: 100px;
    text-align: center;
    z-index: 1;
    position: relative;
}

.time-orange {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6a3d 100%);
}

.time-yellow {
    background: linear-gradient(135deg, #ffd93d 0%, #ffb01f 100%);
    color: #333;
}

.time-green {
    background: linear-gradient(135deg, #6dd5ed 0%, #2193b0 100%);
}

.time-blue {
    background: linear-gradient(135deg, #667eea 0%, #4a90e2 100%);
}

.time-purple {
    background: linear-gradient(135deg, #a8a4f7 0%, #7b68ee 100%);
}

.timeline-content {
    flex: 1;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.timeline-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
}

/* ========================================
   おわりに
======================================== */
.closing {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
}

.closing .section-title {
    color: #fff;
}

.closing .section-title::after {
    background: #fff;
}

.closing-image {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.closing-image img {
    width: 100%;
    max-width: 700px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

.closing-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.closing-content p {
    font-size: 1.3rem;
    line-height: 2.2;
    margin-bottom: 30px;
}

.closing .highlight {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.closing .highlight-large {
    color: #fff;
    font-size: 1.5em;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ========================================
   応募フォーム
======================================== */
.contact {
    background: #fff;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.required {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-left: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s;
    font-family: 'Noto Sans JP', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* ハニーポット(非表示) */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

.error-message {
    display: block;
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
    min-height: 20px;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 18px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
}

/* ========================================
   募集要項
======================================== */
.recruitment {
    background: #f8f9fa;
}

.recruitment-content {
    max-width: 900px;
    margin: 0 auto;
}

.recruitment-item {
    background: #fff;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.recruitment-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5f8d;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4a90e2;
}

.recruitment-item p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 15px;
}

.recruitment-item ul {
    list-style: disc;
    margin-left: 25px;
}

.recruitment-item ul li {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 8px;
}

/* ========================================
   フッター
======================================== */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 50px 0 30px;
}

.footer-content {
    margin-bottom: 30px;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-info p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-info a {
    color: #4a90e2;
    transition: color 0.3s;
}

.footer-info a:hover {
    color: #357abd;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ========================================
   レスポンシブ対応(タブレット)
======================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .content-box {
        flex-direction: column;
    }
    
    .business-item {
        gap: 30px;
    }
    
    /* カードグリッド - タブレットでは2列 */
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* ========================================
   レスポンシブ対応(スマホ)
======================================== */
@media (max-width: 768px) {
    /* ヘッダー */
    .header-container {
        padding: 12px 20px;
    }
    
    .company-name {
        font-size: 1.1rem;
    }
    
    .nav {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-list a {
        display: block;
        padding: 15px 30px;
        border-bottom: 1px solid #eee;
    }
    
    .nav-cta {
        border-radius: 0;
        margin: 10px 30px;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* ファーストビュー */
    .hero {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* スライダー */
    .slider-track img {
        width: 300px;
        height: 225px;
    }
    
    /* セクション */
    section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    /* コンテンツボックス */
    .content-text p {
        font-size: 1rem;
    }
    
    /* 仕事内容 */
    /* スマホでは必ず写真→文章の順序 */
    .business-item {
        flex-direction: column !important;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .business-subtitle {
        font-size: 1.4rem;
    }
    
    .business-text p {
        font-size: 1rem;
    }
    
    /* カードグリッド(入社後の流れ・魅力・メンバー紹介) */
    /* スマホでは1列表示 */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .card-title {
        font-size: 1.3rem;
        padding: 15px 20px 8px;
    }
    
    .card-text {
        font-size: 0.95rem;
        padding: 0 20px 25px;
    }
    
    /* CTAセクション */
    .cta-section {
        padding: 30px 20px;
    }
    
    .cta-title {
        font-size: 1.4rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        padding: 12px 30px;
    }
    
    /* 1日の流れ(タイムライン) */
    .section-title-schedule {
        font-size: 1.5rem;
    }
    
    .section-subtitle-schedule {
        font-size: 1rem;
    }
    
    .schedule-intro {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
    
    .timeline-container {
        padding: 25px 20px;
    }
    
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
        padding-left: 5px;
    }
    
    .time-badge {
        font-size: 0.85rem;
        padding: 6px 16px;
        min-width: auto;
    }
    
    .timeline-title {
        font-size: 1.1rem;
    }
    
    .timeline-text {
        font-size: 0.9rem;
    }
    
    /* おわりに */
    .closing-image {
        margin-bottom: 30px;
    }
    
    .closing-image img {
        border-radius: 10px;
    }
    
    .closing-content p {
        font-size: 1.1rem;
    }
    
    /* フォーム */
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-group label {
        font-size: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
    }
    
    /* 募集要項 */
    .recruitment-item {
        padding: 25px 20px;
    }
    
    .recruitment-item h3 {
        font-size: 1.3rem;
    }
    
    .recruitment-item p,
    .recruitment-item ul li {
        font-size: 0.95rem;
    }
}

/* ========================================
   印刷用スタイル
======================================== */
@media print {
    .header,
    .hamburger,
    .slider-container,
    .cta-section,
    .contact {
        display: none;
    }
    
    section {
        page-break-inside: avoid;
    }
}