/* Global Styles */
:root {
    --primary-color: #0066cc;
    --secondary-color: #004d99;
    --accent-color: #ff6b6b;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    padding-top: 76px;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    background-color: #0f1741 !important;
}

.navbar-light {
    background-color: #0f1741 !important;
}

.navbar-light .navbar-brand,
.navbar-light .navbar-brand:hover,
.navbar-light .navbar-brand:focus {
    color: #ffffff !important;
}

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link:visited {
    color: #ffffff !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link {
    color: #ffffff !important;
}

.navbar-light .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.8);
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-brand {
    font-family: "Arial", sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff !important;
    font-size: 2rem;
}

.navbar-brand {
    padding: 0.2rem 0;
}

.navbar-brand img {
    height: 80px;
    width: auto;
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 24px;
    }
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    transition: all 0.3s ease-in-out;
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--accent-color, #ff6b6b); /* 使用橙黄色作为下划线 */
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: #4facfe;
    background-image: linear-gradient(315deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border-radius: 20px;
    transform: scale(1.1);
}

.nav-link:hover:before {
    width: 70%;
    opacity: 1;
    animation: glowLine 1.5s infinite alternate;
}

.blue-bg{ background: #128ff9 !important; color: #fff; }

.contact-btn {
    background-color: var(--primary-color);
    color: white !important;
    border-radius: 20px;
    padding: 0.5rem 1.5rem !important;
}

.contact-btn:hover {
    background-color: var(--secondary-color);
    color: white !important;
}

/* ヒーローセクション */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-color: #000;
    overflow: hidden;
}

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

.video-background video {
    position: absolute;
    top: 100%;
    left: 100%;
    min-width: 100vw;
    min-height: 100vh;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center 60%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.5); */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-buttons .btn {
    padding: 0.8rem 2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-buttons .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.hero-buttons .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons .btn {
        padding: 0.6rem 1.5rem;
        margin: 0.5rem;
    }
}

/* Solution Cards */
.solution-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.icon-wrapper i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Strength Cards */
.strength-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
}

/* Strength Feature Cards */
.strength-feature-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

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

