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

:root {
    --primary-color: #2C3E50;
    --primary-light: #34495e;
    --primary-dark: #1a252f;
    --secondary-color: #e74c3c;
    --accent-color: #ffd700;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #ffffff;
    --bg-gray: #F8F9FA;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 20px rgba(0,0,0,0.15);
    --type-a-color: #27AC75;
    --type-b-color: #0077B6;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* 基本サイズを16pxに設定 */
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.7; /* 本文の行間 */
    background-color: var(--bg-color);
    font-size: 1rem; /* 16px */
}

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

/* ===================================
   コンテナ
=================================== */
.container {
    max-width: 1100px; /* 読みやすさのために幅を制限 */
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

/* 本文エリアの幅をさらに制限 */
.center-content,
.subsection-intro {
    max-width: 800px; /* 1行あたりの文字数を適切に制限 */
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   ヘッダー
=================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
}

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

.nav {
    flex: 1;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    margin-right: 40px;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
}

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

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

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

.nav-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white !important;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

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

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

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

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

.hero-placeholder {
    /* プレースホルダーは非表示（実際の背景画像を表示） */
    display: none;
}

.placeholder-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.5); /* 暗めのオーバーレイでテキストを読みやすく */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.placeholder-label {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.hero-content {
    position: relative;
    z-index: 10; /* テキストを最前面に */
    text-align: center;
    color: white;
    padding: 0 20px;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    opacity: 0.95;
}

.hero-main {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    line-height: 1.4;
}

.hero-sub {
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.8;
    opacity: 0.95;
}

/* ===================================
   画像スライダー
=================================== */
.slider-section {
    background-color: var(--bg-gray);
    padding: 40px 0;
    overflow: hidden;
}

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

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

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

.slider-item {
    flex-shrink: 0;
    width: 400px;
}

.slider-image {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

.slider-placeholder {
    width: 400px;
    height: 300px;
}

.slider-track:hover {
    animation-play-state: paused;
}

/* ===================================
   プレースホルダー
=================================== */
.image-placeholder {
    background-color: #e0e0e0;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.placeholder-text {
    text-align: center;
    color: #666;
    padding: 20px;
}

.placeholder-size {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.placeholder-label {
    font-size: 1rem;
    font-weight: 500;
}

.large-placeholder {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 4/3;
    margin: 30px auto;
}

.center-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3;
    border-radius: 15px;
    margin: 30px auto;
    display: block;
}

/* ===================================
   セクション共通
=================================== */
.section-title {
    font-size: 2rem; /* 32px - PC用h1サイズ */
    font-weight: 700;
    line-height: 1.3; /* 見出しの行間 */
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1rem; /* 16px */
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 50px;
}

/* ===================================
   会社挨拶・おわりにセクション
=================================== */
.about-section,
.closing-section {
    background-color: var(--bg-gray);
}

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

.center-text {
    text-align: center;
    margin-top: 30px;
}

.center-text p {
    font-size: 1rem; /* 16px */
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ===================================
   職種選択ボタン
=================================== */
.job-select-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.job-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 50px auto 0;
}

.job-button {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-color);
    border: 3px solid transparent;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.job-button-a {
    border-color: var(--type-a-color);
}

.job-button-b {
    border-color: var(--type-b-color);
}

.job-button:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.job-button-a:hover {
    background: linear-gradient(135deg, var(--type-a-color), #1f8f5f);
    color: white;
}

.job-button-b:hover {
    background: linear-gradient(135deg, var(--type-b-color), #005a8d);
    color: white;
}

.job-button-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.job-button-content {
    flex-grow: 1;
}

.job-button-type {
    font-size: 0.9rem;
    font-weight: 700;
    opacity: 0.8;
    margin-bottom: 5px;
}

.job-button-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.job-button-desc {
    font-size: 1rem;
    opacity: 0.8;
}

.job-button-arrow {
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===================================
   TYPE セクション
=================================== */
.type-section {
    background-color: var(--bg-color);
    position: relative;
    padding: 50px 0; /* 80pxから50pxに削減 */
}

.type-section-alt {
    background-color: var(--bg-gray);
}

/* TYPE A：施工管理職エリア - フォレストグリーン */
#type-a {
    background: linear-gradient(135deg, rgba(39, 172, 117, 0.08) 0%, rgba(39, 172, 117, 0.03) 100%);
    border-left: 8px solid var(--type-a-color);
    border-right: 8px solid var(--type-a-color);
    box-shadow: inset 0 8px 0 var(--type-a-color), inset 0 -8px 0 var(--type-a-color);
}

/* TYPE B：現場作業員エリア - ディープオーシャン */
#type-b {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.08) 0%, rgba(0, 119, 182, 0.03) 100%);
    border-left: 8px solid var(--type-b-color);
    border-right: 8px solid var(--type-b-color);
    box-shadow: inset 0 8px 0 var(--type-b-color), inset 0 -8px 0 var(--type-b-color);
}

/* 職種区別用カラーバナー */
.type-color-banner {
    padding: 15px 0; /* 20pxから15pxに削減 */
    margin-bottom: 30px; /* 40pxから30pxに削減 */
    position: relative;
}

.type-color-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.type-a-banner {
    background: linear-gradient(135deg, var(--type-a-color), #1f8f5f);
}

.type-b-banner {
    background: linear-gradient(135deg, var(--type-b-color), #005a8d);
}

.banner-icon {
    font-size: 2.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.banner-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.type-header {
    text-align: center;
    margin-bottom: 40px; /* 60pxから40pxに削減 */
}

.type-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--type-a-color), #1f8f5f);
    color: white;
    padding: 6px 20px; /* 8px 25pxから6px 20pxに削減 */
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px; /* 15pxから10pxに削減 */
}

.type-label-b {
    background: linear-gradient(135deg, var(--type-b-color), #005a8d);
}

.type-title {
    font-size: 2rem; /* 32px */
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px; /* 15pxから10pxに削減 */
    color: var(--primary-color);
}

/* TYPE A の見出しカラー */
#type-a .type-title,
#type-a .subsection-title,
#type-a .zigzag-text h4,
#type-a .card-number {
    color: var(--type-a-color);
}

#type-a .subsection-title {
    border-left-color: var(--type-a-color);
    background: linear-gradient(135deg, rgba(39, 172, 117, 0.08) 0%, rgba(39, 172, 117, 0.02) 100%);
}

/* TYPE B の見出しカラー */
#type-b .type-title,
#type-b .subsection-title,
#type-b .zigzag-text h4,
#type-b .card-number {
    color: var(--type-b-color);
}

#type-b .subsection-title {
    border-left-color: var(--type-b-color);
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.08) 0%, rgba(0, 119, 182, 0.02) 100%);
}

