/* リセット & ベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body.menu-open {
    overflow: hidden;
}

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

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, 
        rgba(30, 60, 120, 0.95) 0%, 
        rgba(60, 120, 180, 0.95) 50%, 
        rgba(90, 150, 220, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 2000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
}

.nav-brand .tagline {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* ハンバーガーメニューボタン */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.3rem;
    z-index: 2001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

/* ナビゲーションメニュー */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #87CEEB;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #87CEEB, #4169E1);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* メインビジュアル - Updated 2024-v3 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start !important;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    padding-top: 0 !important;
}

/* PC版専用の上部配置強制 */
@media (min-width: 769px) {
    #home .hero-content-left {
        padding-top: 40px !important;
        margin-top: -10px !important;
        transform: translateY(-10px) !important;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.7) 0%, 
        rgba(255, 255, 255, 0.6) 50%, 
        rgba(255, 255, 255, 0.5) 100%);
}

.hero-content-center {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    z-index: 2;
    text-align: center;
}

.hero-content-left {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 1rem 2rem 2rem 2rem;
    width: 100%;
    padding-top: 40px !important;
    margin-top: -10px !important;
    padding-left: 8%;
}

.hero-text-container {
    max-width: 55%;
    margin-left: 3%;
    text-align: left;
    width: 55%;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 700;
    color: #1e3c78;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
    line-height: 1.2;
    text-align: left;
}

.hero-subtitle-container {
    text-align: left;
}

/* PC版のロゴ（右中央寄り） - 基本設定 */
.hero .hero-logo-pc {
    position: absolute !important;
    left: 70% !important;
    top: 60% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1000 !important;
    width: auto !important;
    height: auto !important;
    /* デフォルトはスマホ版なので非表示 */
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.hero-logo-img-pc {
    height: 280px !important;
    width: auto !important;
    max-width: none !important;
    opacity: 0.9;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    display: block !important;
    object-fit: contain !important;
}

.hero-logo-img-pc:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* スマホ版のロゴ（タイトルの上）- デフォルトは非表示 */
.hero-logo-mobile {
    display: none !important;
    margin-bottom: 1rem;
    text-align: center;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.hero-logo-img-mobile {
    height: 150px;
    width: auto;
    opacity: 1;
    background: transparent;
    padding: 10px;
    border-radius: 10px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.title-line-1,
.title-line-2,
.title-line-3 {
    display: block;
    margin-bottom: 0.5rem;
}

/* PC版のタイトル表示（デフォルト） */
.title-line-pc {
    display: block;
}

.title-line-mobile {
    display: none;
}


.line-bg {
    background: linear-gradient(135deg, #4169E1, #6495ED, #87CEEB, #4169E1);
    background-size: 300% 100%;
    padding: 0.3rem 0.8rem;
    border-radius: 0;
    display: inline-block;
    margin: 0.1rem 0.2rem;
    box-shadow: 0 4px 12px rgba(65, 105, 225, 0.4);
    animation: shimmer 5s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    color: white;
}

.line-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 4s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.subtitle-bg {
    background: linear-gradient(135deg, #4169E1, #6495ED, #87CEEB, #4169E1);
    background-size: 300% 100%;
    padding: 1rem 1.5rem;
    border-radius: 0;
    margin-top: 2rem;
    box-shadow: 0 6px 20px rgba(65, 105, 225, 0.5);
    animation: shimmer 5s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.subtitle-bg .hero-subtitle {
    color: white;
    text-shadow: none;
}

.subtitle-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 4.5s ease-in-out infinite;
}


.hero-subtitle-container {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.hero-subtitle-container .subtitle-bg {
    margin-top: 0;
    display: inline-block;
    width: fit-content;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: #1e3c78;
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #4169E1, #6495ED);
    color: white;
    box-shadow: 0 8px 25px rgba(65, 105, 225, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(65, 105, 225, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1e3c78;
    transform: translateY(-3px);
}



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

@keyframes slideInNav {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* セクション共通スタイル */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #1e3c78 0%, #4169E1 50%, #87CEEB 100%);
    color: white;
    padding: 2rem 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(30, 60, 120, 0.3);
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: titleShine 3s ease-in-out infinite;
}

@keyframes titleShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* 企業理念・価値観 */
.about {
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 50%, #f8fbff 100%);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(65, 105, 225, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(135, 206, 235, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    font-weight: 400;
}

/* Philosophy Grid Layout */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}
.philosophy-item {
    position: relative;
    min-height: 400px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
    cursor: pointer;
}

.philosophy-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.philosophy-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

/* アニメーション背景の共通スタイル */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #1e3c78, #4169E1, #87CEEB);
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite;
}

/* Purpose背景 - 浮遊する円と波のアニメーション */
.purpose-bg {
    background: linear-gradient(135deg, #2c5aa0, #4169E1, #6495ED);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.circle-3 {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 70%;
    animation-delay: 4s;
}

.circle-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

.wave-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: wave 8s linear infinite;
}

.wave-1 {
    animation-delay: 0s;
}

.wave-2 {
    animation-delay: 2s;
    opacity: 0.6;
}

.wave-3 {
    animation-delay: 4s;
    opacity: 0.3;
}

/* Mission背景 - パーティクルと幾何学図形 */
.mission-bg {
    background: linear-gradient(135deg, #1e3c78, #4169E1, #7B68EE);
}

.particle-system {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: particle 12s linear infinite;
}

.particle-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.particle-2 {
    top: 30%;
    right: 25%;
    animation-delay: 2s;
}

.particle-3 {
    bottom: 40%;
    left: 15%;
    animation-delay: 4s;
}

.particle-4 {
    top: 60%;
    left: 60%;
    animation-delay: 6s;
}

.particle-5 {
    bottom: 20%;
    right: 30%;
    animation-delay: 8s;
}

.particle-6 {
    top: 80%;
    left: 80%;
    animation-delay: 10s;
}

.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    animation: rotate 20s linear infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid rgba(255, 255, 255, 0.05);
    top: 25%;
    right: 20%;
    background: none;
}

.shape-square {
    width: 40px;
    height: 40px;
    top: 70%;
    left: 25%;
    animation-direction: reverse;
}

.shape-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    top: 45%;
    right: 40%;
    animation-delay: 5s;
}

/* Vision背景 - グラデーションオーブと流れる線 */
.vision-bg {
    background: linear-gradient(135deg, #4169E1, #87CEEB, #B0E0E6);
}

.gradient-orbs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
    filter: blur(1px);
    animation: orb 15s ease-in-out infinite;
}

.orb-1 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.orb-2 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    right: 20%;
    animation-delay: 5s;
}

.orb-3 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 60%;
    animation-delay: 10s;
}

.flowing-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: flow 10s linear infinite;
}

.line-1 {
    top: 25%;
    width: 100%;
    animation-delay: 0s;
}

.line-2 {
    top: 50%;
    width: 80%;
    left: 10%;
    animation-delay: 2.5s;
}

.line-3 {
    top: 75%;
    width: 100%;
    animation-delay: 5s;
}

.line-4 {
    top: 40%;
    width: 60%;
    right: 0;
    animation-delay: 7.5s;
}

.philosophy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(30, 60, 120, 0.85) 0%, 
        rgba(65, 105, 225, 0.75) 50%, 
        rgba(135, 206, 235, 0.65) 100%);
    transition: all 0.3s ease;
}

