/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* ===== Typography ===== */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

p {
    font-size: 1rem;
    line-height: 1.8;
}

/* ===== Common Components ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 20px;
}

.section-header h2 {
    margin-bottom: 1rem;
    color: #333;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* ===== CTA Buttons - メインカラーを#26A7E1に変更 ===== */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-width: auto;
    width: auto;
}

.cta-button.primary {
    background: linear-gradient(135deg, #26A7E1, #1E90D1);
    color: white;
    box-shadow: 0 8px 30px rgba(38, 167, 225, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(38, 167, 225, 0.5);
    background: linear-gradient(135deg, #1E90D1, #1C7FB8);
}

.cta-button.secondary {
    background: white;
    color: #26A7E1;
    border: 2px solid #26A7E1;
}

.cta-button.secondary:hover {
    background: #26A7E1;
    color: white;
    box-shadow: 0 8px 25px rgba(38, 167, 225, 0.3);
}

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

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

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

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

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    margin-bottom: 3rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.hero-buttons .cta-button {
    min-width: 160px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-buttons .cta-button:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.external-links {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
}

.external-links h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.external-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.external-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 140px;
    justify-content: center;
}

.external-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: white;
    margin-top: 10px;
    animation: scroll-animation 2s infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes scroll-animation {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}
/* Instagramセクション用スタイル */
.instagram-section {
  margin-bottom:40px;
  padding: 2rem 0;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(38,167,225,0.10);
}

.instagram-section h2 {
  text-align: center;
  color: #26A7E1;
  margin-bottom: 1.5rem;
  font-size: 1.7rem;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 1.5px;
}

.instagram-section > div {
  display: flex;
  justify-content: center;
}

/* iframe のレスポンシブ対応 */
.instagram-section iframe.snapwidget-widget {
  border: none;
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  height: 400px;
  border-radius: 12px;
  background: #fff;
  transition: box-shadow 0.3s;
  box-shadow: 0 2px 10px rgba(38,167,225,0.10);
}

/* タブレットサイズ対応 */
@media (max-width: 900px) {
  .instagram-section iframe.snapwidget-widget {
    max-width: 100%;
    height: 320px;
  }
}

/* スマホ対応 */
@media (max-width: 600px) {
  .instagram-section {
    padding: 1rem 0.5rem;
    margin-bottom: 24px;
  }
  .instagram-section iframe.snapwidget-widget {
    height: 200px;
    min-width: 0;
  }
  .instagram-section h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
}

/* ===== Work Overview Section - 完全版（フル幅・画像全体表示対応） ===== */
.work-overview {
    padding: 6rem 0;
    background: #f8f9fa;
}

.work-overview .container {
    max-width: none;
    padding: 0;
}

.work-overview .section-header {
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    padding: 0 20px;
}

.work-content {
    display: flex;
    flex-direction: column;
    gap: 0; /* ギャップを削除してシームレスに */
    width: 100%;
}

.work-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch; /* 高さを揃える */
    width: 100%;
    min-height: 500px;
}

.work-item.reverse {
    direction: rtl;
}

.work-item.reverse > * {
    direction: ltr;
}

.work-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa; /* コンテナ自体の背景色 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 画像全体を表示、アスペクト比維持 */
    background-color: #f8f9fa; /* 余白部分の背景色 */
    display: block;
    transition: transform 0.3s ease;
}

.work-image:hover img {
    transform: scale(1.02); /* 拡大率を抑える */
}

.work-text {
    padding: 4rem 3rem;
    background: white;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.work-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #26A7E1;
}

.work-text h3 {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.8rem;
}

.work-text p {
    margin-bottom: 2rem;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

.work-text ul {
    list-style: none;
    padding: 0;
}

.work-text ul li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1rem;
    color: #555;
}

.work-text ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #26A7E1;
    font-weight: bold;
    font-size: 1.2rem;
}

.support-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.point {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #26A7E1;
    transition: transform 0.3s ease;
}

