/* ====================
   リセットと基本設定
   ==================== */

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

:root {
    --primary-color: #1a5490;
    --secondary-color: #2874c0;
    --accent-color: #e67e22;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.subsection-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 5px solid var(--accent-color);
}

.subsection-title i {
    margin-right: 10px;
    color: var(--accent-color);
}

/* ====================
   ヘッダー
   ==================== */

.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    height: 60px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 300;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* ====================
   ヒーローセクション
   ==================== */

.hero {
    position: relative;
    background: 
        linear-gradient(135deg, 
            rgba(26, 84, 144, 0.95) 0%, 
            rgba(40, 116, 192, 0.95) 25%, 
            rgba(58, 136, 208, 0.93) 50%, 
            rgba(230, 126, 34, 0.9) 75%, 
            rgba(211, 84, 0, 0.9) 100%);
    padding: 120px 0;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.03) 10px, rgba(255, 255, 255, 0.03) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.02) 10px, rgba(255, 255, 255, 0.02) 20px);
    animation: backgroundMove 30s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 40%, rgba(40, 116, 192, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(230, 126, 34, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(58, 136, 208, 0.15) 0%, transparent 45%);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes backgroundMove {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(50px, 50px) rotate(360deg);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-logo {
    width: 200px;
    height: auto;
    margin: 0 auto 40px;
    animation: logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
    background: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 30px;
    animation: titleSlide 1.2s ease;
    text-shadow: 
        3px 3px 10px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 255, 255, 0.3);
    letter-spacing: 4px;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: lineGrow 1.5s ease;
}

@keyframes titleSlide {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes lineGrow {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 150px;
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: 1.6rem;
    color: var(--bg-white);
    margin-bottom: 50px;
    line-height: 2;
    animation: subtitleFade 1.5s ease;
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

@keyframes subtitleFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tagline {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    animation: taglinePop 1.8s ease;
}

@keyframes taglinePop {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-tagline span {
    color: var(--bg-white);
    font-size: 1.15rem;
    font-weight: 600;
    padding: 15px 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 30px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    cursor: default;
}

.hero-tagline span:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero-tagline .separator {
    background: none;
    border: none;
    padding: 0;
    font-weight: 200;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.hero-tagline .separator:hover {
    transform: none;
    background: none;
}

/* ====================
   ご挨拶セクション
   ==================== */

.greeting {
    background-color: var(--bg-light);
}

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

.greeting-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.greeting-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.signature {
    margin-top: 40px;
    text-align: right;
    padding: 30px;
    background-color: var(--bg-white);
    border-left: 5px solid var(--accent-color);
    border-radius: 5px;
}

.signature-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.signature-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
}

/* ====================
   沿革セクション
   ==================== */

.history {
    background-color: var(--bg-white);
}

.history-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.history-item {
    display: flex;
    margin-bottom: 60px;
    position: relative;
    gap: 40px;
}

.history-year {
    min-width: 120px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
    padding-top: 10px;
}

.history-content {
    flex: 1;
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 25px;
    position: relative;
    transition: var(--transition);
}

.history-content::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 30px;
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    border: 4px solid var(--bg-white);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--accent-color);
}

.history-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.history-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.history-icon i {
    font-size: 1.8rem;
    color: var(--bg-white);
}

.history-text h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.6;
}

.history-text p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ====================
   事業概要カード
   ==================== */

.business-overview {
    background-color: var(--bg-white);
}

.business-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.business-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.business-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.business-icon i {
    font-size: 2.5rem;
    color: var(--bg-white);
}

.business-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.business-card p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.card-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

.card-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.card-link:hover i {
    transform: translateX(5px);
}

/* ====================
   共同購買事業セクション
   ==================== */

.kyodo-kobai {
    background-color: var(--bg-light);
}

.intro-text {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
}

.content-section {
    margin-bottom: 60px;
}

.info-box {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.info-box h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.info-box h5 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin: 25px 0 15px;
    font-weight: 600;
}

.info-box p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.styled-list {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.styled-list li {
    padding: 10px 0 10px 30px;
    position: relative;
}

.styled-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.highlight-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-left: 5px solid var(--accent-color);
}

.requirements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 25px;
}

.requirement-item {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
}

.requirement-item h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.requirement-item i {
    margin-right: 10px;
    color: var(--accent-color);
}

/* ====================
   技能実習生受入事業セクション
   ==================== */

.ginou-jisshu {
    background-color: var(--bg-white);
}

.quote-box {
    background-color: var(--bg-light);
    border-left: 5px solid var(--accent-color);
    padding: 25px;
    margin: 20px 0;
    font-style: italic;
    position: relative;
}

.quote-box::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 10px;
}