.philosophy-item:hover .philosophy-overlay {
    background: linear-gradient(135deg, 
        rgba(30, 60, 120, 0.9) 0%, 
        rgba(65, 105, 225, 0.8) 50%, 
        rgba(135, 206, 235, 0.7) 100%);
}

.philosophy-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.philosophy-header {
    margin-bottom: 2rem;
}

.philosophy-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.philosophy-content h3 {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.philosophy-content h4 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.philosophy-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}



/* Values セクション */
.values-section {
    margin-top: 4rem !important;
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    clear: both;
}

.values-title {
    text-align: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #1e3c78, #4169E1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2.5rem !important;
    font-weight: 700;
}

/* Values グリッドレイアウト */
.values-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    justify-items: center;
    align-items: stretch;
}

.values-section .value-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 
        0 15px 35px rgba(65, 105, 225, 0.08),
        0 5px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    padding: 1.8rem 1.5rem !important;
    text-align: center;
    min-height: 180px !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 350px;
    box-sizing: border-box;
    margin: 0 auto;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4169E1, #87CEEB);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 25px 50px rgba(65, 105, 225, 0.12),
        0 10px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.values-section .value-icon {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    background: linear-gradient(135deg, #4169E1, #87CEEB) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem !important;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(65, 105, 225, 0.2);
    flex-shrink: 0;
}

.values-section .value-icon svg {
    width: 30px !important;
    height: 30px !important;
    color: white !important;
    transition: all 0.3s ease;
    fill: currentColor;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 0 12px 30px rgba(65, 105, 225, 0.3);
}

.value-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.values-section .value-content h4 {
    font-size: 1.3rem !important;
    background: linear-gradient(135deg, #1e3c78, #4169E1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem !important;
    font-weight: 700;
    line-height: 1.3;
}

.values-section .value-content p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    color: #555;
    font-weight: 400;
    max-width: 280px;
    text-align: center;
    margin: 0 !important;
}


/* 代表実績 */
.achievements {
    background: linear-gradient(135deg, #e6f3ff 0%, #f0f8ff 100%);
    padding: 6rem 0;
}

/* 数値統計セクション */
.stats-section {
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #4169E1;
    transition: all 0.3s ease;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1e3c78;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.stat-unit {
    font-size: 1.2rem;
    color: #4169E1;
    font-weight: 600;
}

/* アコーディオン形式の実績 */
.achievements-accordion {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.accordion-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.03), rgba(135, 206, 235, 0.03));
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-header {
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.1), rgba(135, 206, 235, 0.1));
}

.accordion-icon {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.accordion-header h3 {
    flex: 1;
    font-size: 1.2rem;
    color: #1e3c78;
    margin: 0;
    font-weight: 600;
}

.accordion-toggle {
    font-size: 1.5rem;
    color: #4169E1;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-toggle {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 400px;
}

.achievement-detail {
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.achievement-image {
    width: 180px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.achievement-text {
    flex: 1;
}

.achievement-text p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.industry-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.industry-item {
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.1), rgba(135, 206, 235, 0.1));
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #4169E1;
    font-weight: 500;
}

/* タグクラウド */
.expertise-cloud {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.05), rgba(135, 206, 235, 0.05));
    border-radius: 20px;
}

.expertise-cloud h3 {
    font-size: 2rem;
    color: #1e3c78;
    margin-bottom: 2rem;
}

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

.expertise-tag {
    background: linear-gradient(45deg, #4169E1, #6495ED);
    color: white;
    border-radius: 25px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.3);
    transition: all 0.3s ease;
}

.expertise-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(65, 105, 225, 0.4);
}

.expertise-tag.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.expertise-tag.medium {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}

.expertise-tag.small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* 会社情報 */
.company-info {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 6rem 0;
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.info-card, .vision-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(65, 105, 225, 0.1);
}

.info-card h3, .vision-card h3 {
    color: #1e3c78;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.info-table {
    width: 100%;
}

.info-table td {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.info-table td:first-child {
    font-weight: 600;
    color: #4169E1;
    width: 35%;
}

/* ビジョンカードの新デザイン */
.vision-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.vision-year {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(45deg, #4169E1, #87CEEB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.vision-header h3 {
    font-size: 1.8rem;
    color: #1e3c78;
    margin-bottom: 0.5rem;
}

.vision-subtitle {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.vision-goals {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.vision-goal {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.05), rgba(135, 206, 235, 0.05));
    border-radius: 15px;
    border-left: 4px solid #4169E1;
    transition: all 0.3s ease;
}

.vision-goal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(65, 105, 225, 0.15);
}

.goal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.goal-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e3c78;
    margin-bottom: 0.3rem;
}

.goal-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.vision-message {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #1e3c78, #4169E1);
    border-radius: 15px;
    margin-top: 1rem;
}

.vision-message p {
    color: white;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

/* 事業内容 */
.business {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

/* 事業セクション（横並び） */
.business-section-horizontal {
    margin-bottom: 4rem;
}

.business-section-title-horizontal {
    font-size: 1.8rem;
    color: #1e3c78;
    text-align: left;
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
    padding-left: 1rem;
}

.business-section-title-horizontal::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 2rem;
    background: linear-gradient(180deg, #4169E1, #87CEEB);
    border-radius: 2px;
}

/* 横並びカードコンテナ */
.business-cards-container {
    position: relative;
    overflow: visible;
    padding: 1rem 0;
}

.business-cards-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem;
    /* デスクトップではスクロールバーを隠す */
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* 右側の見切りのために負のマージンを設定 */
    margin-right: -120px;
    padding-right: 120px;
}

.business-cards-scroll::-webkit-scrollbar {
    display: none;
}

/* 横並びカード */
.business-card-horizontal {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 350px;
    max-width: 400px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.business-card-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4169E1, #87CEEB);
}

.business-card-horizontal:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* カードアイコン */
.business-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

/* 新しい横長画像スタイル（600×400px対応） */
.business-card-image {
    width: 100%;
    height: 240px; /* 600×400のアスペクト比(3:2)を維持 */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(65, 105, 225, 0.15);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.business-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block; /* インライン要素のデフォルト余白を除去 */
}

/* スマートフォン・タブレット用の画像表示改善 */
@media (max-width: 768px) {
    .business-card-horizontal .business-main-img,
    .business-main-img {
        object-fit: cover !important; /* PC版と同じ比率 */
        object-position: center !important;
        background: none !important;
        padding: 0 !important;
    }
    
    .business-card-image {
        border-radius: 12px;
        background: none !important;
    }
}

.business-card-horizontal:hover .business-main-img {
    transform: scale(1.05);
}

/* カードコンテンツ */
.business-card-content {
    flex: 1;
}

.business-card-content h4 {
    font-size: 1.3rem;
    color: #1e3c78;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    font-weight: 600;
}

.business-card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.business-link-horizontal {
    color: #4169E1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.business-link-horizontal:hover {
    color: #1e3c78;
    transform: translateX(5px);
}

/* 中央カードの強調 */
.business-card-center {
    transform: scale(1.05);
    box-shadow: 0 20px 45px rgba(65, 105, 225, 0.2);
    border: 2px solid rgba(65, 105, 225, 0.1);
}

.business-card-center:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 30px 60px rgba(65, 105, 225, 0.25);
}