.type-subtitle {
    font-size: 1rem; /* 16px */
    line-height: 1.7;
    color: var(--text-light);
}

/* ===================================
   仕事内容セクション
=================================== */
.job-content {
    margin-bottom: 50px; /* 80pxから50pxに削減 */
}

.subsection-title {
    font-size: 1.75rem; /* 24pxから28pxに拡大 */
    font-weight: 900; /* 700から900に変更 */
    line-height: 1.3;
    text-align: center;
    margin-bottom: 0; /* 15pxから0に削減 */
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.05) 0%, rgba(44, 62, 80, 0.02) 100%);
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    color: var(--primary-color);
}

.subsection-intro {
    text-align: center;
    font-size: 1rem; /* 16px */
    line-height: 1.7;
    margin-top: 25px; /* タイトルとの間に余白を追加 */
    margin-bottom: 35px; /* 50pxから35pxに削減 */
    color: var(--text-color);
}

/* ジグザグレイアウト */
.zigzag-container {
    display: flex;
    flex-direction: column;
    gap: 40px; /* 60pxから40pxに削減 */
}

.zigzag-item {
    display: flex;
    align-items: center;
    gap: 35px; /* 50pxから35pxに削減 */
}

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

.zigzag-image {
    flex: 1;
    min-width: 0;
}

.zigzag-image .image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
}

.zigzag-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    border-radius: 15px;
}

.zigzag-text {
    flex: 1;
    min-width: 0;
}

.zigzag-text h4 {
    font-size: 1.25rem; /* 20px */
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px; /* 15pxから10pxに削減 */
    color: var(--primary-color);
}

/* TYPE A のカード装飾 */
#type-a .card {
    border-top: 4px solid var(--type-a-color);
}

/* TYPE B のカード装飾 */
#type-b .card {
    border-top: 4px solid var(--type-b-color);
}

.zigzag-text p {
    font-size: 1rem; /* 16px */
    line-height: 1.7;
    color: var(--text-color);
}