.quote-box cite {
    display: block;
    margin-top: 15px;
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-color), #d35400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--bg-white);
}

.feature-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.responsibility-box {
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
}

.responsibility-box i {
    color: #ffc107;
    margin-right: 10px;
}

.responsibilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.responsibility-card {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.responsibility-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.responsibility-card i {
    margin-right: 10px;
    color: var(--accent-color);
}

/* ====================
   期間ダイアグラム
   ==================== */

.period-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 40px 0;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: 10px;
}

.period-item {
    text-align: center;
}

.period-badge {
    padding: 15px 25px;
    border-radius: 50px;
    color: var(--bg-white);
    font-weight: 700;
    margin-bottom: 10px;
    white-space: nowrap;
}

.badge-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.badge-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.badge-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.badge-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.period-arrow {
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: 700;
}

.note-box {
    background-color: #e7f3ff;
    border: 2px solid #2196f3;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.note-box p {
    margin-bottom: 10px;
}

.note-box ul {
    margin-left: 20px;
    margin-top: 10px;
}

/* ====================
   テーブル
   ==================== */

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.info-table th,
.info-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.info-table th {
    background-color: var(--primary-color);
    color: var(--bg-white);
    font-weight: 600;
    width: 30%;
}

.info-table td {
    background-color: var(--bg-white);
}

/* ====================
   役割グリッド
   ==================== */

.role-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.role-item {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    border-top: 4px solid var(--accent-color);
}

.role-item h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.role-item i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* ====================
   タイムライン
   ==================== */

.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 50px;
}

.timeline-number {
    position: absolute;
    left: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.timeline-content {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.timeline-content ul {
    margin-top: 15px;
    margin-left: 20px;
}

.timeline-content li {
    margin-bottom: 8px;
}

/* ====================
   費用セクション
   ==================== */

.cost-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.cost-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.cost-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cost-card h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cost-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 20px 0;
}

.cost-detail {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.highlight-card {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe0b3 100%);
    border-color: var(--accent-color);
}

.cost-summary {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    margin-top: 50px;
}

.cost-summary h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.summary-table tr {
    border-bottom: 2px solid var(--border-color);
}

.summary-table th {
    padding: 20px;
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
    width: 40%;
}

.summary-table .cost-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    padding: 20px;
}

.summary-table .cost-note {
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 20px;
}

.note-text {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ====================
   特定技能制度セクション
   ==================== */

.tokutei-gino {
    background-color: var(--bg-light);
}

/* 比較表 */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    font-weight: 600;
    font-size: 1.05rem;
}

.comparison-table tbody tr:hover {
    background-color: var(--bg-light);
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

/* 特定技能タイプカード */
.tokutei-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.tokutei-type-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tokutei-type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.type-header {
    padding: 25px;
    text-align: center;
    color: var(--bg-white);
}

.type-1 .type-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.type-2 .type-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.type-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.type-content {
    padding: 30px;
}

.type-description {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.8;
    font-weight: 500;
}

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

.type-features li {
    padding: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.type-features li:last-child {
    border-bottom: none;
}

.type-features i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* 産業分野グリッド */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.industry-item {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.industry-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.industry-item i {
    font-size: 2rem;
    color: var(--accent-color);
}

.industry-item span {
    font-weight: 500;
    color: var(--text-color);
}

/* サポートグリッド */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.support-card {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.support-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-color), #d35400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-icon i {
    font-size: 2rem;
    color: var(--bg-white);
}

.support-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.support-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 移行図 */
.transition-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 40px 0;
    padding: 30px;
    background-color: var(--bg-white);
    border-radius: 10px;
}

.transition-step {
    text-align: center;
}

.step-box {
    padding: 20px 30px;
    border-radius: 10px;
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    min-width: 150px;
}

.highlight-box {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe0b3 100%);
    border-color: var(--accent-color);
    border-width: 3px;
}

.step-box h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.step-box p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.transition-arrow {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
}

.special-arrow {
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.5;
    color: var(--accent-color);
    font-weight: 600;
}

.highlight-text {
    background-color: #fff3cd;
    padding: 15px 20px;
    border-left: 4px solid #ffc107;
    margin: 20px 0;
    font-weight: 600;
}

