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

:root {
    /* メインカラー：ディープグリーン */
    --primary-color: #2d5f4f;
    --secondary-color: #1e4038;
    
    /* アクセントカラー：テラコッタ */
    --accent-color: #c65d3b;
    --accent-light: #d97854;
    
    /* ベースカラー：グレージュ */
    --text-dark: #2c2825;
    --text-gray: #6b6662;
    --text-light: #9c9892;
    --bg-light: #f5f2ed;
    --bg-white: #faf8f5;
    --bg-greige: #e8e4de;
    --border-gray: #d4cfc7;
    
    /* システムカラー */
    --success-color: #4a7c59;
    --error-color: #c65d3b;
    
    /* ゴールドアクセント */
    --gold-accent: #c9a961;
    
    /* 角丸の基本サイズ */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 5px 15px rgba(44, 40, 37, 0.15);
    border: none;
    outline: none;
}

/* 有機的な形状パターン1（水たまり型） */
*:nth-child(3n+1) img {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* 有機的な形状パターン2（波型） */
*:nth-child(3n+2) img {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

/* 有機的な形状パターン3（不規則型） */
*:nth-child(3n+3) img {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

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

.pc-only {
    display: inline;
}

/* ========================================
   テキスト強調スタイル
======================================== */
.highlight {
    background: linear-gradient(transparent 60%, var(--accent-color) 60%);
    background-size: 100% 100%;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.2em;
    padding: 0 3px;
}

.text-primary {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.15em;
}

.text-accent {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.15em;
}

.text-gold {
    color: var(--gold-accent);
    font-weight: 700;
    font-size: 1.15em;
}

strong, b {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.12em;
}

/* ========================================
   ヘッダー
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: none;
    border-bottom: 1px solid var(--border-gray);
    z-index: 1000;
    padding: 10px 0;
}

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

.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 150px;
    box-shadow: none;
}

.header-logo .company-logo {
    height: 40px;
    width: 200px;
    max-width: 200px;
    display: block;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    filter: none;
}

.header-logo .company-name {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    white-space: nowrap;
}

.nav-menu {
    display: block;
    box-shadow: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-list li a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-list li a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

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

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

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

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

.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;
    border-radius: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 40px 20px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.hero-title {
    font-size: 42px;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ffffff;
}

.hero-title span,
.hero-title strong {
    color: #ffffff !important;
}

.hero-description {
    font-size: 18px;
    line-height: 1.9;
    color: #ffffff;
}

.hero-description span,
.hero-description strong {
    color: #ffffff !important;
}

/* ========================================
   写真スライダー
======================================== */
.photo-slider {
    width: 100%;
    overflow: hidden;
    background-color: var(--bg-light);
    padding: 30px 0;
}

.slider-track {
    display: flex;
    gap: 20px;
    animation: slide 40s linear infinite;
}

.slide {
    flex-shrink: 0;
    width: 300px;
    height: 225px;
    overflow: hidden;
}

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

/* スライド画像：3パターンのランダムな有機的形状 */
.slide:nth-child(7n+1) img {
    border-radius: 56% 44% 63% 37% / 47% 58% 42% 53%;
}

.slide:nth-child(7n+2) img {
    border-radius: 42% 58% 51% 49% / 61% 43% 57% 39%;
}

.slide:nth-child(7n+3) img {
    border-radius: 67% 33% 46% 54% / 38% 65% 35% 62%;
}

.slide:nth-child(7n+4) img {
    border-radius: 49% 51% 58% 42% / 54% 48% 52% 46%;
}

.slide:nth-child(7n+5) img {
    border-radius: 53% 47% 44% 56% / 66% 37% 63% 34%;
}

.slide:nth-child(7n+6) img {
    border-radius: 38% 62% 69% 31% / 52% 59% 41% 48%;
}

.slide:nth-child(7n) img {
    border-radius: 64% 36% 55% 45% / 45% 67% 33% 55%;
}

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

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

.section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 20px;
}

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

.section-subtitle {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-top: -40px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

/* ========================================
   こんな方歓迎
======================================== */
.welcome {
    background-color: var(--bg-light);
}

.welcome-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.welcome-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(44, 40, 37, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.welcome-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(44, 40, 37, 0.12);
}

.welcome-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.welcome-heading {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0;
    line-height: 1.6;
}

.welcome-text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    display: none; /* 小さい字は非表示 */
}

/* ========================================
   1カラムセンター（会社について）
======================================== */
.about {
    background-color: var(--bg-white);
}

.single-column-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.content-image {
    margin-bottom: 40px;
    overflow: hidden;
}

.content-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
}

.content-text {
    font-size: 17px;
    line-height: 2;
    color: var(--text-dark);
    text-align: center;
}

.content-text p {
    margin-bottom: 25px;
}

.content-text p:last-child {
    margin-bottom: 0;
}

/* ========================================
   おわりに（フルウィズ画像 + 下部テキスト）
======================================== */
.message {
    background-color: var(--bg-white);
    padding: 0;
}

.message-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.message-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.message-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 40px 20px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    margin: 80px 20px;
}