/* ===================================
   カードグリッド
=================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; /* 40pxから30pxに削減 */
    margin-top: 35px; /* 50pxから35pxに削減 */
}

.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.card-image {
    position: relative;
    overflow: hidden;
}

.card-image .image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 0;
}

.card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.card-content {
    padding: 25px; /* 30pxから25pxに削減 */
}

.card-number {
    font-size: 1.125rem; /* 18px */
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 8px; /* 10pxから8pxに削減 */
}

.card-title {
    font-size: 1.125rem; /* 18px */
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px; /* 15pxから12pxに削減 */
    color: var(--text-color);
}

.card p {
    font-size: 0.875rem; /* 14px - 補足テキスト */
    line-height: 1.7;
    color: var(--text-light);
}

/* ===================================
   魅力セクション
=================================== */
.benefits-section {
    background-color: var(--bg-gray);
}

.benefit-title {
    font-size: 1.125rem; /* 18px */
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.benefit-subtitle {
    font-size: 1rem; /* 16px */
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* ===================================
   メンバー紹介セクション
=================================== */
.members-section {
    background-color: var(--bg-color);
}

.member-role {
    font-size: 1.125rem; /* 18px */
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.member-info {
    font-size: 0.875rem; /* 14px */
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 15px;
}

.member-comment {
    font-size: 0.875rem; /* 14px */
    line-height: 1.7;
    color: var(--text-color);
}

/* ===================================
   CTAセクション
=================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 80px 0;
}

.cta-box {
    background: white;
    border-radius: 25px;
    padding: 40px; /* 60pxから40pxに削減 */
    text-align: center;
    box-shadow: var(--shadow-hover);
    margin-top: 40px; /* 60pxから40pxに削減 */
}

/* TYPE A用CTA */
.cta-type-a {
    border: 4px solid var(--type-a-color);
    background: linear-gradient(135deg, rgba(39, 172, 117, 0.05) 0%, rgba(255, 255, 255, 1) 50%);
}

.cta-type-a .cta-title {
    color: var(--type-a-color);
}

/* TYPE B用CTA */
.cta-type-b {
    border: 4px solid var(--type-b-color);
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.05) 0%, rgba(255, 255, 255, 1) 50%);
}

.cta-type-b .cta-title {
    color: var(--type-b-color);
}

.cta-title {
    font-size: 1.5rem; /* 24px */
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 15px; /* 20pxから15pxに削減 */
}

.cta-text {
    font-size: 1rem; /* 16px */
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 30px; /* 40pxから30pxに削減 */
}

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

/* 魅力ボタンが1つの場合は中央配置 */
.cta-buttons:has(.cta-button-benefits:only-child) {
    justify-content: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.cta-button-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.cta-button-phone {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
}

.cta-button-benefits {
    background: linear-gradient(135deg, var(--accent-color), #ffdd00);
    color: #333;
    font-size: 1.2rem;
    padding: 20px 50px;
}

.cta-button-benefits i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* TYPE A の魅力ボタンのホバー */
#type-a .cta-button-benefits:hover {
    background: linear-gradient(135deg, var(--type-a-color), #1f8f5f);
    color: white;
}

#type-a .cta-button-benefits:hover i {
    color: white;
}

/* TYPE B の魅力ボタンのホバー */
#type-b .cta-button-benefits:hover {
    background: linear-gradient(135deg, var(--type-b-color), #005a8d);
    color: white;
}

#type-b .cta-button-benefits:hover i {
    color: white;
}

/* ===================================
   募集要項セクション
=================================== */
.requirements-section {
    background-color: var(--bg-gray);
}

.requirement-box {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-color);
}

.requirement-title {
    font-size: 1.5rem; /* 24px */
    font-weight: 700;
    line-height: 1.3;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    margin: -40px -40px 30px -40px;
    padding: 20px 40px;
    border-radius: 15px 15px 0 0;
}

.job-description {
    font-size: 1rem; /* 16px */
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 30px;
    padding: 15px;
    background-color: var(--bg-gray);
    border-radius: 10px;
}

.requirement-item {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-gray);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.requirement-item h4 {
    font-size: 1.125rem; /* 18px */
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.requirement-item p {
    font-size: 1rem; /* 16px */
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 8px;
}

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

.requirement-item .note {
    font-size: 0.875rem; /* 14px */
    line-height: 1.7;
    color: var(--text-light);
    margin-top: 5px;
}

.benefit-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.benefit-list li {
    padding: 8px 0 8px 25px;
    position: relative;
    font-size: 0.875rem; /* 14px */
    line-height: 1.6;
}

.benefit-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

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

.application-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
    font-size: 1rem; /* 16px */
    line-height: 1.3;
}