.feature-points {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.feature-points li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.feature-points li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Expertise Cards */
.expertise-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.expertise-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.expertise-card i {
    margin-right: 0.5rem;
}

.tech-list {
    list-style: none;
    padding-left: 0;
}

.tech-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.tech-list li:last-child {
    border-bottom: none;
}

/* Certification Cards */
.certification-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.cert-icon {
    flex: 0 0 120px;
    margin-right: 2rem;
}

.cert-badge {
    width: 100%;
    height: auto;
}

.cert-content {
    flex: 1;
}

.cert-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Company Info */
.company-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.company-vision {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.vision-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.certification-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.certification-badge {
    max-width: 250px;
    height: auto;
}

/* Career Section */
.career-message, .career-positions {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.position-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.position-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

/* Career Message */
.message-content {
    padding: 2rem;
}

.message-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.message-content .lead {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.message-image img {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Job Cards */
.job-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
}

.job-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.job-icon i {
    font-size: 2rem;
    color: white;
}

.job-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.job-tags {
    margin: 1rem 0;
}

.job-tags .badge {
    margin: 0 0.25rem;
}

/* Job Detail Page */
.job-detail-content {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.detail-section {
    margin-bottom: 3rem;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.detail-section h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
}

.condition-table {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.condition-row {
    display: flex;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.condition-label {
    flex: 0 0 150px;
    font-weight: bold;
    color: var(--primary-color);
}

.condition-content {
    flex: 1;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin: 0 0 0.5rem;
}

.entry-cta {
    background-color: #f8f9fa;
}

/* Benefit Cards */
.benefit-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.benefit-card ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.benefit-card ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.benefit-card ul li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Entry CTA */
.entry-cta {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/entry-cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0;
}

.entry-cta h2 {
    margin-bottom: 1rem;
}

.entry-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-control, .form-select {
    border: 1px solid #ddd;
    padding: 0.75rem;
    border-radius: 5px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

/* Contact Types */
.contact-type-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-type-card:hover {
    transform: translateY(-5px);
}

.type-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.type-icon i {
    font-size: 2rem;
    color: white;
}

.contact-type-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-label.required::after {
    content: '*';
    color: red;
    margin-left: 0.25rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.25);
}

/* Contact Info Cards */
.contact-info-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info-card i {
    margin-right: 0.5rem;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-hours {
    color: #666;
}

.email-address {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
footer.bg-dark {
    background: linear-gradient(135deg, #2c3e50, #4a69bd);
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    padding: 40px 0 20px;
}

footer.bg-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%233498db' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.8;
}

footer .container {
    position: relative;
}

footer h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

footer p {
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.1s forwards;
}

.footer-links {
    padding-left: 0;
    list-style: none;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
}

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

.bg-dark {
    background-color: #2c3e50 !important;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #fff;
    transform: translateY(-3px);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: none;
    transform: translateX(5px);
}

.footer-links a::before {
    content: "→";
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
    left: -15px;
}

footer .company-logo {
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

footer .mt-4 {
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.3s forwards;
}

/* News Section */
.news-section {
    background-color: #ffffff;
}

.news-card {
    height: 100%;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-date {
    color: #666;
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    padding-top:60px;
    margin-top: 40px;
    background: linear-gradient(135deg, #2c3e50, #4a69bd);
    color: white;
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 2rem;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%233498db' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.8;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    color: #ffffff;
}

.page-header .lead {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

/* 页面头部动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* index页面的头部样式，覆盖通用样式 */
.hero-section + .section {
    margin-top: 0;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-content h4 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    font-size: 1.2rem;
}

.service-content ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.service-content ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-content ul li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Development Process */
.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.process-step {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: absolute;
    top: -20px;
    left: 2rem;
}

/* Quality Cards */
.quality-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quality-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quality-card i {
    margin-right: 0.5rem;
}

/* Contact CTA */
.contact-cta {
    background-color: var(--light-gray);
}

.contact-cta h2 {
    margin-bottom: 1rem;
}

.contact-cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Philosophy Cards */
.philosophy-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.philosophy-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.philosophy-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Company Info Table */
.company-info-table {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-row {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    flex: 0 0 150px;
    font-weight: bold;
    color: var(--primary-color);
}

.info-content {
    flex: 1;
}

/* Executive Cards */
.executive-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.executive-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

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

.executive-info {
    padding: 1.5rem;
}

.executive-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.position {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.timeline-date {
    flex: 0 0 150px;
    text-align: right;
    padding-right: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.timeline-content {
    flex: 0 0 50%;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-left: 2rem;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Access Section */
.access-section {
    background-color: #ffffff;
    padding: 5rem 0;
}

.access-map {
    margin-bottom: 2rem;
}

.access-map iframe {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.access-info {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    height: 100%;
}

.access-info h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.access-info p {
    margin-bottom: 0;
    line-height: 1.8;
}

.access-info ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.access-info ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.access-info ul li:before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: #007bff;
}

.access-info ul li:last-child {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .access-info {
        margin-bottom: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .solution-card, .strength-card {
        margin-bottom: 30px;
    }
    
    /* page-header响应式样式 */
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header .lead {
        font-size: 1rem;
    }
    
    /* footer响应式样式 */
    footer.bg-dark {
        padding: 30px 0 15px;
    }
    
    footer h4 {
        font-size: 1.3rem;
    }
    
    .footer-links {
        margin-bottom: 20px;
    }
    
    footer .company-logo {
        font-size: 1.7rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

/* エントリーフォーム */
.entry-form {
    margin-top: 80px;
}

.entry-form .card {
    border: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.entry-form h3 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
}

.entry-form .form-label {
    font-weight: 500;
}

.entry-form .text-danger {
    font-weight: bold;
}

.entry-form .form-text {
    color: #666;
    font-size: 0.85rem;
}

.entry-form .form-check-label a {
    color: #007bff;
    text-decoration: none;
}

.entry-form .form-check-label a:hover {
    text-decoration: underline;
}

/* エントリー完了ページ */
.completion-section {
    margin-top: 80px;
}

.completion-content {
    background: #fff;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.completion-icon {
    color: #28a745;
    margin-bottom: 2rem;
}

.step-list {
    max-width: 600px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.step-number {
    width: 30px;
    height: 30px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.step-content h3 {
    margin: 0 0 0.5rem 0;
}

.step-content p {
    margin: 0;
    color: #666;
}

.notes ul li {
    margin-bottom: 0.5rem;
    color: #666;
}

.notes ul li i {
    margin-right: 0.5rem;
}

.contact-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.button-group {
    margin-top: 2rem;
}

/* フォームバリデーション */
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* 個人情報保護方針 */
.privacy-policy {
    background-color: #fff;
}

.policy-content {
    max-width: 1200px;
    margin: 0 auto;
}

.policy-section h2 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
}

.policy-section ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
    color: #555;
}

.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.contact-details {
    margin-top: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.policy-footer {
    color: #666;
    font-size: 0.9rem;
}

/* 会社情報ページ */
.company-info table {
    width: 100%;
    margin-top: 2rem;
}

.company-info th {
    width: 25%;
    background-color: #f8f9fa;
    vertical-align: middle;
}

.company-info td {
    width: 75%;
}

.location-info {
    margin-top: 4rem;
}

.access-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    height: 100%;
}

.access-info h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.access-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.access-info li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.access-info li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007bff;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* 採用情報ページ */
.career-card {
    transition: transform 0.3s ease;
}

.career-card:hover {
    transform: translateY(-5px);
}

.career-points {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.career-points li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.career-points li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #007bff;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-item i {
    font-size: 2.5rem;
    color: #007bff;
}

.benefit-item h4 {
    margin: 1rem 0;
    font-size: 1.2rem;
}

.career-message {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.career-message h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

/* 採用詳細ページ */
.job-details h2 {
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
}

.job-details h3 {
    color: #444;
    margin: 1rem 0;
}

.position-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.training-timeline {
    position: relative;
    padding-left: 2rem;
}

.training-timeline .timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.training-timeline .timeline-item:before {
    content: "";
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: #007bff;
    border-radius: 50%;
}

.training-timeline .timeline-item:after {
    content: "";
    position: absolute;
    left: -1.6rem;
    top: 1.5rem;
    width: 2px;
    height: calc(100% - 1rem);
    background: #dee2e6;
}

.training-timeline .timeline-item:last-child:after {
    display: none;
}

.schedule-timeline {
    position: relative;
    padding-left: 1.5rem;
}

.schedule-timeline .timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.schedule-timeline .timeline-item:before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 0.8rem;
    height: 0.8rem;
    background: #007bff;
    border-radius: 50%;
}

.schedule-timeline .timeline-item:after {
    content: "";
    position: absolute;
    left: -1.2rem;
    top: 1.3rem;
    width: 2px;
    height: calc(100% - 0.8rem);
    background: #dee2e6;
}

.schedule-timeline .timeline-item:last-child:after {
    display: none;
}

/* 情報セキュリティ方針ページ */
.security-policy {
    background-color: #fff;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.policy-text {
    line-height: 1.8;
    color: #333;
}

.policy-text p {
    margin-bottom: 1.5rem;
}

.security-objectives {
    list-style: none;
    padding-left: 0;
    margin: 2rem 0;
}

.security-objectives li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.security-objectives li:before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: #007bff;
    font-size: 1.5rem;
    line-height: 1;
}

.declaration-date,
.company-name,
.ceo-name {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.company-name {
    font-weight: bold;
}

.ceo-name {
    font-weight: bold;
    margin-bottom: 0;
}

/* ロゴスタイル */
.footer h4.company-logo {
    font-family: "Arial", sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* 他のTOYODATA表記にも適用 */
.company-logo-text {
    font-family: "Arial", sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* 事業内容リスト */
.business-list {
    padding-left: 1.5rem;
    margin-bottom: 0;
    margin-top: 0.5rem;
}

.business-list li {
    margin-bottom: 0.3rem;
}

.business-list li:last-child {
    margin-bottom: 0;
}

.company-info .table th {
    width: 25%;
    background-color: #f8f9fa;
    vertical-align: middle;
}

.company-info .table td {
    vertical-align: middle;
}

/* Job Listings Table */
.job-listings .table {
    background-color: #fff;
}

.job-listings .table td {
    padding: 1.5rem;
    vertical-align: top;
}

.job-listings .table h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.job-listings .table p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.job-listings .badge {
    font-size: 0.875rem;
    padding: 0.5em 1em;
}

.job-listings .btn-outline-primary {
    padding: 0.5rem 1.5rem;
}

/* 添加标准footer和特殊页面footer样式 */
footer.footer {
    background: linear-gradient(135deg, #2c3e50, #4a69bd);
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    padding: 40px 0 20px;
}

footer.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%233498db' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.8;
}

/* News Section */

/* 樱花花瓣样式 */
.sakura {
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url('../images/sakura.png'); /* 请替换为樱花花瓣的图片路径 */
    background-size: cover;
    opacity: 1;
    pointer-events: none;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}