.message-hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #ffffff;
}

.message-hero-text {
    font-size: 20px;
    line-height: 1.9;
    color: #ffffff;
}

.message-hero-text p {
    margin: 0;
}

.message-hero-text span,
.message-hero-text strong {
    color: #ffffff !important;
}

/* ========================================
   こんな工事をしています（3カラムカード）
======================================== */
.projects {
    background-color: var(--bg-white);
}

.projects-category {
    margin-bottom: 60px;
}

.projects-category:last-child {
    margin-bottom: 0;
}

.projects-category-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-align: left;
    padding-left: 15px;
    border-left: 5px solid var(--primary-color);
}

.projects-category-description {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 30px;
    padding-left: 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    /* カード形式を廃止：フラットなデザイン */
}

.project-image {
    width: 100%;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

/* 3パターンのランダムな有機的形状 */
.project-card:nth-child(3n+1) .project-image img {
    border-radius: 58% 42% 61% 39% / 48% 55% 45% 52%;
}

.project-card:nth-child(3n+2) .project-image img {
    border-radius: 44% 56% 38% 62% / 59% 41% 59% 41%;
}

.project-card:nth-child(3n) .project-image img {
    border-radius: 51% 49% 54% 46% / 43% 62% 38% 57%;
}

.project-card-content {
    padding: 20px 0;
}

.project-step {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.project-caption {
    font-size: 15px;
    color: var(--text-dark);
    text-align: left;
    font-weight: normal;
    margin: 0;
    line-height: 1.8;
}

/* ========================================
   仕事内容（ジグザグレイアウト）
======================================== */
.business {
    background-color: var(--bg-light);
}

.business-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

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

.business-image {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.business-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* 有機的形状を削除し、統一した角丸に */

/* PC版：左右交互 */
.business-item:nth-child(odd) .business-image.order-1 {
    order: 1;
}

.business-item:nth-child(odd) .business-content.order-2 {
    order: 2;
}

.business-item:nth-child(even) .business-image.order-3 {
    order: 2;
}

.business-item:nth-child(even) .business-content.order-4 {
    order: 1;
}

.business-item:nth-child(3) .business-image.order-5 {
    order: 1;
}

.business-item:nth-child(3) .business-content.order-6 {
    order: 2;
}

.business-heading {
    font-size: 26px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.business-text {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-dark);
}

/* ========================================
   CTA（応募ボタン）
======================================== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 0;
}

.cta-box {
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 25px;
    padding: 60px 50px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(45, 95, 79, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 95, 79, 0.4);
    opacity: 1;
}

.btn-secondary {
    background-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(198, 93, 59, 0.3);
}

.btn-secondary:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(198, 93, 59, 0.4);
    opacity: 1;
}

/* ========================================
   3カラムカード（入社後の流れ、魅力、メンバー）
======================================== */
.flow,
.member {
    background-color: var(--bg-white);
}

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

.flow-grid,
.member-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* 魅力セクションをジグザグ配置に */
.appeal-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.appeal-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* 奇数番目：画像左、テキスト右 */
.appeal-card:nth-child(odd) .appeal-image {
    order: 1;
}

.appeal-card:nth-child(odd) .appeal-content {
    order: 2;
}

/* 偶数番目：テキスト左、画像右 */
.appeal-card:nth-child(even) .appeal-image {
    order: 2;
}

.appeal-card:nth-child(even) .appeal-content {
    order: 1;
}

.flow-card,
.member-card {
    /* カード形式を廃止：フラットなデザイン */
}

/* 現場管理デビューへの3ステップをカード形式に */
.flow-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.flow-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.flow-image,
.appeal-image,
.member-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.flow-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.appeal-image img,
.member-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* appeal-imageとmember-imageは有機的形状を維持 */
.appeal-card:nth-child(3n+1) .appeal-image img {
    border-radius: 48% 52% 59% 41% / 56% 47% 53% 44%;
}

.appeal-card:nth-child(3n+2) .appeal-image img {
    border-radius: 61% 39% 44% 56% / 42% 63% 37% 58%;
}

.appeal-card:nth-child(3n) .appeal-image img {
    border-radius: 39% 61% 52% 48% / 67% 35% 65% 33%;
}

.member-card:nth-child(1) .member-image img {
    border-radius: 55% 45% 48% 52% / 43% 59% 41% 57%;
}

.member-card:nth-child(2) .member-image img {
    border-radius: 43% 57% 62% 38% / 51% 46% 54% 49%;
}

.flow-heading,
.member-role {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    padding: 25px 25px 15px;
    margin-top: 0;
}

.appeal-heading {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.flow-text,
.member-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dark);
    padding: 0 25px 30px;
    margin-bottom: 0;
}

.appeal-text {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-dark);
}

.appeal-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ========================================
   1日の流れ
======================================== */
.schedule {
    background-color: var(--bg-white);
}

.schedule-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.schedule-list {
    list-style: none;
}

.schedule-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-gray);
}

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