.point:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(38, 167, 225, 0.2);
}

.point strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #26A7E1;
}

.point span {
    font-size: 0.9rem;
    color: #666;
}

/* ===== タブレット対応 ===== */
@media (max-width: 1024px) {
    .work-overview {
        padding: 5rem 0;
    }
    
    .work-item {
        min-height: 400px;
    }
    
    .work-image {
        height: 400px;
        background-color: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .work-image img {
        object-fit: contain;
        background-color: transparent;
    }
    
    .work-text {
        height: 400px;
        padding: 3rem 2rem;
    }
    
    .work-text h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .work-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .work-text ul li {
        padding: 0.6rem 0;
        padding-left: 1.8rem;
        font-size: 0.95rem;
    }
    
    .support-points {
        gap: 0.8rem;
        margin-top: 1.5rem;
    }
    
    .point {
        padding: 1.2rem;
    }
}

/* ===== モバイル対応 ===== */
@media (max-width: 768px) {
    .work-overview {
        padding: 4rem 0;
    }
    
    .work-item {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .work-item.reverse {
        direction: ltr;
    }

    .work-image {
        height: 300px;
        order: 1;
        background-color: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .work-image img {
        object-fit: contain;
        background-color: transparent;
    }

    .work-text {
        height: auto;
        padding: 2rem 1.5rem;
        order: 2;
    }
    
    .work-text h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .work-text p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .work-text ul li {
        padding: 0.5rem 0;
        padding-left: 1.5rem;
        font-size: 0.9rem;
    }
    
    .support-points {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }
    
    .point {
        padding: 1rem;
    }
}

/* ===== 小さなモバイル画面対応 ===== */
@media (max-width: 480px) {
    .work-overview {
        padding: 4rem 0;
    }
    
    .work-image {
        height: 250px;
    }
    
    .work-text {
        padding: 1.5rem 1rem;
    }
    
    .work-text h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .work-text p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .work-text ul li {
        padding: 0.4rem 0;
        padding-left: 1.2rem;
        font-size: 0.85rem;
    }
    
    .work-text ul li:before {
        font-size: 1rem;
    }
    
    .support-points {
        margin-top: 1rem;
    }
    
    .point {
        padding: 0.8rem;
    }
    
    .point strong {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .point span {
        font-size: 0.8rem;
    }
}

/* ===== 画像の遅延読み込み対応 ===== */
.work-image img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-image img[loading="lazy"].loaded {
    opacity: 1;
}

/* ===== アクセシビリティ対応 ===== */
@media (prefers-reduced-motion: reduce) {
    .work-image img {
        transition: none;
    }
    
    .work-image:hover img {
        transform: none;
    }
    
    .point {
        transition: none;
    }
    
    .point:hover {
        transform: none;
    }
}

/* ===== 高コントラストモード対応 ===== */
@media (prefers-contrast: high) {
    .work-text::before {
        background: #000;
    }
    
    .work-text ul li:before {
        color: #000;
    }
    
    .point {
        border-color: #000;
    }
    
    .point strong {
        color: #000;
    }
}

/* ===== プリント対応 ===== */
@media print {
    .work-overview {
        padding: 2rem 0;
    }
    
    .work-item {
        grid-template-columns: 1fr;
        min-height: auto;
        page-break-inside: avoid;
    }
    
    .work-image {
        height: 200px;
        background: white;
    }
    
    .work-text {
        height: auto;
        padding: 1rem;
        background: white;
        color: black;
    }
    
    .work-text::before {
        display: none;
    }
    
    .point {
        border: 1px solid black;
        background: white;
    }
}
/* ===== Daily Flow Section - 完全版（1枚画像・全体表示対応） ===== */
.daily-flow {
    padding: 6rem 0;
    background: white;
}

.flow-main-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.flow-image-container {
    position: relative;
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-image {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 画像全体を表示、アスペクト比維持 */
    background-color: #f8f9fa; /* 余白部分の背景色 */
    display: block;
}

.flow-text-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    height: 600px;
    overflow-y: auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.flow-text-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #26A7E1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-text-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.flow-time {
    font-size: 1.1rem;
    font-weight: bold;
    color: #26A7E1;
    margin-bottom: 0.5rem;
}

.flow-text-item h3 {
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1.2rem;
}

.flow-text-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.flow-arrow-down {
    text-align: center;
    color: #26A7E1;
    font-size: 1.2rem;
    margin: 0.5rem 0;
    animation: bounce-vertical 2s infinite;
}

@keyframes bounce-vertical {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.flow-text-container::-webkit-scrollbar {
    width: 6px;
}

.flow-text-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.flow-text-container::-webkit-scrollbar-thumb {
    background: #26A7E1;
    border-radius: 10px;
}

.flow-text-container::-webkit-scrollbar-thumb:hover {
    background: #1E90D1;
}

/* ===== タブレット対応 ===== */
@media (max-width: 1024px) {
    .daily-flow {
        padding: 5rem 0;
    }
    
    .flow-main-container {
        gap: 3rem;
    }
    
    .flow-image-container {
        height: 500px;
        background-color: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .flow-image img {
        object-fit: contain;
        background-color: transparent;
    }
    
    .flow-text-container {
        height: 500px;
        padding: 1.5rem;
    }
    
    .flow-text-item {
        padding: 1.2rem;
    }
    
    .flow-text-item h3 {
        font-size: 1.1rem;
    }
    
    .flow-text-item p {
        font-size: 0.85rem;
    }
}

/* ===== モバイル対応 ===== */
@media (max-width: 768px) {
    .daily-flow {
        padding: 4rem 0;
    }
    
    .flow-main-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .flow-image-container {
        height: 300px;
        background-color: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .flow-image img {
        object-fit: contain;
        background-color: transparent;
    }
    
    .flow-text-container {
        height: auto;
        max-height: 500px;
        padding: 1.5rem;
    }
    
    .flow-text-item {
        padding: 1rem;
    }
    
    .flow-text-item h3 {
        font-size: 1rem;
    }
    
    .flow-text-item p {
        font-size: 0.8rem;
    }
}

/* ===== 小さなモバイル画面対応 ===== */
@media (max-width: 480px) {
    .flow-image-container {
        height: 250px;
    }
    
    .flow-text-container {
        padding: 1rem;
        max-height: 400px;
    }
    
    .flow-text-item {
        padding: 0.8rem;
    }
    
    .flow-time {
        font-size: 1rem;
    }
    
    .flow-text-item h3 {
        font-size: 0.9rem;
    }
    
    .flow-text-item p {
        font-size: 0.75rem;
    }
}

/* ===== アクセシビリティ対応 ===== */
@media (prefers-reduced-motion: reduce) {
    .flow-arrow-down {
        animation: none;
    }
    
    .flow-text-item {
        transition: none;
    }
    
    .flow-text-item:hover {
        transform: none;
    }
}

/* ===== 高コントラストモード対応 ===== */
@media (prefers-contrast: high) {
    .flow-text-item {
        border-left-color: #000;
    }
    
    .flow-time {
        color: #000;
    }
    
    .flow-text-container::-webkit-scrollbar-thumb {
        background: #000;
    }
}

/* ===== プリント対応 ===== */
@media print {
    .daily-flow {
        padding: 2rem 0;
    }
    
    .flow-main-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .flow-image-container {
        height: 200px;
        background: white;
        box-shadow: none;
    }
    
    .flow-image img {
        object-fit: contain;
        background-color: white;
    }
    
    .flow-text-container {
        height: auto;
        max-height: none;
        overflow: visible;
        background: white;
        box-shadow: none;
        padding: 0;
    }
    
    .flow-text-item {
        margin-bottom: 1rem;
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .flow-arrow-down {
        display: none;
    }
}

/* ===== 画像の遅延読み込み対応 ===== */
.flow-image img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.flow-image img[loading="lazy"].loaded {
    opacity: 1;
}

/* ===== スクロールバーのスタイル調整（Firefox対応） ===== */
.flow-text-container {
    scrollbar-width: thin;
    scrollbar-color: #26A7E1 #f1f1f1;
}

/* ===== レスポンシブな余白調整 ===== */
@media (max-width: 1200px) {
    .flow-main-container {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .flow-main-container {
        gap: 1.5rem;
    }
}

/* ===== ダークモード対応 ===== */
@media (prefers-color-scheme: dark) {
    .daily-flow {
        background: #1a1a1a;
    }
    
    .flow-image-container {
        background: #2d2d2d;
    }
    
    .flow-image img {
        background-color: #2d2d2d;
    }
    
    .flow-text-container {
        background: #2d2d2d;
    }
    
    .flow-text-item {
        background: #3a3a3a;
        color: #fff;
    }
    
    .flow-text-item h3 {
        color: #fff;
    }
    
    .flow-text-item p {
        color: #ccc;
    }
}


/* ===== Employee Voices Section - テキスト全表示対応 ===== */
.employee-voices {
    padding: 6rem 0;
    background: #f8f9fa;
}

.voices-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.voice-card {
    display: grid;
    grid-template-columns: 1fr 350px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 400px; /* 固定高さから最小高さに変更 */
}

.voice-card.reverse {
    grid-template-columns: 350px 1fr;
}

.voice-card:hover {
    transform: translateY(-5px);
}

.voice-image {
    width: 100%;
    min-height: 400px; /* 最小高さを設定 */
    overflow: hidden;
}

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

.voice-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* centerからflex-startに変更 */
    min-height: 400px; /* 最小高さを設定 */
}

.voice-header {
    margin-bottom: 1.5rem;
    flex-shrink: 0; /* ヘッダーが縮まないように */
}

.voice-header h3 {
    margin-bottom: 0.8rem;
    color: #333;
    font-size: 1.4rem;
    line-height: 1.3;
}

.voice-header p {
    color: #666;
    font-size: 1rem;
}

.voice-qa {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    flex-grow: 1; /* 残りのスペースを使用 */
}

.qa-pair {
    margin-bottom: 1rem;
}

.question {
    color: #26A7E1;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
}

.answer {
    color: #555;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 3px solid #26A7E1;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* タブレット対応 */
@media (max-width: 1024px) {
    .voice-card {
        grid-template-columns: 1fr 300px;
        min-height: 350px;
    }
    
    .voice-card.reverse {
        grid-template-columns: 300px 1fr;
    }
    
    .voice-image {
        min-height: 350px;
    }
    
    .voice-content {
        min-height: 350px;
        padding: 2rem;
    }
    
    .voice-header h3 {
        font-size: 1.3rem;
    }
    
    .voice-header p {
        font-size: 0.9rem;
    }
    
    .question {
        font-size: 0.95rem;
    }
    
    .answer {
        font-size: 0.9rem;
    }
}

/* モバイル対応 */
@media (max-width: 768px) {
    .employee-voices {
        padding: 4rem 0;
    }
    
    .voice-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .voice-card.reverse {
        grid-template-columns: 1fr;
    }

    .voice-image {
        height: 250px;
        min-height: 250px;
    }

    .voice-content {
        min-height: auto;
        padding: 2rem;
    }
    
    .voice-header {
        margin-bottom: 1.2rem;
    }
    
    .voice-header h3 {
        font-size: 1.2rem;
    }
    
    .voice-header p {
        font-size: 0.9rem;
    }
    
    .voice-qa {
        gap: 1rem;
    }
    
    .question {
        font-size: 0.9rem;
    }
    
    .answer {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

/* 小さなモバイル画面対応 */
@media (max-width: 480px) {
    .voices-container {
        gap: 2rem;
    }
    
    .voice-image {
        height: 200px;
        min-height: 200px;
    }
    
    .voice-content {
        padding: 1.5rem;
    }
    
    .voice-header {
        margin-bottom: 1rem;
    }
    
    .voice-header h3 {
        font-size: 1.1rem;
    }
    
    .voice-header p {
        font-size: 0.85rem;
    }
    
    .voice-qa {
        gap: 0.8rem;
    }
    
    .question {
        font-size: 0.85rem;
    }
    
    .answer {
        font-size: 0.8rem;
        line-height: 1.6;
    }
}


/* ===== Growth Opportunities Section ===== */
.growth-opportunities {
    position: relative;
    padding: 6rem 0;
    color: white;
    text-align: center;
}

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

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

.growth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.growth-content {
    position: relative;
    z-index: 2;
}

.growth-content h2 {
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.growth-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.growth-point {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.growth-point h3 {
    margin-bottom: 1rem;
    color: #26A7E1;
}

.growth-point p {
    color: rgba(255, 255, 255, 0.9);
}

/* ===== Recruitment Info Section ===== */
.recruitment-info {
    padding: 6rem 0;
    background: white;
}

.requirements-table {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.requirements-table table {
    width: 100%;
    border-collapse: collapse;
}

.requirements-table table td {
    padding: 1.5rem;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
}

.requirements-table table td:first-child {
    font-weight: 500;
    color: #333;
    width: 30%;
    background: white;
}

.requirements-table table td:last-child {
    color: #666;
}

.requirements-table table tr:last-child td {
    border-bottom: none;
}

/* ===== Benefits Section ===== */
.benefits {
    padding: 6rem 0;
    background: #f8f9fa;
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: #26A7E1;
}

.benefit-card i {
    font-size: 3rem;
    color: #26A7E1;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.benefit-card p {
    color: #666;
    font-size: 0.9rem;
}

/* ===== Recruitment Flow Section - 修正版 ===== */
.recruitment-flow {
    padding: 6rem 0;
    background: white;
}

.flow-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    /* overflow-x: auto; を削除 */
}

.step {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 1; /* flex-shrink: 0 から変更 */
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #26A7E1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1rem;
}

.step-content p {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.4;
}

.step-arrow {
    color: #26A7E1;
    font-size: 1.2rem;
    margin: 0 0.3rem;
    flex-shrink: 0;
}

/* タブレット・中サイズ画面対応 */
@media (max-width: 1024px) {
    .flow-steps {
        gap: 0.3rem;
        padding: 0 0.5rem;
    }
    
    .step {
        width: 160px;
        height: 160px;
        padding: 1.2rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .step-content h3 {
        font-size: 0.9rem;
    }
    
    .step-content p {
        font-size: 0.75rem;
    }
    
    .step-arrow {
        font-size: 1rem;
        margin: 0 0.2rem;
    }
}

/* モバイル対応 */
@media (max-width: 768px) {
    .flow-steps {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .step {
        width: 200px;
        height: 200px;
        padding: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .step-content h3 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.8rem;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
        font-size: 1.2rem;
    }
}

/* 小さなモバイル画面対応 */
@media (max-width: 480px) {
    .flow-steps {
        gap: 0.8rem;
    }
    
    .step {
        width: 180px;
        height: 180px;
        padding: 1.2rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .step-content h3 {
        font-size: 0.9rem;
    }
    
    .step-content p {
        font-size: 0.75rem;
    }
    
    .step-arrow {
        font-size: 1rem;
        margin: 0.3rem 0;
    }
}


/* ===== Entry Section ===== */
.entry-section {
    padding: 6rem 0;
    background: #f8f9fa;
    text-align: center;
}

.entry-content {
    max-width: 600px;
    margin: 0 auto;
}

.entry-content h2 {
    margin-bottom: 1rem;
    color: #333;
}

.entry-content > p {
    margin-bottom: 3rem;
    color: #666;
    font-size: 1.1rem;
}

.entry-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.external-entry-buttons {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px solid #26A7E1;
}

.external-entry-text {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.external-entry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    justify-items: center;
}

.external-entry-grid .cta-button {
    width: 100%;
    max-width: 250px;
    justify-content: center;
}

.external-entry-grid .cta-button i {
    margin-right: 0.5rem;
}

.contact-info {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    margin-top: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: #333;
}

.contact-info p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* ===== Mobile Fixed CTA ===== */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-cta-button {
    width: 100%;
    display: block;
    padding: 1rem;
    background: linear-gradient(135deg, #26A7E1, #1E90D1);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    font-size: 1.1rem;
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

.error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25) !important;
}

.error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 2rem 0;
    }

    .hero-buttons {
        gap: 0.8rem;
    }

    .hero-buttons .cta-button {
        min-width: 140px;
        font-size: 1rem;
        padding: 0.9rem 1.3rem;
    }

    .external-buttons {
        gap: 0.8rem;
    }

    .external-button {
        min-width: 120px;
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }

    .work-item {
        grid-template-columns: 1fr;
    }

    .work-item.reverse {
        direction: ltr;
    }

    .work-image {
        height: 300px;
    }

    .work-text {
        height: auto;
        padding: 2rem;
    }

    .flow-main-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .flow-slideshow {
        height: 300px;
    }

    .flow-text-container {
        height: auto;
        max-height: 500px;
        padding: 1.5rem;
    }

    .flow-text-item {
        padding: 1rem;
    }

    .voice-card {
        grid-template-columns: 1fr;
        height: auto;
    }

    .voice-card.reverse {
        grid-template-columns: 1fr;
    }

    .voice-image {
        height: 200px;
    }

    .voice-content {
        height: auto;
        padding: 1.5rem;
    }

    .growth-points {
        grid-template-columns: 1fr;
    }

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

    .flow-steps {
        flex-direction: column;
        gap: 1rem;
    }

    .step {
        width: 200px;
        height: 200px;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }

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

    .entry-buttons .cta-button {
        width: 100%;
        max-width: 300px;
    }

    .external-entry-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .external-entry-buttons {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .mobile-cta {
        display: block;
    }

    .entry-section {
        padding-bottom: 8rem;
    }

    .requirements-table {
        padding: 1rem;
    }

    .requirements-table table td {
        padding: 1rem;
    }

    .requirements-table table td:first-child {
        width: 40%;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .cta-button {
        width: 100%;
        max-width: 280px;
    }

    .external-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .external-button {
        width: 100%;
        max-width: 200px;
    }

    .external-links {
        padding: 1.5rem;
    }

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

    .flow-slideshow {
        height: 250px;
    }

    .flow-text-container {
        padding: 1rem;
        max-height: 400px;
    }

    .flow-text-item {
        padding: 0.8rem;
    }

    .slideshow-dots {
        bottom: 10px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .work-overview,
    .daily-flow,
    .employee-voices,
    .growth-opportunities,
    .recruitment-info,
    .benefits,
    .recruitment-flow,
    .entry-section {
        padding: 4rem 0;
    }

    .voice-content {
        padding: 1rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .step {
        width: 180px;
        height: 180px;
        padding: 1.5rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .step-content h3 {
        font-size: 0.9rem;
    }

    .step-content p {
        font-size: 0.75rem;
    }

    .external-entry-buttons {
        padding: 1rem;
    }

    .external-entry-text {
        font-size: 0.9rem;
    }

    .external-entry-grid .cta-button {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
}

/* ===== Accessibility & Performance ===== */
@media (prefers-contrast: high) {
    .cta-button.primary {
        background: #000;
        color: #fff;
    }

    .cta-button.secondary {
        background: #fff;
        color: #000;
        border: 2px solid #000;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-line {
        animation: none;
    }

    .flow-arrow-down {
        animation: none;
    }
}

/* ===== Print Styles ===== */
@media print {
    .hero-buttons,
    .external-links,
    .mobile-cta,
    .scroll-indicator {
        display: none;
    }

    .hero {
        height: auto;
        min-height: 50vh;
    }

    section {
        page-break-inside: avoid;
    }
}
