@charset "UTF-8";

/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
    --primary-blue: #1e3c72;
    --primary-light: #2a5298;
    --accent-orange: #ff7e5f;
    --accent-pink: #feb47b;
    
    --sunset-gradient: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-pink) 100%);
    --blue-gradient: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
    
    --text-main: #222222;
    --text-light: #666666;
    --bg-gray: #f4f7f9;
    --bg-white: #ffffff;
    
    --header-height: 80px;
    --radius: 12px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    line-height: 1.8;
    margin: 0;
    padding-top: var(--header-height);
    background-color: var(--bg-white);
    letter-spacing: 0.05em;
    overflow-x: hidden;
}

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

/* ==========================================================================
   Common Utilities
   ========================================================================== */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.position-relative {
    position: relative;
    z-index: 2;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary-blue);
    line-height: 1.4;
    position: relative;
}

.text-left {
    text-align: left;
}

.section-desc {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 50px;
}

.gradient-text {
    background: var(--sunset-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blob-shape {
    position: absolute;
    background: rgba(42, 82, 152, 0.03);
    border-radius: 50%;
    z-index: 1;
}
.shape-top-right {
    top: -100px;
    right: -150px;
    width: 500px;
    height: 500px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--sunset-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 126, 95, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 126, 95, 0.5);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline-dark:hover {
    background: var(--primary-blue);
    color: #ffffff;
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: var(--primary-blue);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.header-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    gap: 4px;
    flex-shrink: 0;
}

.logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.header-sub {
    font-size: 0.7rem;
    color: var(--text-light);
    margin: 0;
    padding: 0;
    border: none;
    line-height: 1;
    font-weight: 500;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-link {
    display: inline-block;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

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

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
}
.dropdown-trigger .arrow {
    font-size: 0.6rem;
    color: var(--text-light);
    transition: transform 0.2s ease;
}
.nav-dropdown:hover .dropdown-trigger .arrow {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 8px;
    display: flex;
    flex-direction: column;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: #f4f7f9;
    color: var(--primary-blue);
}

.header-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}
.header-actions .btn {
    padding: 8px 20px;
    font-size: 0.85rem;
    white-space: nowrap;
}


/* ==========================================================================
   Hero Section (Organic)
   ========================================================================== */
.hero-organic {
    padding: 80px 0;
    background: #fafafc;
}
.hero-organic .hero-inner {
    align-items: center;
    gap: 40px;
    display: flex;
}
.hero-organic .hero-text-area {
    flex: 1; 
    min-width: 480px; 
}

.hero-organic .hero-text-area h1 {
    font-size: 3rem;
    color: var(--text-main);
    line-height: 1.4; 
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-organic .hero-text-area h1 .highlight-orange {
    color: var(--accent-orange);
    font-size: inherit;
}

.nowrap {
    white-space: nowrap;
}

.hero-badge-title {
    margin-bottom: 24px;
}

.orange-badge {
    box-shadow: none;
    display: inline-block;
    background: var(--sunset-gradient);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 6px;
    letter-spacing: 0.03em;
}

.hero-organic .hero-text-area p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.9;
}

.text-orange {
    color: var(--accent-orange);
    font-weight: 700;
}

.hero-organic .hero-image-area {
    flex: 1.5; 
    display: flex;
    justify-content: flex-end;
}

.image-blob-wrapper {
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    box-shadow: 0 15px 35px rgba(255, 126, 95, 0.15); 
    transition: all 0.5s ease-in-out;
}
.image-blob-wrapper:hover {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; 
}
.image-blob-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}


/* ==========================================================================
   2. Concept Area (フルウィズ背景)
   ========================================================================== */
.concept {
    background-color: transparent;
}

.concept-full-width {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(254, 180, 123, 0.08) 0%, rgba(42, 82, 152, 0.06) 100%);
}

.concept-text-area {
    max-width: 860px;
    margin: 0 auto;
    padding: 20px 0; 
}

.concept-text-area p {
    font-size: 1.15rem;
    line-height: 2.1;
    margin: 0;
    color: var(--text-main);
    text-align: center;
}

.concept-text-area .highlight {
    font-weight: 700;
    color: var(--primary-blue);
    background: linear-gradient(transparent 70%, rgba(254, 180, 123, 0.4) 70%);
}


/* ==========================================================================
   Companies (企業実績)
   ========================================================================== */
.companies {
    background-color: #ffffff;
    padding-top: 40px;
}
.companies-image-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.companies-image-wrapper img {
    width: 100%;
    background: #fff;
    border-radius: var(--radius);
}


/* ==========================================================================
   3. Learning Experience (まなびの経験・カードデザイン)
   ========================================================================== */
.learning {
    background-color: var(--bg-gray);
}
.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.learning-card {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}
.learning-thumb {
    height: 140px;
    background-size: cover;
    background-position: center;
}

/* サムネイル画像の設定 */
.thumb-hataraku { background-image: url('image/hataraku.jpg'); }
.thumb-jyani { background-image: url('image/jyani.jpg'); }
.thumb-live { background-image: url('image/live.jpg'); }

.learning-body {
    padding: 24px 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    position: relative;
}
.learning-body h3 {
    font-size: 1.05rem;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.5;
    font-weight: 700;
}
.learning-body h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sunset-gradient);
    margin-right: 10px;
    vertical-align: middle;
}
.learning-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--sunset-gradient);
    opacity: 1; 
}


