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

:root {
    --primary-color: #2c5f8d;
    --secondary-color: #4a90d9;
    --accent-color: #52b788;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-dark: #2c3e50;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

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

/* ===========================
   ヘッダー
   =========================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 900;
    margin-bottom: 2px;
}

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

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

.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav .cta-link {
    background: var(--accent-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s;
}

.nav .cta-link:hover {
    background: #40a070;
    transform: translateY(-2px);
}

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

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 999;
}

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

.mobile-menu ul {
    list-style: none;
}

.mobile-menu a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

/* ===========================
   ヒーローセクション
   =========================== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 0L100 100M100 0L0 100" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.feature-tag i {
    font-size: 1.2rem;
}

.hero-note {
    margin-top: 20px;
    font-size: 0.95rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

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

/* ===========================
   ボタン
   =========================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #40a070;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(82, 183, 136, 0.4);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

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

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

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

.section-title-white {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    color: var(--white);
}

.section-subtitle-white {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* ===========================
   特徴セクション
   =========================== */
.features {
    background: var(--bg-light);
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s;
}

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

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

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

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

/* ===========================
   実績セクション
   =========================== */
.achievements {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.achievement-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: all 0.3s;
}

.achievement-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.achievement-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.achievement-label {
    font-size: 1.1rem;
    font-weight: 500;
}

/* ===========================
   代表挨拶セクション
   =========================== */
.greeting {
    background: var(--white);
}

.greeting-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    align-items: start;
}

.greeting-image {
    position: sticky;
    top: 100px;
}

.greeting-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.greeting-name-caption {
    text-align: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    line-height: 1.8;
}

.greeting-name-caption strong {
    font-size: 1.3rem;
    display: block;
    margin-top: 5px;
}

.greeting-text {
    font-size: 1.05rem;
    line-height: 2;
}

.greeting-name {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

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

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

.greeting-highlight {
    background: var(--bg-light);
    padding: 20px;
    border-left: 4px solid var(--accent-color);
    margin: 30px 0;
    font-weight: 500;
}

/* ===========================
   仕事内容セクション
   =========================== */
.work {
    background: var(--bg-light);
}

.work-list {
    display: grid;
    gap: 20px;
    margin-bottom: 50px;
}

.work-item {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    transition: all 0.3s;
}

.work-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.work-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #40a070);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.work-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.work-content p {
    color: var(--text-light);
}

.work-environment {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.work-environment h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.work-environment ul {
    list-style: none;
}

.work-environment li {
    padding: 10px 0;
    color: var(--text-color);
}

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

.schedule {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.schedule h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.schedule-timeline {
    display: grid;
    gap: 15px;
}

.schedule-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.schedule-item.break {
    border-left-color: var(--accent-color);
    background: #f0f9f5;
}

.time {
    font-weight: 700;
    color: var(--primary-color);
}

.activity {
    color: var(--text-color);
}

.schedule-note {
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===========================
   キャリア支援セクション
   =========================== */
.career {
    background: var(--white);
}

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

.career-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.3s;
}

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

.career-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), #40a070);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: 0 5px 15px rgba(82, 183, 136, 0.3);
}

.career-card h3 {
    font-size: 1.2rem;
    margin: 20px 0 15px;
    color: var(--primary-color);
}

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

.support-box {
    background: linear-gradient(135deg, var(--accent-color), #40a070);
    color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.support-box h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.support-box i {
    margin-right: 10px;
}

.support-box p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ===========================
   募集要項セクション
   =========================== */
.recruit {
    background: var(--bg-light);
}

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

.recruit-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.recruit-item.full-width {
    grid-column: 1 / -1;
}

.recruit-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.recruit-item i {
    margin-right: 10px;
}

.recruit-item p {
    color: var(--text-color);
    line-height: 1.8;
}

.recruit-item strong {
    color: var(--primary-color);
    font-weight: 700;
}

.trial-info {
    margin-top: 40px;
    text-align: center;
    font-size: 1.1rem;
}

.trial-info p {
    display: inline-block;
    margin: 0 20px;
    padding: 15px 30px;
    background: var(--white);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

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

/* ===========================
   応募フローセクション
   =========================== */
.flow {
    background: var(--white);
}

.flow-steps {
    max-width: 600px;
    margin: 0 auto;
}

.flow-step {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.3s;
}

.flow-step:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    color: var(--white);
    font-size: 1.5rem;
}

.flow-step h3 {
    text-align: center;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.flow-step p {
    text-align: center;
    color: var(--text-light);
    line-height: 1.7;
}

.flow-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--accent-color);
    margin: 20px 0;
}

/* ===========================
   お問い合わせセクション
   =========================== */
.contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

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

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.contact-item i {
    font-size: 1.2rem;
    margin-top: 5px;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-item a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.contact-form-container {
    background: var(--white);
    color: var(--text-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form-container h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

.contact-form button[type="submit"]:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.contact-form button[type="submit"]:disabled:hover {
    background: #ccc;
    transform: none;
    box-shadow: none;
}

.contact-notes {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
}

.contact-notes ul {
    list-style: none;
}

.contact-notes li {
    padding: 10px 0;
    font-size: 1.05rem;
}

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

/* ===========================
   企業情報セクション
   =========================== */
.company-info {
    background: var(--bg-light);
}

.company-details table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.company-details th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    width: 200px;
}

.company-details tr:last-child th,
.company-details tr:last-child td {
    border-bottom: none;
}

/* ===========================
   フッター
   =========================== */
.footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-logo p {
    margin-bottom: 5px;
    opacity: 0.8;
}

.slogan {
    margin-top: 15px;
    font-weight: 600;
    color: var(--accent-color);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    display: block;
    padding: 8px 0;
    opacity: 0.8;
    transition: all 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 10px;
}

.footer-contact p {
    margin-bottom: 15px;
    opacity: 0.8;
}

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

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

/* ===========================
   トップへ戻るボタン
   =========================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

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

.scroll-to-top:hover {
    background: #40a070;
    transform: translateY(-5px);
}

/* ===========================
   レスポンシブデザイン
   =========================== */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

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

    .hero {
        padding: 60px 0;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

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

    .features-grid,
    .career-grid,
    .recruit-grid {
        grid-template-columns: 1fr;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .achievement-number {
        font-size: 2.5rem;
    }

    .greeting-content {
        grid-template-columns: 1fr;
        gap: 30px;
        display: flex;
        flex-direction: column;
    }

    .greeting-image {
        position: relative;
        top: 0;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
    }

    .greeting-image img {
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }

    .greeting-name-caption {
        font-size: 1rem;
    }

    .greeting-name-caption strong {
        font-size: 1.2rem;
    }

    .greeting-text {
        font-size: 1rem;
    }

    .schedule-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .company-details th {
        width: 120px;
        font-size: 0.9rem;
    }

    .company-details th,
    .company-details td {
        padding: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title,
    .section-title-white {
        font-size: 1.5rem;
    }

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

    .btn-large {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .greeting-image img {
        max-width: 250px;
    }

    .greeting-name-caption {
        font-size: 0.9rem;
    }

    .greeting-name-caption strong {
        font-size: 1.1rem;
    }

    .greeting-text {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .greeting-text p {
        margin-bottom: 15px;
    }
}