.required {
    color: var(--secondary-color);
    font-size: 0.875rem; /* 14px */
    margin-left: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem; /* 16px - ズーム防止 */
    line-height: 1.5;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s;
}

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

/* エラー状態 */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
    background-color: #fff5f5;
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
    border-color: #e74c3c;
}

/* 成功状態 */
.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #27ae60;
}

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

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

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

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

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

.footer-company h3 {
    font-size: 1.25rem; /* 20px */
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.footer-company p {
    font-size: 0.875rem; /* 14px */
    line-height: 1.7;
    opacity: 0.9;
}

.footer-links h4 {
    font-size: 1.125rem; /* 18px */
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

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

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

.footer-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 0.875rem; /* 14px */
    line-height: 1.7;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.875rem; /* 14px */
    line-height: 1.7;
    opacity: 0.8;
}

/* ===================================
   レスポンシブデザイン
=================================== */

/* タブレット */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .section {
        padding: 60px 0;
    }

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

    .hero-main {
        font-size: 2.5rem;
    }

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

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

/* スマホ */
@media (max-width: 768px) {
    /* ヘッダー */
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

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

    .nav-list li a {
        display: block;
        padding: 10px;
    }

    .hamburger {
        display: flex;
    }

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

    .hero-subtitle {
        font-size: 0.875rem; /* 14px */
    }

    .hero-main {
        font-size: 2rem; /* 32px */
        line-height: 1.4;
    }

    .hero-sub {
        font-size: 1rem; /* 16px */
        line-height: 1.5;
    }

    /* セクション */
    .section {
        padding: 40px 0; /* 50pxから40pxに削減 */
    }

    .type-section {
        padding: 35px 0; /* TYPE セクションの余白も削減 */
    }

    .section-title {
        font-size: 1.5rem; /* 24px - スマホh1サイズ */
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 1rem; /* 16px */
        line-height: 1.7;
    }

    /* サブセクションタイトル */
    .subsection-title {
        font-size: 1.375rem; /* 22px - スマホでも目立つサイズ */
        font-weight: 900;
        line-height: 1.3;
        padding: 12px 15px;
        margin-bottom: 0;
    }

    /* 本文は16px維持（ズーム防止） */
    .subsection-intro,
    .zigzag-text p,
    .center-text p,
    .cta-text,
    .requirement-item p {
        font-size: 1rem; /* 16px */
        line-height: 1.7;
    }

    /* 職種選択ボタン */
    .job-buttons {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .job-button {
        padding: 25px;
    }

    .job-button-icon {
        font-size: 2.5rem;
    }

    .job-button-title {
        font-size: 1.125rem; /* 18px */
        line-height: 1.3;
    }

    .job-button-desc {
        font-size: 0.875rem; /* 14px */
        line-height: 1.7;
    }

    /* 見出しサイズ調整 */
    .zigzag-text h4 {
        font-size: 1.125rem; /* 18px */
        line-height: 1.3;
    }

    .card-number,
    .card-title,
    .benefit-title,
    .member-role {
        font-size: 1rem; /* 16px */
        line-height: 1.3;
    }

    /* カード内のパディング調整 */
    .card-content {
        padding: 20px; /* 25pxから20pxに削減 */
    }

    /* job-content の余白調整 */
    .job-content {
        margin-bottom: 35px; /* 50pxから35pxに削減 */
    }

    /* type-header の余白調整 */
    .type-header {
        margin-bottom: 30px; /* 40pxから30pxに削減 */
    }

    /* subsection-intro の余白調整 */
    .subsection-intro {
        margin-top: 20px; /* タイトルとの間に余白 */
        margin-bottom: 25px; /* 35pxから25pxに削減 */
    }

    /* ジグザグレイアウト - スマホで縦並び統一 */
    .zigzag-item,
    .zigzag-item.reverse {
        flex-direction: column;
        gap: 20px; /* 30pxから20pxに削減 */
    }

    /* 必ず画像が上、テキストが下 */
    .zigzag-image {
        order: 1;
        width: 100%;
    }

    .zigzag-text {
        order: 2;
        width: 100%;
    }

    /* カードグリッド */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 25px; /* 30pxから25pxに削減 */
    }

    /* CTA */
    .cta-box {
        padding: 35px 25px; /* 40pxから35pxに削減 */
        margin-top: 35px; /* 40pxから35pxに削減 */
    }

    .cta-title {
        font-size: 1.25rem; /* 20px */
        line-height: 1.3;
    }

    .cta-text {
        font-size: 1rem; /* 16px */
        line-height: 1.7;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
        font-size: 1rem; /* 16px */
        line-height: 1.5;
        padding: 16px 30px;
    }

    .cta-button-benefits {
        font-size: 1.0625rem; /* 17px */
        padding: 18px 30px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    /* 募集要項 */
    .requirement-box {
        padding: 0;
        border-radius: 10px;
    }

    .requirement-title {
        font-size: 1.25rem; /* 20px */
        line-height: 1.3;
        margin: 0 0 20px 0;
        padding: 15px 20px;
        border-radius: 10px 10px 0 0;
    }

    .requirement-item {
        margin: 0 20px 20px 20px;
        padding: 15px;
    }

    .requirement-item:last-child {
        margin-bottom: 20px;
    }

    .requirement-item h4 {
        font-size: 1rem; /* 16px */
        line-height: 1.3;
    }

    .benefit-list {
        grid-template-columns: 1fr;
        gap: 6px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* フォーム入力欄は16px維持（ズーム防止） */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 1rem; /* 16px */
        line-height: 1.5;
    }

    .submit-button {
        font-size: 1rem; /* 16px */
        line-height: 1.5;
    }

    /* フッター */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* スライダー */
    .slider-item {
        width: 300px;
    }

    .slider-image {
        width: 300px;
        height: 225px;
    }

    .slider-placeholder {
        width: 300px;
        height: 225px;
    }

    /* 職種バナー */
    .banner-icon {
        font-size: 2rem;
    }

    .banner-text {
        font-size: 1.2rem;
    }

    .type-color-banner {
        padding: 15px 0;
        margin-bottom: 30px;
    }
}

/* 極小スマホ */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* ロゴサイズ調整 */
    .logo-image {
        height: 40px;
    }

    /* ファーストビュー - 16px未満にしない */
    .hero-main {
        font-size: 1.25rem; /* 20px */
        line-height: 1.3;
    }

    .hero-sub {
        font-size: 1rem; /* 16px */
        line-height: 1.5;
    }

    /* 見出し - 最小でも1rem（16px） */
    .section-title {
        font-size: 1.25rem; /* 20px */
        line-height: 1.3;
    }

    .subsection-title {
        font-size: 1.25rem; /* 20px */
        font-weight: 900;
        line-height: 1.3;
        padding: 10px 12px;
        margin-bottom: 0;
    }

    /* 職種ボタン */
    .job-button {
        padding: 20px;
        gap: 15px;
    }

    .job-button-icon {
        font-size: 2rem;
    }

    .job-button-title {
        font-size: 1rem; /* 16px */
        line-height: 1.3;
    }

    .job-button-desc {
        font-size: 0.875rem; /* 14px */
        line-height: 1.7;
    }

    /* CTA */
    .cta-title {
        font-size: 1.125rem; /* 18px */
        line-height: 1.3;
    }

    .cta-box {
        padding: 25px 20px; /* 30pxから25pxに削減 */
        margin-top: 25px; /* 30pxから25pxに削減 */
    }

    /* カード内のパディング */
    .card-content {
        padding: 18px; /* 20pxから18pxに削減 */
    }

    /* 募集要項 */
    .requirement-title {
        font-size: 1.125rem; /* 18px */
        padding: 12px 15px;
    }

    .requirement-item {
        margin: 0 15px 15px 15px;
        padding: 12px;
    }

    /* 職種バナー */
    .banner-text {
        font-size: 1rem; /* 16px */
        line-height: 1.3;
    }

    .slider-item {
        width: 250px;
    }

    .slider-image {
        width: 250px;
        height: 188px;
    }

    .slider-placeholder {
        width: 250px;
        height: 188px;
    }

    /* 職種バナー */
    .banner-icon {
        font-size: 1.8rem;
    }

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

    .type-color-banner {
        padding: 12px 0;
        margin-bottom: 20px;
    }

    /* CTAボタン */
    .cta-button-benefits {
        font-size: 1rem; /* 16px */
        padding: 16px 25px;
    }

    .cta-button-benefits i {
        font-size: 1.2rem;
    }
}