/* サービス利点 */
.service-benefits {
    margin-top: 25px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    margin-bottom: 15px;
    background-color: var(--bg-white);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.benefit-item i {
    font-size: 1.8rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.benefit-item h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ====================
   お問い合わせセクション
   ==================== */

.contact {
    background-color: var(--bg-light);
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-address {
    margin-bottom: 50px;
}

.address-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
}

.address-card > i {
    font-size: 3.5rem;
    opacity: 0.9;
}

.address-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.address-text {
    font-size: 1.1rem;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.address-text i {
    margin-right: 8px;
    color: var(--accent-color);
}

.contact-info p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-method {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-method i {
    font-size: 2.5rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.contact-method h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-method p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-number {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    margin-bottom: 8px !important;
}

.contact-details {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-details span {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

.contact-details i {
    margin-right: 10px;
    color: var(--accent-color);
    width: 20px;
}

.license-info {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.license-info span {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
}

.license-info i {
    margin-right: 10px;
    color: var(--accent-color);
    width: 20px;
}

/* ====================
   フッター
   ==================== */

.footer {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--bg-white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.footer-motto {
    font-style: italic;
    font-weight: 600;
    color: var(--bg-white) !important;
}

.footer-address {
    margin-top: 15px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6;
}

.footer-address i {
    margin-right: 5px;
    color: var(--accent-color);
}

.footer-contact {
    margin-top: 15px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.8;
}

.footer-contact i {
    margin-right: 8px;
    color: var(--accent-color);
    width: 18px;
    display: inline-block;
}

.footer-license {
    margin-top: 15px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.8;
}

.footer-license i {
    margin-right: 8px;
    color: var(--accent-color);
    width: 18px;
    display: inline-block;
}

.footer-links {
    list-style: none;
}

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

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

.footer-links a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

/* ====================
   トップに戻るボタン
   ==================== */

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ====================
   レスポンシブデザイン
   ==================== */

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

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

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

    /* ヘッダー */
    .header-content {
        flex-wrap: wrap;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        width: 100%;
        order: 3;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }

    /* ロゴ */
    .logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .logo-image {
        height: 50px;
    }

    /* ヒーロー */
    .hero {
        padding: 80px 0;
        min-height: 500px;
    }

    .hero-logo {
        width: 160px;
        padding: 20px;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
        margin-bottom: 25px;
    }

    .hero-title::after {
        width: 100px;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 40px;
    }

    .hero-tagline {
        flex-direction: column;
        gap: 15px;
    }

    .hero-tagline span {
        font-size: 1.05rem;
        padding: 12px 25px;
    }

    /* ビジネスカード */
    .business-cards {
        grid-template-columns: 1fr;
    }

    /* 沿革 */
    .history-timeline::before {
        left: 15px;
    }

    .history-item {
        flex-direction: column;
        gap: 15px;
        padding-left: 40px;
    }

    .history-year {
        min-width: auto;
        text-align: left;
        padding-top: 0;
        font-size: 1.2rem;
    }

    .history-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 20px;
    }

    .history-content::before {
        left: -55px;
        top: 20px;
        width: 16px;
        height: 16px;
    }

    .history-icon {
        width: 50px;
        height: 50px;
    }

    .history-icon i {
        font-size: 1.5rem;
    }

    .history-text h3 {
        font-size: 1.1rem;
    }

    /* 期間ダイアグラム */
    .period-diagram {
        flex-direction: column;
    }

    .period-arrow {
        transform: rotate(90deg);
    }

    /* タイムライン */
    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        left: -5px;
    }

    /* コストグリッド */
    .cost-grid {
        grid-template-columns: 1fr;
    }

    /* 特定技能 */
    .tokutei-types {
        grid-template-columns: 1fr;
    }

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

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

    .transition-diagram {
        flex-direction: column;
        padding: 20px;
    }

    .transition-arrow {
        transform: rotate(90deg);
    }

    .special-arrow {
        transform: none;
        font-size: 1rem;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }

    /* テーブル */
    .info-table {
        font-size: 0.9rem;
    }

    .info-table th,
    .info-table td {
        padding: 10px;
    }

    .summary-table th {
        font-size: 0.95rem;
    }

    .summary-table .cost-value {
        font-size: 1.5rem;
    }

    /* コンタクト */
    .address-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .address-card > i {
        font-size: 2.5rem;
    }

    .license-info {
        align-items: center;
    }

    .license-info span {
        font-size: 0.85rem;
        text-align: center;
    }

    /* フッター */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* スクロールトップボタン */
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-image {
        height: 40px;
    }

    .logo-text h1 {
        font-size: 1.4rem;
    }

    /* ヒーロー */
    .hero {
        padding: 60px 0;
        min-height: 450px;
    }

    .hero-logo {
        width: 130px;
        padding: 15px;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }

    .hero-title::after {
        width: 80px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 35px;
    }

    .hero-tagline span {
        font-size: 0.95rem;
        padding: 10px 20px;
    }

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

    .subsection-title {
        font-size: 1.3rem;
        padding-left: 15px;
    }

    .business-icon {
        width: 60px;
        height: 60px;
    }

    .business-icon i {
        font-size: 2rem;
    }

    .cost-amount {
        font-size: 1.6rem;
    }

    .period-badge {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}