/* カスタマイズされた研修提案セクション */
.custom-training-proposal {
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.proposal-content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(30, 60, 120, 0.1);
    border-left: 4px solid #4169E1;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.proposal-icon-small {
    margin-bottom: 1rem;
    color: #4169E1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.proposal-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.proposal-cta {
    text-align: center;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #4169E1, #87CEEB);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(65, 105, 225, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(65, 105, 225, 0.4);
    background: linear-gradient(135deg, #1e3c78, #4169E1);
}

/* PC版での提案セクション幅調整 */
@media (min-width: 769px) {
    .proposal-content {
        padding: 2rem 3rem;
        max-width: none;
        width: 100%;
    }
    
    .proposal-description {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 0.9rem 2.5rem;
    }
}

/* 代表挨拶 */
.ceo-message {
    background: #ffffff;
    padding: 8rem 0;
    position: relative;
}

.ceo-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.ceo-photo {
    text-align: center;
    position: sticky;
    top: 2rem;
}

.ceo-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 0;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(30, 60, 120, 0.1);
    display: block;
    margin: 0 auto;
}

.ceo-info {
    margin-top: 2rem;
    text-align: center;
}

.ceo-name {
    font-size: 1.3rem;
    color: #1e3c78;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ceo-title {
    font-size: 1.8rem;
    color: #2c4a8c;
    font-weight: 700;
    margin: 0;
}

.ceo-text {
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.02), rgba(135, 206, 235, 0.02));
    border-radius: 25px;
    padding: 3rem;
    border-left: 5px solid #4169E1;
    box-shadow: 0 10px 30px rgba(30, 60, 120, 0.08);
}

.ceo-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: justify;
    font-weight: 400;
}

.ceo-text p:last-of-type {
    margin-bottom: 0;
}

.ceo-quote {
    background: linear-gradient(135deg, #1e3c78, #4169E1);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    margin: 3rem 0;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 40px rgba(30, 60, 120, 0.2);
}

.ceo-quote::before {
    content: '"';
    font-size: 4rem;
    font-family: Georgia, serif;
    position: absolute;
    top: -10px;
    left: 20px;
    color: rgba(255, 255, 255, 0.3);
}

.ceo-quote::after {
    content: '"';
    font-size: 4rem;
    font-family: Georgia, serif;
    position: absolute;
    bottom: -30px;
    right: 20px;
    color: rgba(255, 255, 255, 0.3);
}

.ceo-quote p {
    font-size: 1.3rem;
    font-weight: 600;
    font-style: italic;
    margin: 0;
    color: white;
    text-align: center;
    position: relative;
    z-index: 2;
}

.ceo-closing {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3c78;
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e8f4f8;
}

/* 導入実績 */
.results {
    background: linear-gradient(135deg, #e6f3ff 0%, #b3d9ff 25%, #80c4ff 50%, #4da6ff 75%, #1a8cff 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(135, 206, 235, 0.3) 0%, transparent 50%);
}

/* 累積実績バッジ - 滑らかな青のグラデーション */
.achievement-badge {
    display: inline-block;
    position: relative;
    background: linear-gradient(135deg, #1e3c78 0%, #2c5aa0 25%, #4169E1 50%, #6495ED 75%, #87CEEB 100%);
    color: white;
    padding: 0.8rem 2.2rem;
    border-radius: 25px;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.4s ease;
    overflow: hidden;
}

.achievement-badge::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.2) 45%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.2) 55%,
        transparent 60%
    );
    animation: smoothSparkle 3s ease-in-out infinite;
    pointer-events: none;
}

.achievement-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.08) 100%);
    border-radius: 25px;
    pointer-events: none;
}

.achievement-badge:hover {
    background: linear-gradient(135deg, #2c5aa0 0%, #4169E1 25%, #6495ED 50%, #87CEEB 75%, #B0E0E6 100%);
    transform: translateY(-1px) scale(1.01);
}

@keyframes smoothSparkle {
    0% {
        transform: translateX(-150%) translateY(-150%) rotate(45deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateX(150%) translateY(150%) rotate(45deg);
        opacity: 0;
    }
}

/* アニメーション軽減設定 */
@media (prefers-reduced-motion: reduce) {
    .achievement-badge,
    .achievement-badge::before {
        animation: none;
    }
    
    .achievement-badge:hover {
        transform: translateY(-1px) scale(1.01);
    }
}

/* タブレット用の実績バッジ */
@media (max-width: 768px) {
    .achievement-badge {
        font-size: 0.95rem !important;
        padding: 0.7rem 2rem !important;
        margin-bottom: 1.3rem !important;
        border-radius: 22px !important;
        letter-spacing: 0.4px !important;
        font-weight: 600 !important;
        border: none !important;
    }
}

.results .section-title {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 50%, #e6f3ff 100%);
    color: #1e3c78;
    border: 3px solid #4169E1;
    position: relative;
    z-index: 2;
    text-shadow: none;
    box-shadow: 0 15px 40px rgba(30, 60, 120, 0.2);
    margin-top: 0.5rem;
}

.results .section-subtitle {
    color: #2c4a8c;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* スライダーコンテナ */
.results-slider-container {
    position: relative;
    overflow: visible;
    margin-bottom: 4rem;
    padding: 2rem 0;
    z-index: 2;
}

.results-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 1rem;
    /* デスクトップではスクロールバーを隠す */
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* 右側の見切りのために負のマージンを設定 */
    margin-right: -120px;
    padding-right: 120px;
}

.results-slider::-webkit-scrollbar {
    display: none;
}

.result-card-slide {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
    border-radius: 20px;
    box-shadow: 
        0 15px 40px rgba(30, 60, 120, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid #4169E1;
    min-width: 360px;
    max-width: 420px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    scroll-snap-align: center;
}

.result-card-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.05), rgba(135, 206, 235, 0.03));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.result-card-slide:hover::before {
    opacity: 1;
}

.result-card-slide:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(30, 60, 120, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.7),
        0 0 30px rgba(65, 105, 225, 0.15);
}

/* 導入実績の画像スタイル */
.result-image {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.solution-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block; /* インライン要素のデフォルト余白を除去 */
}

