/* ===================================
   リセット・基本設定
=================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ===================================
   コンテナ
=================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   ヘッダー
=================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 50px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

.header-company-name {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    white-space: nowrap;
}

/* ナビゲーション */
.nav {
    display: block;
}

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

.nav-list li a {
    color: #333;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-list li a:hover {
    color: #00ADED;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================
   ファーストビュー
=================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 40px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-emphasis {
    color: #fff;
    font-size: 52px;
}

.hero-text {
    font-size: 22px;
    line-height: 1.8;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* ===================================
   スライダー
=================================== */
.slider-section {
    overflow: hidden;
    background-color: #f8f9fa;
    padding: 60px 0;
}

.slider {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    animation: scroll 40s linear infinite;
}

.slide {
    flex: 0 0 300px;
    padding: 0 10px;
}

.slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===================================
   こんな方歓迎
=================================== */
.welcome-section {
    padding: 80px 0;
    background-color: #fff;
}

.welcome-grid {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    justify-content: center;
}

.welcome-item {
    flex: 1;
    max-width: 350px;
    text-align: center;
    background-color: #f8f9fa;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.welcome-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.welcome-icon {
    font-size: 64px;
    margin-bottom: 20px;
    line-height: 1;
}

.welcome-title {
    font-size: 20px;
    font-weight: 700;
    color: #00ADED;
    line-height: 1.6;
}

.welcome-text {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8;
}

.highlight {
    color: #00ADED;
    font-weight: 700;
    font-size: 20px;
}

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

.section-title {
    font-size: 40px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    color: #00ADED;
    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, #00ADED, #0088CC);
}

/* ===================================
   ABOUT US
=================================== */
.about-section {
    background-color: #f8f9fa;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-image {
    margin-bottom: 40px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.about-content p {
    font-size: 18px;
    line-height: 2;
    text-align: center;
}

.important-text {
    color: #00ADED;
    font-weight: 700;
    font-size: 20px;
}

/* ===================================
   コンテンツグリッド（仕事内容・入社後の流れ・魅力・メンバー紹介）
=================================== */
.content-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.content-item {
    display: flex;
    gap: 40px;
    align-items: center;
}

.content-item.reverse {
    flex-direction: row-reverse;
}

.content-image {
    flex: 0 0 45%;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.content-text {
    flex: 1;
}

.content-subtitle {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #00ADED;
}

.content-text p {
    font-size: 17px;
    line-height: 2;
}

.emphasis-text {
    color: #00ADED;
    font-weight: 700;
    font-size: 19px;
}

/* ===================================
   カードレイアウト（入社後の流れ・魅力・メンバー紹介用）
=================================== */
.flow-section .content-grid,
.appeal-section .content-grid,
.members-section .content-grid {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
}

.flow-section .content-item,
.appeal-section .content-item,
.members-section .content-item {
    flex-direction: column;
    flex: 1;
    min-width: 220px;
    background-color: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.flow-section .content-item:hover,
.appeal-section .content-item:hover,
.members-section .content-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.flow-section .content-item.reverse,
.appeal-section .content-item.reverse,
.members-section .content-item.reverse {
    flex-direction: column;
}

.flow-section .content-image,
.appeal-section .content-image,
.members-section .content-image {
    flex: none;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.flow-section .content-image img,
.appeal-section .content-image img,
.members-section .content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* 明るさ調整（暗い画像用） */
.brighten-image {
    filter: brightness(1.3) contrast(1.1);
}

.flow-section .content-text,
.appeal-section .content-text,
.members-section .content-text {
    flex: 1;
}

.flow-section .content-subtitle,
.appeal-section .content-subtitle,
.members-section .content-subtitle {
    font-size: 22px;
    text-align: center;
    margin-bottom: 15px;
}

.flow-section .content-text p,
.appeal-section .content-text p,
.members-section .content-text p {
    font-size: 15px;
    line-height: 1.9;
}

/* ===================================
   各セクション背景色
=================================== */
.work-section {
    background-color: #fff;
}

.flow-section {
    background-color: #f8f9fa;
}

.appeal-section {
    background-color: #fff;
}

.members-section {
    background-color: #f8f9fa;
}

/* ===================================
   CTA（応募セクション）
=================================== */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #00ADED 0%, #0088CC 100%);
    color: #fff;
    text-align: center;
}

.cta-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #FF6B35;
    color: #fff;
}

.btn-primary:hover {
    background-color: #FF5722;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    background-color: #fff;
    color: #FF6B35;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #FF6B35;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.4);
}

/* ===================================
   1日の流れ
=================================== */
.schedule-section {
    background-color: #fff;
}

.schedule-list {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.schedule-list p {
    font-size: 17px;
    line-height: 2.5;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.schedule-list p:last-child {
    border-bottom: none;
}

/* ===================================
   おわりに
=================================== */
.closing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #00ADED 0%, #0088CC 100%);
    color: #fff;
}

.closing-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.closing-image {
    margin-bottom: 40px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.closing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.closing-content p {
    font-size: 20px;
    line-height: 2.2;
    text-align: center;
}

.closing-content .important-text {
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.closing-section .section-title {
    color: #fff;
}

.closing-section .section-title::after {
    background: #fff;
}

/* ===================================
   募集要項
=================================== */
.requirements-section {
    background-color: #f8f9fa;
}

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

.requirement-block {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.requirement-block h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #00ADED;
}

.requirement-block p {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 10px;
}

.requirement-block p:last-child {
    margin-bottom: 0;
}

.requirement-block strong {
    font-weight: 700;
    color: #00ADED;
}

/* ===================================
   応募フォーム
=================================== */
.contact-section {
    background-color: #fff;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #f8f9fa;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2c3e50;
}

.required {
    color: #e74c3c;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ADED;
}

.form-group textarea {
    resize: vertical;
}

/* ハニーポット（非表示） */
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.btn-submit {
    background: linear-gradient(135deg, #00ADED 0%, #0088CC 100%);
    color: #fff;
    padding: 18px 80px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 173, 237, 0.5);
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* フォームメッセージ */
.form-message {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ===================================
   フッター
=================================== */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 50px 0 30px;
}

.footer-content {
    text-align: center;
    margin-bottom: 30px;
}

.footer-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-info p {
    font-size: 16px;
    margin-bottom: 8px;
}

.footer-info a {
    color: #fff;
    text-decoration: underline;
}

.footer-info a:hover {
    color: #e74c3c;
}

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

.footer-copyright p {
    font-size: 14px;
}

/* ===================================
   レスポンシブ対応（768px以下）
=================================== */
@media (max-width: 768px) {
    /* ヘッダー */
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(255, 255, 255, 0.98);
        transition: left 0.3s;
        overflow-y: auto;
    }

    .nav.active {
        left: 0;
    }

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

    .nav-list li {
        border-bottom: 1px solid #eee;
    }

    .nav-list li a {
        display: block;
        padding: 20px 0;
        font-size: 16px;
    }

    .hamburger {
        display: flex;
    }

    /* ファーストビュー */
    .hero {
        height: 70vh;
        min-height: 500px;
        margin-top: 70px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-emphasis {
        font-size: 30px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-content {
        padding: 20px;
    }

    /* スライダー */
    .slider-section {
        padding: 40px 0;
    }

    .slide {
        flex: 0 0 250px;
    }

    /* こんな方歓迎 */
    .welcome-grid {
        flex-direction: column;
        gap: 25px;
    }

    .welcome-item {
        max-width: 100%;
        padding: 35px 25px;
    }

    .welcome-icon {
        font-size: 56px;
        margin-bottom: 15px;
    }

    .welcome-title {
        font-size: 18px;
    }

    /* セクション */
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    /* コンテンツグリッド（重要：スマホ時の順序制御） */
    .content-grid {
        gap: 50px;
    }

    .content-item {
        flex-direction: column;
        gap: 25px;
    }

    /* スマホ時は必ず「写真→文章」の順に統一 */
    .content-item.reverse {
        flex-direction: column;
    }

    .content-image {
        flex: 1;
        width: 100%;
        order: 1; /* 写真を上に */
    }

    .content-text {
        order: 2; /* 文章を下に */
    }

    .content-subtitle {
        font-size: 22px;
    }

    .content-text p {
        font-size: 15px;
    }

    /* カードレイアウトをスマホ時は縦並びに */
    .flow-section .content-grid,
    .appeal-section .content-grid,
    .members-section .content-grid {
        flex-direction: column;
        gap: 30px;
    }

    .flow-section .content-item,
    .appeal-section .content-item,
    .members-section .content-item {
        padding: 25px 20px;
    }

    .flow-section .content-subtitle,
    .appeal-section .content-subtitle,
    .members-section .content-subtitle {
        font-size: 20px;
    }

    .flow-section .content-text p,
    .appeal-section .content-text p,
    .members-section .content-text p {
        font-size: 14px;
    }

    /* 1日の流れ（1行箇条書き） */
    .schedule-list {
        padding: 30px 20px;
    }

    .schedule-list p {
        font-size: 14px;
        line-height: 2;
        padding: 8px 0;
    }

    /* CTA */
    .cta-section {
        padding: 40px 0;
    }

    .cta-title {
        font-size: 22px;
    }

    .cta-text {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 350px;
        padding: 16px 40px;
        font-size: 16px;
    }

    /* ABOUT US */
    .about-image {
        margin-bottom: 30px;
    }

    .about-image img {
        border-radius: 12px;
    }

    .about-content p {
        font-size: 16px;
    }

    /* おわりに */
    .closing-image {
        margin-bottom: 30px;
    }

    .closing-image img {
        border-radius: 12px;
    }

    .closing-content p {
        font-size: 16px;
    }

    .closing-content .important-text {
        font-size: 18px;
    }

    /* 募集要項 */
    .requirement-block {
        padding: 25px 20px;
    }

    .requirement-block h3 {
        font-size: 19px;
    }

    .requirement-block p {
        font-size: 15px;
    }

    /* 応募フォーム */
    .contact-form {
        padding: 30px 20px;
    }

    .btn-submit {
        width: 100%;
        padding: 16px 40px;
    }

    /* フッター */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-info h3 {
        font-size: 19px;
    }

    .footer-info p {
        font-size: 14px;
    }

    /* その他テキスト調整 */
    .about-content,
    .important-text {
        font-size: 16px;
    }

    .welcome-text {
        font-size: 16px;
    }

    .highlight {
        font-size: 18px;
    }

    .emphasis-text {
        font-size: 17px;
    }
}

/* ===================================
   さらに小さい画面（480px以下）
=================================== */
@media (max-width: 480px) {
    .header-logo img {
        height: 35px;
        max-width: 200px;
    }

    .header-company-name {
        font-size: 14px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-emphasis {
        font-size: 26px;
    }

    .hero-text {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .content-subtitle {
        font-size: 20px;
    }
}