.schedule-time {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    min-width: 100px;
    flex-shrink: 0;
}

.schedule-description {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
    padding-left: 30px;
}

/* ========================================
   応募フォーム
======================================== */
.contact {
    background-color: var(--bg-light);
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-label {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.required {
    color: var(--error-color);
    font-weight: bold;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid var(--border-gray);
    border-radius: 10px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

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

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    text-align: center;
}

.btn-submit {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 18px 60px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.btn-submit:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    display: none;
}

.form-message.success {
    background-color: #d1fae5;
    color: var(--success-color);
    display: block;
}

.form-message.error {
    background-color: #fee2e2;
    color: var(--error-color);
    display: block;
}

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

/* ========================================
   募集要項
======================================== */
.recruitment {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.recruitment-table {
    max-width: 1000px;
    margin: 0 auto;
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(44, 40, 37, 0.08);
}

.recruitment-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid var(--border-gray);
}

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

.recruitment-label {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
    padding: 25px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid var(--border-gray);
}

.recruitment-value {
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.8;
    padding: 25px 30px;
}

.recruitment-value strong {
    font-weight: bold;
    color: var(--primary-color);
}

/* ========================================
   フッター
======================================== */
.footer {
    background-color: var(--text-dark);
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-company-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-address,
.footer-tel {
    font-size: 15px;
    line-height: 1.8;
    color: #d1d5db;
    margin-bottom: 10px;
}

.footer-tel a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-tel a:hover {
    color: #ffffff;
}

.footer-nav-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.footer-nav-list li a {
    font-size: 14px;
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-nav-list li a:hover {
    color: #ffffff;
}

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

.footer-copyright p {
    font-size: 14px;
    color: #9ca3af;
}

/* ========================================
   レスポンシブ対応（768px以下 = スマホ）
======================================== */
@media (max-width: 768px) {
    /* ヘッダー */
    .header {
        padding: 8px 0;
    }

    .header-logo {
        min-width: 120px;
    }

    .header-logo .company-logo {
        height: 40px;
        max-width: 150px;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: rgba(255, 255, 255, 0.98);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        padding: 30px 20px;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .nav-list li a {
        font-size: 16px;
    }

    .hamburger {
        display: flex;
    }

    .pc-only {
        display: none;
    }

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

    .hero {
        height: 50vh;
        min-height: 400px;
    }

    .hero-content {
        padding: 30px 15px;
    }

    .hero-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 15px;
    }

    /* 写真スライダー */
    .photo-slider {
        padding: 20px 0;
    }

    .slide {
        width: 250px;
        height: 187.5px;
    }

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

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

    /* こんな方歓迎 */
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* 仕事内容：スマホは必ず写真→文章の順 */
    .business-item {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
    }

    /* スマホでは全て写真が上、文章が下 */
    .business-item .business-image {
        order: 1 !important;
    }

    .business-item .business-content {
        order: 2 !important;
    }

    .business-heading {
        font-size: 22px;
    }

    .business-text {
        font-size: 15px;
    }

    /* CTA */
    .cta-box {
        padding: 40px 25px;
    }

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

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

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

    .btn {
        width: 100%;
        max-width: 350px;
    }

    /* 3カラムカード */
    .flow-grid,
    .appeal-grid,
    .member-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* プロジェクトカードのスマホ表示 */
    .projects-category-title {
        font-size: 20px;
        padding-left: 12px;
    }

    .projects-category-description {
        font-size: 15px;
        padding-left: 15px;
    }

    .project-card-content {
        padding: 20px;
    }

    .project-step {
        font-size: 17px;
    }

    .project-caption {
        font-size: 14px;
    }

    /* スマホ：写真→文章の順 */
    .flow-card,
    .appeal-card,
    .member-card {
        display: flex;
        flex-direction: column;
    }

    .flow-image,
    .appeal-image,
    .member-image {
        order: 1 !important;
    }

    .flow-heading,
    .member-role {
        order: 2;
        font-size: 20px;
    }

    .flow-text,
    .member-text {
        order: 3;
        font-size: 14px;
    }

    /* 魅力セクション：スマホでは写真→文章の順 */
    .appeal-content {
        order: 2 !important;
    }

    .appeal-heading {
        font-size: 20px;
    }

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

    /* 1日の流れ：スマホは1行箇条書き */
    .schedule-card {
        padding: 30px 20px;
    }

    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
    }

    .schedule-time {
        font-size: 16px;
        min-width: auto;
        margin-bottom: 5px;
    }

    .schedule-description {
        font-size: 14px;
        padding-left: 0;
    }

    /* 募集要項 */
    .recruitment-row {
        grid-template-columns: 1fr;
    }

    .recruitment-label {
        padding: 15px 10px;
        font-size: 15px;
        border-right: none;
        border-bottom: 1px solid #d1d5db;
    }

    .recruitment-value {
        padding: 20px 15px;
        font-size: 14px;
    }

    .recruitment-value strong {
        font-size: 14px;
    }

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

    .form-label {
        font-size: 15px;
    }

    .form-input,
    .form-textarea {
        font-size: 15px;
        padding: 12px;
    }

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

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

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

    .footer-nav-list {
        grid-template-columns: 1fr;
    }

    /* 1カラムコンテンツ */
    .content-text {
        font-size: 15px;
    }

    /* おわりに */
    .message-hero-content {
        padding: 30px 15px;
        margin: 60px 15px;
    }

    .message-hero-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .message-hero-text {
        font-size: 16px;
        line-height: 1.8;
    }
}

/* ========================================
   タブレット対応（769px〜1024px）
======================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .nav-list {
        gap: 18px;
    }

    .nav-list li a {
        font-size: 13px;
    }

    .hero {
        height: 60vh;
        min-height: 450px;
    }

    .hero-content {
        padding: 35px 20px;
    }

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

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

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

    .welcome-grid {
        gap: 30px;
    }

    .business-item {
        gap: 40px;
    }

    .flow-grid,
    .member-grid {
        gap: 30px;
    }

    .appeal-grid {
        gap: 40px;
    }

    .appeal-card {
        gap: 40px;
    }

    /* おわりに */
    .message-hero {
        min-height: 60vh;
    }

    /* おわりに */
    .message-hero-content {
        padding: 35px 20px;
        margin: 70px 20px;
    }

    .message-hero-title {
        font-size: 40px;
    }

    .message-hero-text {
        font-size: 18px;
    }
}