/* スマートフォン・タブレット用の導入実績画像表示改善 */
@media (max-width: 768px) {
    .result-card-slide .solution-img,
    .solution-img {
        object-fit: cover !important; /* PC版と同じ比率 */
        object-position: center !important;
        background: none !important;
        padding: 0 !important;
    }
    
    .result-image {
        border-radius: 8px;
        background: none !important;
    }
}

.result-card-slide:hover .solution-img {
    transform: scale(1.05);
}

.result-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 3;
}

/* 業種タグのデザイン */
.industry-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.industry-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.industry-tag:hover::before {
    left: 100%;
}

.industry-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 業種別カラー */
.industry-tag.construction {
    background: linear-gradient(135deg, #27AE60, #2ECC71, #58D68D);
}

.industry-tag.photo-studio {
    background: linear-gradient(135deg, #8E44AD, #9B59B6, #BB8FCE);
}

.industry-tag.reform {
    background: linear-gradient(135deg, #E67E22, #F39C12, #F8C471);
}

.industry-tag.dental {
    background: linear-gradient(135deg, #E74C3C, #EC7063, #F1948A);
}

.industry-tag.it {
    background: linear-gradient(135deg, #3498DB, #5DADE2, #85C1E9);
}

.industry-tag.entertainment {
    background: linear-gradient(135deg, #9B59B6, #AF7AC5, #C39BD3);
}

.industry-tag.medical {
    background: linear-gradient(135deg, #E74C3C, #F1948A, #FADBD8);
}

.industry-tag.manufacturer {
    background: linear-gradient(135deg, #34495E, #5D6D7E, #85929E);
}

.industry-tag.e-commerce {
    background: linear-gradient(135deg, #F39C12, #F7DC6F, #FCF3CF);
    color: #2C3E50;
}

.company-badge {
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.company-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.company-badge:hover::before {
    left: 100%;
}

.it-company {
    background: linear-gradient(135deg, #4A90E2, #5BA3F5, #74B3F7);
}

.entertainment-company {
    background: linear-gradient(135deg, #8E44AD, #A569BD, #C39BD3);
}

.construction-company {
    background: linear-gradient(135deg, #27AE60, #58D68D, #7DCEA0);
}

.medical-company {
    background: linear-gradient(135deg, #E74C3C, #EC7063, #F1948A);
}

.company-name {
    font-size: 1.2rem;
    color: white;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.company-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 3;
}

.info-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    transform: translateY(-2px);
}

.result-title {
    font-size: 1rem;
    color: #1e3c78;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-weight: 600;
    position: relative;
    z-index: 3;
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 3;
}

.metric {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 15px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.metric:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
}

.metric-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.before, .after {
    font-size: 1.4rem;
    font-weight: 700;
    color: #87CEEB;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.before {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
    font-size: 1rem;
}

.improvement {
    background: linear-gradient(135deg, #00D4AA, #00C49F, #00B894);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(0, 212, 170, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
    }
}

/* 総合実績 */
.total-results {
    background: linear-gradient(135deg, #1e3c78, #4169E1);
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    color: white;
}

.total-results-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
}

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

.total-stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #87CEEB;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* 事業セクション */
.business-section {
    margin-bottom: 4rem;
}

.business-section-title {
    font-size: 2rem;
    color: #1e3c78;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.business-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #4169E1, #87CEEB);
    border-radius: 2px;
}

.business-subsection {
    margin-bottom: 3rem;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.02), rgba(135, 206, 235, 0.02));
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(65, 105, 225, 0.1);
}

.business-subsection-title {
    font-size: 1.5rem;
    color: #1e3c78;
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
    padding-left: 1rem;
}

.business-subsection-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 1.5rem;
    background: linear-gradient(180deg, #4169E1, #87CEEB);
    border-radius: 2px;
}

.business-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.business-card-small {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #4169E1;
}

.business-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* 削除: business-icon-small は不要 */

.business-card-small h4 {
    font-size: 1.2rem;
    color: #1e3c78;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.business-card-small p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.business-link-small {
    color: #4169E1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.business-link-small:hover {
    color: #1e3c78;
    transform: translateX(3px);
}

/* お客様の声 */
.testimonials {
    background: linear-gradient(135deg, #1e3c78 0%, #4169E1 100%);
    color: white;
}

.testimonials .section-title {
    color: white;
    -webkit-text-fill-color: white;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-rating {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: #87CEEB;
}

/* お問い合わせ */
.contact {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 6rem 0;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: start;
}


/* お問い合わせフォーム */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(65, 105, 225, 0.1);
    max-width: 800px;
    width: 100%;
}

.contact-form h3 {
    color: #1e3c78;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
    text-align: center;
    font-weight: 600;
}

/* フォーム行（横並び） */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4169E1;
    background: white;
    box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.1);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-style: italic;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 3rem;
}

/* チェックボックススタイル */
.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
    gap: 0.8rem;
    width: 100%;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    background: #fafafa;
    position: relative;
    flex-shrink: 0;
    margin-top: 0.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #4169E1;
    border-color: #4169E1;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label:hover .checkbox-custom {
    border-color: #4169E1;
    background: rgba(65, 105, 225, 0.05);
}

.checkbox-label a {
    color: #4169E1;
    text-decoration: underline;
    font-weight: 500;
}

.checkbox-label a:hover {
    color: #1e3c78;
}

/* 送信ボタンエリア */
.form-submit {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e8f4f8;
}

.form-submit .btn {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, #4169E1, #87CEEB);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(65, 105, 225, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.form-submit .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(65, 105, 225, 0.4);
    background: linear-gradient(135deg, #1e3c78, #4169E1);
}

.form-submit .btn:active {
    transform: translateY(-1px);
}

.form-submit .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.2);
}

.btn-loading {
    display: none;
}

.form-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    text-align: center;
}

/* バリデーションエラー */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

.form-group.error label {
    color: #e74c3c;
}

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

/* 成功状態 */
.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #27ae60;
    background: rgba(39, 174, 96, 0.05);
}

/* フォーム送信完了メッセージ */
.form-success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 2rem;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
}

.form-success h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.form-success p {
    margin: 0;
    line-height: 1.6;
}

/* 法的ページ（プライバシーポリシー・特定商取引法） */
.legal-page {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    padding: 2rem 0;
    padding-top: 120px; /* ヘッダーの高さを考慮 */
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.legal-title {
    font-size: 2.5rem;
    color: #1e3c78;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
}

.legal-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(135deg, #4169E1, #87CEEB);
    border-radius: 2px;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.4rem;
    color: #1e3c78;
    margin-bottom: 1rem;
    font-weight: 600;
    border-left: 4px solid #4169E1;
    padding-left: 1rem;
}

.legal-section h3 {
    font-size: 1.2rem;
    color: #2c4a8c;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
    font-weight: 600;
}

.legal-section p {
    line-height: 1.8;
    color: #333;
    margin-bottom: 1rem;
}

.legal-section ol, .legal-section ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.legal-section li {
    line-height: 1.8;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-info {
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.05), rgba(135, 206, 235, 0.05));
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #4169E1;
    margin-top: 1rem;
}

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

.contact-info strong {
    color: #1e3c78;
}

.policy-date {
    text-align: right;
    font-style: italic;
    color: #666;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
    margin-top: 2rem;
}

.back-to-home {
    text-align: center;
    margin-top: 3rem;
}

.btn-back {
    display: inline-block;
    background: linear-gradient(135deg, #4169E1, #87CEEB);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(65, 105, 225, 0.3);
}

.btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(65, 105, 225, 0.4);
    background: linear-gradient(135deg, #1e3c78, #4169E1);
}

/* 法的ページ レスポンシブ */
@media (max-width: 768px) {
    .legal-page {
        padding-top: 110px; /* タブレット版のヘッダー高さを考慮 */
    }
    
    .legal-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .legal-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.2rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
    
    .legal-section ol, .legal-section ul {
        padding-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding: 1rem 0;
        padding-top: 100px; /* スマホ版のヘッダー高さを考慮 */
    }
    
    .legal-content {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .legal-title {
        font-size: 1.8rem;
    }
    
    .legal-section {
        margin-bottom: 2rem;
    }
    
    .btn-back {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}

/* フッター */
.footer {
    background: linear-gradient(135deg, #1e3c78 0%, #2c4a8c 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #87CEEB;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 0.5rem;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(255, 255, 255, 0.3));
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #87CEEB;
    font-size: 1.2rem;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #87CEEB;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* スライダー矢印の基本スタイル */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(65, 105, 225, 0.2);
    border-radius: 50%;
    color: #1e3c78;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(65, 105, 225, 0.1);
    backdrop-filter: blur(10px);
    line-height: 1;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(65, 105, 225, 0.4);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.15),
        0 4px 15px rgba(65, 105, 225, 0.2);
    color: #2c5aa0;
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.96);
    transition: all 0.1s ease;
}

.slider-arrow-left {
    left: 15px;
}

.slider-arrow-right {
    right: 15px;
}

.slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(65, 105, 225, 0.1);
    color: rgba(30, 60, 120, 0.4);
}

.slider-arrow:disabled:hover {
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(65, 105, 225, 0.1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(65, 105, 225, 0.1);
    color: rgba(30, 60, 120, 0.4);
}

/* スライダー矢印のモバイル対応 */
@media (max-width: 768px) {
    .slider-arrow {
        width: 46px;
        height: 46px;
        font-size: 1.4rem;
        border-radius: 50%;
    }
    
    .slider-arrow-left {
        left: 12px;
    }
    
    .slider-arrow-right {
        right: 12px;
    }
    
    .slider-arrow:hover {
        transform: translateY(-50%) scale(1.05);
    }
}

/* モバイル用スライド設定 */
@media (max-width: 768px) {
    .business-section-title-horizontal {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        text-align: center;
        padding-left: 0;
    }
    
    .business-section-title-horizontal::before {
        display: none;
    }
    
    .business-cards-scroll {
        padding: 0.5rem 2rem;
        gap: 1rem;
        /* スマホでは明示的にスクロール可能にする */
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        /* 左右の見切りのために負のマージンを設定 */
        margin: 0 -1.5rem;
    }
    
    /* 最初と最後のカードの見切り効果 */
    .business-card-horizontal:first-child {
        margin-left: -1rem;
    }
    
    .business-card-horizontal:last-child {
        margin-right: -1rem;
    }
    
    /* スマホでのスクロールヒント */
    .business-cards-container {
        position: relative;
    }
    
    .business-cards-container::before,
    .business-cards-container::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 15px;
        z-index: 2;
        pointer-events: none;
    }
    
    .business-cards-container::before {
        left: 0;
        background: linear-gradient(to right, rgba(240, 248, 255, 0.9), rgba(240, 248, 255, 0));
    }
    
    .business-cards-container::after {
        right: 0;
        background: linear-gradient(to left, rgba(240, 248, 255, 0.9), rgba(240, 248, 255, 0));
    }
    
    .business-card-horizontal {
        min-width: 85vw;
        max-width: 85vw;
        padding: 1.5rem;
        scroll-snap-align: center;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        flex-shrink: 0;
    }
    
    .business-card-image {
        height: 180px; /* スマホでも3:2比率を維持 */
        margin-bottom: 1rem;
    }
    
    .business-card-icon {
        width: 60px;
        height: 60px;
        align-self: center;
    }
    
    .business-card-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .business-card-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .business-link-horizontal {
        font-size: 0.9rem;
        justify-content: center;
    }
}

/* タブレット対応 */
@media (min-width: 769px) and (max-width: 1024px) {
    .business-card-horizontal {
        min-width: 300px;
        max-width: 350px;
    }
    
    .business-card-image {
        height: 200px; /* タブレットサイズでも3:2比率を維持 */
    }
    
    /* Values タブレット対応 */
    .value-card {
        min-width: 300px;
        max-width: 350px;
    }
}

/* 大画面デスクトップ専用（1025px以上） */
@media (min-width: 1025px) {
    .hero-content-left {
        padding-top: 40px !important;
        margin-top: -10px !important;
        padding-left: 8% !important;
    }
    
    .hero-text-container {
        max-width: 55% !important;
        margin-left: 3% !important;
        width: 55% !important;
    }
    
    .hero .hero-logo-pc,
    .hero .hero-logo-pc-desktop,
    section.hero .hero-logo-pc,
    section.hero .hero-logo-pc-desktop {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute !important;
        left: 70% !important;
        top: 60% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1000 !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        pointer-events: auto !important;
    }
    
    .hero-logo-img-pc,
    section.hero .hero-logo-img-pc {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: 280px !important;
        width: auto !important;
    }
    
    /* PC版ではスマホ版ロゴを完全に隠す */
    .hero-logo-mobile {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        z-index: -1 !important;
    }
}

/* デスクトップ専用（769px以上） */
@media (min-width: 769px) {
    .hero-content-left {
        padding-top: 40px !important;
        margin-top: -10px !important;
        padding-left: 8% !important;
    }
    
    .hero-text-container {
        max-width: 55% !important;
        margin-left: 3% !important;
        width: 55% !important;
    }
    
    .hero .hero-logo-pc,
    .hero .hero-logo-pc-desktop,
    section.hero .hero-logo-pc,
    section.hero .hero-logo-pc-desktop {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute !important;
        left: 70% !important;
        top: 60% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1000 !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        pointer-events: auto !important;
    }
    
    .hero-logo-img-pc,
    section.hero .hero-logo-img-pc {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: 280px !important;
        width: auto !important;
    }
    
    /* PC版ではスマホ版ロゴを完全に隠す */
    .hero-logo-mobile {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        z-index: -1 !important;
    }
}

/* タブレット・スマホ用レスポンシブデザイン */
@media (max-width: 768px) {
    .nav {
        position: relative;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, 
            rgba(30, 60, 120, 0.98) 0%, 
            rgba(60, 120, 180, 0.98) 50%, 
            rgba(90, 150, 220, 0.98) 100%);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 2000;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        opacity: 0;
        transform: translateY(20px);
        animation: slideInNav 0.3s ease forwards;
    }
    
    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 0.7rem 0;
        text-align: center;
    }
    
    .nav-link::after {
        bottom: 0.3rem;
    }
}
    
    .hero {
        padding: 0;
        justify-content: flex-start;
    }
    
    .hero-content-left {
        padding: 1rem;
        padding-top: 160px !important;
        min-height: calc(100vh - 80px);
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .hero-text-container {
        margin-left: 0;
        text-align: left;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-title {
        text-align: left;
        font-size: 2.8rem;
    }
    
    .hero-subtitle-container {
        text-align: left;
    }
    
    /* ロゴの表示切り替え */
    .hero .hero-logo-pc,
    .hero .hero-logo-pc-desktop {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    .hero-logo-mobile {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-bottom: 0.8rem;
        margin-top: -1rem;
        position: relative !important;
        left: auto !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
    }
    
    /* スマホ版の表示に切り替え */
    .title-line-pc {
        display: none;
    }
    
    .title-line-mobile {
        display: block;
    }
    
    .line-bg {
        padding: 0.2rem 0.5rem;
        margin: 0.1rem;
        font-size: 0.95em;
    }
    
    .subtitle-bg {
        padding: 0.6rem 1rem;
    }
    
    .hero-subtitle-container {
        margin-top: 1.5rem;
        gap: 0.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .tab-buttons {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.3rem;
        max-width: 300px;
    }
    
    .tab-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-width: auto;
    }
    
    .philosophy-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .philosophy-img {
        width: 200px;
        height: 200px;
    }
    
    .philosophy-text h4 {
        font-size: 1.8rem;
    }
    
    .philosophy-text p {
        font-size: 1.1rem;
    }
    
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .accordion-header {
        padding: 1.2rem 1.5rem;
    }
    
    .accordion-header h3 {
        font-size: 1.1rem;
    }
    
    .achievement-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .achievement-image {
        width: 100%;
        height: 100px;
    }
    
    .tag-cloud {
        gap: 0.8rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-highlight h3 {
        font-size: 1.8rem;
    }
    
    .achievement-subtitle {
        font-size: 1rem;
    }
    
    .achievement-card {
        padding: 2rem;
    }
    
    .expertise-tags {
        gap: 0.8rem;
    }
    
    .expertise-tag {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .company-grid,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vision-year {
        font-size: 3rem;
    }
    
    .vision-goals {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .vision-goal {
        padding: 1.2rem;
    }
    
    .goal-icon {
        width: 50px;
        height: 50px;
    }
    
    .vision-message {
        padding: 1.5rem;
    }
    
    .philosophy-grid {
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .philosophy-item {
        min-height: 350px;
    }
    
    .philosophy-content {
        padding: 2rem;
    }
    
    .philosophy-content h4 {
        font-size: 1.6rem;
    }
    
    /* アニメーション背景のモバイル対応 */
    .floating-circle {
        width: 60px !important;
        height: 60px !important;
    }
    
    .circle-1, .circle-2, .circle-3, .circle-4 {
        animation-duration: 8s;
    }
    
    .particle {
        width: 3px;
        height: 3px;
    }
    
    .orb-1 {
        width: 100px;
        height: 100px;
    }
    
    .orb-2, .orb-3 {
        width: 60px;
        height: 60px;
    }
    
    .shape-triangle {
        border-left-width: 20px;
        border-right-width: 20px;
        border-bottom-width: 30px;
    }
    
    .shape-square {
        width: 30px;
        height: 30px;
    }
    
    .shape-circle {
        width: 40px;
        height: 40px;
    }
    
    /* Values セクション タブレット対応 */
    .values-section {
        padding: 0 15px;
        margin-top: 4rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        padding: 0;
        max-width: 100%;
    }
    
    .value-card {
        padding: 2rem 1.5rem;
        min-height: 200px;
        width: 100%;
        max-width: none;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.2rem;
        flex-shrink: 0;
    }
    
    .value-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .value-content h4 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .value-content p {
        font-size: 0.95rem;
        max-width: none;
        line-height: 1.5;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
    }
    
    .business-card.featured {
        transform: none;
    }
    
    .business-section-title {
        font-size: 1.8rem;
    }
    
    .business-subsection {
        padding: 1.5rem;
    }
    
    .business-subsection-title {
        font-size: 1.3rem;
    }
    
    .business-grid-small {
        grid-template-columns: 1fr;
    }
    
    /* カスタム研修提案 モバイル対応 */
    .proposal-content {
        padding: 1.2rem;
        margin: 0 1rem;
    }
    
    .proposal-icon-small {
        margin-bottom: 0.8rem;
    }
    
    .proposal-description {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }
    
    .cta-button {
        padding: 0.7rem 1.8rem;
        font-size: 0.85rem;
    }

    /* 導入実績レスポンシブ */
    .results-slider {
        padding: 0.5rem;
        gap: 1.5rem;
        /* スマホでは明示的にスクロール可能にする */
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        /* スマホ版では右側の見切りを調整 */
        margin-right: -60px;
        padding-right: 60px;
    }
    
    .result-card-slide {
        min-width: 280px;
        max-width: 320px;
        padding: 1.5rem;
        scroll-snap-align: center;
    }
    
    /* 導入実績の画像 - タブレット対応 */
    .result-image {
        height: 160px;
        margin-bottom: 1.2rem;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .solution-img {
        object-fit: cover; /* PC版と同じ比率 */
        object-position: center;
        width: 100%;
        height: 100%;
    }
    
    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .company-name {
        font-size: 1.1rem;
    }
    
    .result-title {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .metrics-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .metric {
        padding: 0.8rem;
    }
    
    .before, .after {
        font-size: 1.2rem;
    }
    
    .total-results {
        padding: 2rem;
    }
    
    .total-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        height: 40px;
    }
    
    /* 削除: floating-elements は不要 */

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-img {
        height: 30px;
    }
    
    /* 実績バッジのモバイル対応 */
    .achievement-badge {
        font-size: 0.9rem !important;
        padding: 0.6rem 1.8rem !important;
        margin-bottom: 1.2rem !important;
        border-radius: 20px !important;
        letter-spacing: 0.3px !important;
        font-weight: 600 !important;
        background: linear-gradient(135deg, #1e3c78 0%, #2c5aa0 25%, #4169E1 50%, #6495ED 75%, #87CEEB 100%) !important;
        color: white !important;
        border: none !important;
        transition: all 0.4s ease !important;
        position: relative !important;
        display: inline-block !important;
        text-transform: none !important;
        overflow: hidden !important;
    }
    
    .achievement-badge::before {
        content: '' !important;
        position: absolute !important;
        top: -100% !important;
        left: -100% !important;
        width: 300% !important;
        height: 300% !important;
        background: linear-gradient(
            45deg,
            transparent 40%,
            rgba(255, 255, 255, 0.2) 45%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0.2) 55%,
            transparent 60%
        ) !important;
        animation: smoothSparkle 3s ease-in-out infinite !important;
        pointer-events: none !important;
    }
    
    .achievement-badge::after {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.15) 0%, 
            transparent 50%, 
            rgba(255, 255, 255, 0.08) 100%) !important;
        border-radius: 20px !important;
        pointer-events: none !important;
    }
    
    .achievement-badge:hover {
        background: linear-gradient(135deg, #2c5aa0 0%, #4169E1 25%, #6495ED 50%, #87CEEB 75%, #B0E0E6 100%) !important;
        transform: translateY(-1px) scale(1.01) !important;
    }
    
    /* 小画面でのスライダー矢印 */
    .slider-arrow {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
        border-radius: 50%;
    }
    
    .slider-arrow-left {
        left: 10px;
    }
    
    .slider-arrow-right {
        right: 10px;
    }
    
    .slider-arrow:hover {
        transform: translateY(-50%) scale(1.03);
    }
    
    /* Values セクション スマートフォン対応 */
    .values-section {
        padding: 0 10px;
        margin-top: 3rem;
    }
    
    .values-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .value-card {
        padding: 1.5rem 1.2rem;
        min-height: 160px;
        width: 100%;
        max-width: none;
        margin: 0;
        border-radius: 15px;
    }
    
    .value-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
        flex-shrink: 0;
        background: linear-gradient(135deg, #4169E1, #87CEEB);
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    .value-icon svg {
        width: 24px;
        height: 24px;
        color: white;
        fill: currentColor;
    }
    
    .value-content {
        width: 100%;
        flex: 1;
    }
    
    .value-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
    }
    
    .value-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        max-width: 100%;
        width: 100%;
        margin: 0;
    }
    
    /* スマートフォンでのアニメーション軽減 */
    .floating-circle {
        width: 40px !important;
        height: 40px !important;
        animation-duration: 10s;
    }
    
    .particle {
        width: 2px;
        height: 2px;
        animation-duration: 15s;
    }
    
    .orb {
        animation-duration: 20s;
    }
    
    .orb-1 {
        width: 80px;
        height: 80px;
    }
    
    .orb-2, .orb-3 {
        width: 50px;
        height: 50px;
    }
    
    .wave {
        animation-duration: 12s;
    }
    
    .shape {
        animation-duration: 25s;
    }
    
    /* 低性能デバイス向けの設定 */
    @media (max-width: 480px) and (prefers-reduced-motion: reduce) {
        .animated-bg,
        .floating-circle,
        .particle,
        .orb,
        .wave,
        .shape,
        .line {
            animation: none;
        }
        
        .animated-bg {
            background: linear-gradient(135deg, #1e3c78, #4169E1);
        }
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, 
            rgba(30, 60, 120, 0.98) 0%, 
            rgba(60, 120, 180, 0.98) 50%, 
            rgba(90, 150, 220, 0.98) 100%);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 2000;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.6rem 0;
    }
    
    .nav-link::after {
        bottom: 0.2rem;
    }
}

/* 超小画面（高さが小さい画面）向けの追加調整 */
@media (max-width: 480px) and (max-height: 700px) {
    .nav-menu {
        gap: 1rem !important;
    }
    
    .nav-link {
        font-size: 1rem !important;
        padding: 0.5rem 0 !important;
    }
    
    .nav-link::after {
        bottom: 0.1rem !important;
    }
}

@media (max-width: 480px) and (max-height: 600px) {
    .nav-menu {
        gap: 0.8rem !important;
        justify-content: flex-start !important;
        padding-top: 80px !important;
    }
    
    .nav-link {
        font-size: 0.95rem !important;
        padding: 0.4rem 0 !important;
    }
}

@media (max-width: 480px) {
    .vision-year {
        font-size: 2.5rem;
    }
    
    .vision-header h3 {
        font-size: 1.5rem;
    }
    
    .vision-goals {
        gap: 1rem;
    }
    
    .vision-goal {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .goal-icon {
        width: 45px;
        height: 45px;
    }
    
    .goal-content h4 {
        font-size: 1.1rem;
    }
    
    .goal-content p {
        font-size: 0.9rem;
    }
    
    .vision-message {
        padding: 1.2rem;
    }
    
    .vision-message p {
        font-size: 1rem;
    }
    
    .philosophy-content {
        padding: 1.5rem;
    }
    
    .philosophy-content h4 {
        font-size: 1.4rem;
    }
    
    .philosophy-content p {
        font-size: 1rem;
    }
    
    /* 代表挨拶 モバイル対応 */
    .ceo-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .ceo-photo {
        position: relative;
        top: auto;
    }
    
    .ceo-img {
        max-width: 250px;
        width: 100%;
        height: auto;
    }
    
    .ceo-text {
        padding: 2rem;
    }
    
    .ceo-text p {
        font-size: 1rem;
        text-align: left;
    }
    
    .ceo-quote {
        padding: 2rem;
        margin: 2rem 0;
    }
    
    .ceo-quote p {
        font-size: 1.1rem;
    }
    
    .ceo-name {
        font-size: 1.1rem;
    }
    
    .ceo-title {
        font-size: 1.5rem;
    }
    
    .business-card-image {
        height: 160px; /* 小画面でも画像全体が見えるように調整 */
        margin-bottom: 1rem;
    }
    
    /* 小画面での画像表示最適化 - 削除済み（上位の設定で制御） */
    
    
    .hero {
        justify-content: flex-start;
        padding: 0;
    }
    
    .hero-content-left {
        padding: 0.5rem;
        padding-top: 150px !important;
        min-height: calc(100vh - 70px);
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .hero-text-container {
        margin-left: 0;
        text-align: left;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-title {
        text-align: left;
        font-size: 2.3rem;
    }
    
    .hero-subtitle-container {
        text-align: left;
    }
    
    /* ロゴの表示切り替え（小画面） */
    .hero .hero-logo-pc,
    .hero .hero-logo-pc-desktop {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    .hero-logo-mobile {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-bottom: 0.5rem;
        margin-top: -1.2rem;
        position: relative !important;
        left: auto !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
    }
    
    .hero-logo-img-mobile {
        height: 120px;
        background: transparent;
        padding: 8px;
        border-radius: 8px;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    /* スマホ版表示を維持 */
    .title-line-pc {
        display: none;
    }
    
    .title-line-mobile {
        display: block;
    }
    
    .line-bg {
        padding: 0.15rem 0.4rem;
        margin: 0.05rem;
        font-size: 0.9em;
    }
    
    .subtitle-bg {
        padding: 0.5rem 0.7rem;
    }
    
    .hero-subtitle-container {
        margin-top: 1rem;
        gap: 0.15rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        padding: 1.2rem 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }
    
    .tab-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .tab-content {
        min-height: 300px;
    }
    
    .philosophy-card {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .philosophy-img {
        width: 120px;
        height: 120px;
    }
    

    
    .philosophy-text h4 {
        font-size: 1.3rem;
    }
    
    .philosophy-text p {
        font-size: 0.95rem;
    }
    
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 2rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .accordion-header {
        padding: 1rem;
    }
    
    .accordion-header h3 {
        font-size: 1rem;
    }
    
    .achievement-detail {
        padding: 1.2rem;
    }
    
    .accordion-icon {
        width: 40px;
        height: 40px;
    }
    
    .achievement-image {
        width: 100%;
        height: 80px;
    }
    
    .expertise-cloud {
        padding: 2rem;
    }
    
    .expertise-tag.large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .expertise-tag.medium {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .expertise-tag.small {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .achievement-highlight {
        padding: 2rem;
    }
    
    .achievement-highlight h3 {
        font-size: 1.5rem;
    }
    
    .achievement-card {
        padding: 1.5rem;
    }
    
    .achievement-card h4 {
        font-size: 1.1rem;
    }
    
    .expertise-section {
        padding: 2rem;
    }
    
    .expertise-tag {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .business-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    /* お問い合わせフォーム - モバイル対応 */
    .contact-content {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-form {
        padding: 2rem;
        max-width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-submit .btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    
    .checkbox-label {
        font-size: 0.9rem;
        align-items: flex-start;
    }
    
    .checkbox-custom {
        margin-top: 0.2rem;
    }
}

/* 小画面専用（480px以下） */
@media (max-width: 480px) {
    /* 導入実績スライダー 小画面対応 */
    .results-slider {
        padding: 0.3rem;
        gap: 1rem;
        /* スマホでは完全にスクロール可能にする */
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        /* 小画面では右側の見切りを小さく */
        margin-right: -30px;
        padding-right: 30px;
    }
    
    .result-card-slide {
        min-width: 260px;
        max-width: 280px;
        padding: 1.2rem;
        scroll-snap-align: center;
        flex-shrink: 0;
    }
    
    /* 導入実績の画像 - スマートフォン対応 */
    .result-image {
        height: 140px;
        margin-bottom: 1rem;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .result-card-slide .solution-img,
    .solution-img {
        object-fit: cover !important; /* PC版と同じ比率 */
        object-position: center !important;
        width: 100% !important;
        height: 100% !important;
        background: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
    
    /* 事業内容の画像 - スマートフォン対応 */
    .business-card-horizontal .business-main-img,
    .business-main-img {
        object-fit: cover !important; /* PC版と同じ比率 */
        object-position: center !important;
        width: 100% !important;
        height: 100% !important;
        background: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
}

/* 超小画面専用（360px以下） */
@media (max-width: 360px) {
    .business-card-image {
        height: 130px;
        background: none !important;
    }
    
    .result-image {
        height: 110px;
        background: none !important;
    }
    
    .business-card-horizontal .business-main-img,
    .business-main-img,
    .result-card-slide .solution-img,
    .solution-img {
        object-fit: cover !important; /* PC版と同じ比率 */
        object-position: center !important;
        width: 100% !important;
        height: 100% !important;
        background: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
    
    /* 超小画面用の実績バッジ */
    .achievement-badge {
        font-size: 0.85rem !important;
        padding: 0.55rem 1.5rem !important;
        margin-bottom: 1.1rem !important;
        border-radius: 18px !important;
        letter-spacing: 0.25px !important;
        border: none !important;
    }
}

/* 小画面用の導入実績ヘッダー */
@media (max-width: 480px) {
    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        margin-bottom: 0.8rem;
    }
}

/* 小画面用の導入実績テキスト */
@media (max-width: 480px) {
    .solution-title {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .result-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .contact {
        padding: 4rem 0;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-form h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .form-submit {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .form-submit .btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
    
    .form-note {
        font-size: 0.85rem;
        margin-top: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .contact-item strong {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
    
    .contact-item small {
        font-size: 0.8rem;
    }
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* =========================
   サンクスページスタイル
   ========================= */
.thanks-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
}

.thanks-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.thanks-icon {
    margin-bottom: 30px;
    animation: bounceIn 0.8s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    60% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

.thanks-content h1 {
    font-size: 2.5rem;
    color: #1e3c78;
    margin-bottom: 40px;
    font-weight: 700;
}

.thanks-message {
    margin-bottom: 50px;
}

.thanks-message p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
}

.urgent-contact {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
    border-left: 4px solid #1e3c78;
}

.urgent-contact p {
    margin: 0;
    color: #1e3c78;
}

.urgent-contact a {
    color: #1e3c78;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
}

.urgent-contact a:hover {
    text-decoration: underline;
}

.urgent-contact small {
    color: #666;
    font-size: 0.9rem;
}

.thanks-actions {
    margin-top: 40px;
}

.thanks-actions .btn {
    margin-bottom: 40px;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.related-links h3 {
    font-size: 1.5rem;
    color: #1e3c78;
    margin-bottom: 20px;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.link-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.link-card h4 {
    color: #1e3c78;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.link-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .thanks-section {
        padding: 50px 0;
    }
    
    .thanks-content {
        margin: 0 20px;
        padding: 40px 20px;
    }
    
    .thanks-content h1 {
        font-size: 2rem;
    }
    
    .thanks-message p {
        font-size: 1rem;
    }
    
    .link-grid {
        grid-template-columns: 1fr;
    }
    
    .urgent-contact {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .thanks-content h1 {
        font-size: 1.8rem;
    }
    
    .thanks-content {
        padding: 30px 15px;
    }
}

/* =========================
   フォールバック機能スタイル
   ========================= */
.fallback-message h4 {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.fallback-message p {
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.fallback-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-width: auto;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* フォールバック通知のレスポンシブ */
@media (max-width: 480px) {
    .mailto-fallback {
        padding: 1.5rem !important;
        width: 95% !important;
    }
    
    .fallback-actions {
        flex-direction: column;
    }
    
    .btn-small {
        width: 100%;
        text-align: center;
    }
}

/* =========================
   アニメーションキーフレーム
   ========================= */

/* グラデーションシフトアニメーション */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 浮遊アニメーション */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 1;
    }
}

/* 波アニメーション */
@keyframes wave {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0%);
    }
}

/* パーティクルアニメーション */
@keyframes particle {
    0% {
        transform: translateY(0px) translateX(0px) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px) scale(0);
        opacity: 0;
    }
}

/* 回転アニメーション */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* オーブアニメーション */
@keyframes orb {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.6;
    }
    33% {
        transform: translate(30px, -30px) scale(1.2);
        opacity: 0.8;
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.4;
    }
}

/* 流れるラインアニメーション */
@keyframes flow {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
} 