/* ==========================================================================
   4. Career Support (スタイリッシュ縦型カード)
   ========================================================================== */
.support {
    background-color: #ffffff;
}
.support-wrapper-v2 {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.support-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 40px 48px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.support-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--blue-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-bg-number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 9rem;
    font-weight: 900;
    color: #f0f4f9;
    line-height: 1;
    z-index: 1;
    user-select: none;
    pointer-events: none;
    letter-spacing: -0.05em;
}

.support-card-body {
    position: relative;
    z-index: 2;
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 16px;
}

.card-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary-light);
    background: rgba(42, 82, 152, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
}

.card-header h3 {
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin: 0;
    transition: all 0.3s ease;
}
.card-header h3::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue-gradient);
    margin-right: 12px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.card-lead {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

.support-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(30, 60, 114, 0.12);
}
.support-card:hover::after {
    opacity: 1;
}
.support-card:hover .card-header h3::before {
    transform: scale(1.4);
}
.support-card:hover .card-header h3 {
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* サムネイルエリア */
.thumb-section {
    border-top: 1px solid #edf2f7;
    padding-top: 24px;
}
.thumb-section-title {
    font-size: 0.95rem;
    color: var(--primary-blue);
    margin-bottom: 16px;
    font-weight: 700;
}
.thumb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.thumb-item {
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    border: 1px solid #edf2f7; 
    overflow: hidden;
    background-color: #ffffff;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ▼ aタグに限定することで、divタグではホバーアニメーションさせない */
a.thumb-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 60, 114, 0.08); 
    border-color: transparent; 
}

.thumb-image {
    width: 100%;
    height: 130px;
    position: relative;
    overflow: hidden;
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center;
    background-color: #ffffff; 
    display: flex;
    align-items: flex-end;
    padding: 8px;
    border-bottom: 1px solid #edf2f7; 
    border-radius: 12px 12px 0 0;
}

/* サムネイル画像の設定 */
.img-koramu1 { background-image: url('image/koramu1.jpg'); }
.img-koramu2 { background-image: url('image/koramu2.jpg'); }
.img-koramu3 { background-image: url('image/koramu3.jpg'); }
.img-dl1 { background-image: url('image/dl1.jpg'); }
.img-dl2 { background-image: url('image/dl2.jpg'); }
.img-dl3 { background-image: url('image/dl3.jpg'); }

.thumb-info, .thumb-title-wrapper {
    background-color: #f8fafc; 
    padding: 16px; 
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1; 
}

.category-tag {
    font-size: 0.7rem;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    position: relative;
    z-index: 2;
}

.thumb-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

/* ▼ aタグのタイトルのみホバーで色を変える */
a.thumb-item:hover .thumb-title {
    color: var(--primary-light);
}

.thumb-sub {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.3;
}


/* ==========================================================================
   5. Company Match (企業マッチ診断)
   ========================================================================== */
.match-section {
    background: var(--sunset-gradient);
    color: #ffffff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.match-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 60%; height: 200%;
    background: rgba(255,255,255,0.05);
    transform: rotate(30deg);
}
.match-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}
.match-text {
    flex: 1;
    min-width: 480px;
}
.match-title {
    font-size: 2.1rem;
    line-height: 1.4;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}
.match-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 30px;
    opacity: 0.9;
}
.match-btn {
    background: #ffffff;
    color: var(--primary-light);
}
.match-btn .arrow {
    margin-left: 8px;
    transition: transform 0.3s;
}
.match-btn:hover .arrow {
    transform: translateX(5px);
}

.match-visual {
    flex: 1.5; 
}

.match-img-wrapper {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}
.kigyoumatch-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}


/* ==========================================================================
   6. Message & Closing
   ========================================================================== */
.closing {
    background-color: var(--bg-gray);
    text-align: center;
    padding-bottom: 0;
}
.closing-message {
    font-size: 1.25rem;
    max-width: 900px;
    margin: 0 auto 60px auto;
    line-height: 2;
    color: var(--text-main);
}
.cta-box {
    background: var(--blue-gradient);
    color: #fff;
    padding: 60px 20px;
    border-radius: 20px 20px 0 0;
    margin: 0 auto;
}
.cta-box h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}
.cta-box .btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}


/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .header-nav {
        display: none; 
    }
}

@media (max-width: 992px) {
    .hero-organic .hero-inner {
        flex-direction: column;
        text-align: center;
    }
    .hero-organic .hero-text-area {
        min-width: auto;
    }
    .hero-organic .hero-image-area {
        justify-content: center;
        margin-top: 20px;
    }
    .match-content {
        flex-direction: column;
        text-align: center;
    }
    .match-text {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .header-actions {
        display: none;
    }
    .section { padding: 60px 0; }
    .section-title { font-size: 1.8rem; }
    
    .hero-organic .hero-text-area h1 {
        font-size: 2.2rem;
    }
    .match-title {
        font-size: 1.8rem;
    }

    .support-card {
        padding: 30px 20px;
    }
    .thumb-grid {
        grid-template-columns: 1fr;
    }
    .card-bg-number {
        font-size: 6rem;
    }
    .cta-box .btn-group {
        flex-direction: column;
    }
    .cta-box .btn {
        width: 100%;
    }
}