@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Roboto:wght@400;500;700&display=swap');

:root {
    --primary-color: #0f2557;
    /* Navy Blue */
    --secondary-color: #28559a;
    /* Reliable Blue */
    --accent-color: #37b5e7;
    /* Tech Blue */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    color: var(--primary-color);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title p {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(15, 37, 87, 0.3);
}

.btn-outline-white {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
html {
    scroll-padding-top: 86px;
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

header nav {
    display: flex;
    justify-content: flex-start;
    gap: 60px;
    align-items: center;
}

.nav-links li:last-child a {
    color: var(--primary-color);
    font-weight: 700;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('0ddf331e4fbc0ee3df1218527916476f_t.jpeg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 37, 87, 0.85), rgba(40, 85, 154, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* News Section */
.news-section {
    padding: 60px 0;
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.news-item:hover {
    color: var(--secondary-color);
}

.news-date {
    font-family: 'Roboto', sans-serif;
    color: var(--text-light);
    margin-right: 20px;
    width: 100px;
}

.news-cat {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--bg-light);
    color: var(--secondary-color);
    font-size: 0.8rem;
    margin-right: 20px;
    border-radius: 2px;
    width: 80px;
    text-align: center;
}

.news-title {
    flex: 1;
    font-weight: 500;
}

/* Service Section */
.bg-light {
    background-color: var(--bg-light);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 0.95rem;
    text-align: left;
}

.service-list {
    text-align: left;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: auto;
}

.service-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.service-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Strength Section */
.strength-section {
    padding: 100px 0;
}

.strength-wrapper {
    display: flex;
    gap: 60px;
    align-items: stretch;
}

.strength-content {
    flex: 1;
}

.strength-content h2 {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.strength-content h3 {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.strength-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.strength-item .num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-right: 20px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.strength-item .text h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.strength-item .text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.strength-image {
    flex: 1;
    position: relative;
}

.strength-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Company Section */
.company-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.company-table th {
    width: 30%;
    background-color: #fafafa;
    color: var(--primary-color);
    font-weight: 700;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

/* Recruit Section */
.recruit-section {
    background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1951&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 120px 0;
    text-align: center;
    color: var(--white);
}

.recruit-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 37, 87, 0.85);
}

.recruit-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.recruit-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.recruit-sub {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.recruit-text {
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.recruit-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.95rem;
}

.required {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-info {
    flex: 1;
    min-width: 300px;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.footer-address {
    color: #cbd5e1;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: 0.3s;
}

.footer-social a:hover {
    background: var(--accent-color);
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .strength-wrapper {
        flex-direction: column;
    }

    .strength-image {
        width: 100%;
        height: auto;
    }

    .strength-image img {
        position: static;
        height: auto;
    }

    .nav-links {
        display: none;
        /* In production, would implement JS toggle */
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--primary-color);
        margin: 5px 0;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
    }

    .company-table th {
        background: transparent;
        padding-bottom: 4px;
        color: var(--text-light);
        border: none;
        font-size: 0.85rem;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

/* Recruitment Page Styles */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    color: var(--accent-color);
    font-weight: 700;
}

.recruit-message {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.recruit-message h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    line-height: 1.4;
}

.recruit-requirements {
    max-width: 800px;
    margin: 0 auto;
}

.recruit-requirements h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-left: 5px solid var(--secondary-color);
    padding-left: 15px;
}

.recruit-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 60px;
}

.recruit-table th,
.recruit-table td {
    padding: 20px;
    border: 1px solid var(--border-color);
    text-align: left;
    vertical-align: top;
}

.recruit-table th {
    background-color: var(--bg-light);
    color: var(--primary-color);
    width: 30%;
    font-weight: 700;
}

.highlight {
    color: #e74c3c;
    font-weight: 700;
}

.highlight-blue {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.recruit-cta {
    text-align: center;
}

@media (max-width: 768px) {

    .recruit-table th,
    .recruit-table td {
        display: block;
        width: 100%;
    }

    .recruit-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }

    .recruit-table td {
        border-top: none;
        padding-top: 5px;
    }
}

/* デモヘッダー用スタイル */
.demo-head {
    padding: 40px 0 22px;
    background: #0b1220;
    color: #fff;
    position: relative;
    z-index: 1001;
}

.demo-head__inner {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.demo-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #f59e0b;
    font-weight: 800;
    margin-bottom: 10px;
}

.demo-title {
    font-size: 1.9rem;
    font-weight: 900;
    margin-bottom: 10px;
    line-height: 1.25;
    color: #fff;
}

.demo-desc {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 920px;
}

.demo-actions {
    display: flex;
    gap: 12px;
    margin: 16px 0 8px;
    flex-wrap: wrap;
}

.demo-note {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

/* 既存の .btn が無い/弱い場合に備えて最低限の見た目 */
.demo-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.demo-actions .btn-primary {
    background: #ffffff;
    color: #0b1220;
}

.demo-actions .btn-accent {
    background: #f59e0b;
    color: #0b1220;
}

/* sticky化済みのため、オフセットオーバーライド不要 */