/* ==========================================
   学食革命 LP - CSS
   PDFデザイン踏襲版（濃紺×オレンジ×オフホワイト）
========================================== */

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

:root {
    /* PDFから抽出した配色 */
    --color-navy: #1a2332;        /* 濃紺（メイン） */
    --color-orange: #ff6b35;      /* オレンジ（アクセント） */
    --color-cream: #f0f0e8;       /* クリーム（背景） */
    --color-white: #ffffff;
    --color-gray-light: #e8e8e8;
    --color-gray: #606060;
    --color-green: #4a7c59;       /* Solution3つ目用 */
    --color-gold: #d4af37;        /* 実績メダル用 */
    
    /* フォント */
    --font-main: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* スペーシング */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* ブレークポイント */
    --bp-tablet: 768px;
    --bp-desktop: 1024px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--color-navy);
    background-color: var(--color-cream);
    line-height: 1.75;
    overflow-x: hidden;
}

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

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

a:hover {
    opacity: 0.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.section-title .small {
    font-size: 0.7em;
    font-weight: 500;
}

.section-title .year {
    font-size: 0.6em;
    font-weight: 500;
    color: var(--color-gray);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--color-orange);
    text-align: center;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

/* --- ボタン --- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-orange), #ff8c5a);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-navy);
    border: 2px solid var(--color-navy);
}

.btn-secondary:hover {
    background-color: var(--color-navy);
    color: var(--color-white);
}

/* --- ユーティリティ --- */
.sp-only {
    display: none;
}

@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }
}

.highlight {
    color: var(--color-orange);
    font-weight: 700;
}

.number {
    font-weight: 900;
    color: var(--color-orange);
}

.number.large {
    font-size: 1.5em;
}

.strike {
    text-decoration: line-through;
    color: var(--color-gray);
}

/* --- フェードインアニメーション --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ==========================================
   Hero Section
========================================== */
.hero {
    position: relative;
    background-color: var(--color-cream);
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
}

.hero-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 221, 0.95);
    padding: clamp(2rem, 5vw, 4rem) clamp(3rem, 8vw, 6rem);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    max-width: 90%;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 7rem);
    font-weight: 900;
    color: var(--color-navy);
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
    letter-spacing: 0.05em;
    line-height: 1.4;
    min-height: 1.4em;
    position: relative;
    overflow: hidden;
}

.hero-title-slide {
    display: inline-block;
    color: var(--color-navy);
    animation: slideInFromLeft 0.8s ease-out forwards;
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-20%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 3.6rem);
    color: var(--color-orange);
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.hero-bottom {
    background-color: var(--color-white);
    padding: var(--spacing-lg) 0;
}

.hero-bottom .container {
    max-width: 1200px;
}

.hero-top-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
}

.hero-text-section {
    flex: 1;
    text-align: left;
}

.hero-image-section {
    flex: 0 0 auto;
    max-width: 400px;
}

.hero-chef-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-bottom-row {
    text-align: center;
}

.hero-description {
    font-size: clamp(1.05rem, 2.1vw, 4.2rem);
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.hero-emphasis {
    font-size: clamp(1.1rem, 2.5vw, 4.4rem);
    font-weight: 900;
    color: var(--color-navy);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.hero-cta {
    margin-top: var(--spacing-lg);
}

@media (max-width: 768px) {
    .hero-overlay {
padding: 0.5em;
    max-width: calc(100vw - 5rem);
    width: calc(100vw - 5rem);
    left: 50%;
    transform: translate(-50%, -50%);
    top: 60%;
	}
	.hero-main-image{width: 150%;}
    .hero-title {
        font-size: 2.2rem;
        min-height: 1.5em;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
        white-space: normal;
    }
    
    .hero-bottom {
        padding: var(--spacing-md) 0;
    }
    
    .hero-top-row {
        flex-direction: column;
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }
    
    .hero-text-section {
        text-align: center;
    }
    
    .hero-image-section {
        max-width: 280px;
    }
}

/* ==========================================
   Vision Section
========================================== */
.vision {
    background-color: var(--color-white);
}

/* Vision専用のタイトルとサブタイトル */
.vision .section-title {
    font-size: clamp(4rem, 12vw, 7.5rem);
    margin-bottom: var(--spacing-md);
}

/* 他のセクションタイトルは半分くらいのサイズに */
.track-record .section-title,
.solution .section-title,
.latest-model .section-title,
.voices .section-title {
    font-size: clamp(2rem, 6vw, 3.75rem);
}

/* 東洋大学のタイトルは一行に収まるサイズに */
.case-study .section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.vision .section-subtitle {
    font-size: clamp(2rem, 6vw, 3.9rem);
    margin-bottom: var(--spacing-xl);
}

.vision-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    align-items: stretch;
}

.vision-text {
    font-size: clamp(2.5rem, 6vw, 3.3rem);
    line-height: 1.9;
}

.vision-text p {
    margin-bottom: var(--spacing-lg);
}

.vision-text strong {
    color: var(--color-orange);
    font-weight: 700;
}

.vision-platform-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-md);
}

.platform-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Vision Animation Styles */
.vision-title-animate,
.vision-subtitle-animate,
.vision-text-para,
.vision-diagram-animate {
    opacity: 0;
}

.vision-title-animate {
    transform: translateY(16px);
    transition: opacity 280ms ease-out, transform 280ms ease-out;
}

.vision-subtitle-animate {
    transform: translateY(16px);
    transition: opacity 280ms ease-out 100ms, transform 280ms ease-out 100ms;
}

.vision-text-para {
    transform: translateY(12px);
    transition: opacity 240ms ease-out, transform 240ms ease-out;
}

.vision-text-para-1 {
    transition-delay: 380ms;
}

.vision-text-para-2 {
    transition-delay: 450ms;
}

.vision-diagram-animate {
    transform: scale(0.95);
    transition: opacity 400ms ease-out 600ms, transform 400ms ease-out 600ms;
}

.vision-title-animate.visible,
.vision-subtitle-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.vision-text-para.visible {
    opacity: 1;
    transform: translateY(0);
}

.vision-diagram-animate.visible {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 1024px) {
    .vision .section-title {
        font-size: clamp(3rem, 10vw, 5rem);
    }
    
    .vision .section-subtitle {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
    
    .vision-text {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }
    
    .vision-content {
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .vision .section-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .vision .section-subtitle {
        font-size: clamp(1.2rem, 4vw, 2rem);
    }
    
    .vision-text {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
}

/* ==========================================
   Track Record Section
========================================== */
.track-record {
    background: linear-gradient(135deg, #f8f8f5, var(--color-cream));
}

.track-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.track-card {
    background-color: var(--color-white);
    border-radius: 20px;
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.track-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.track-image-wrapper {
    position: relative;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.track-image {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.track-label-top {
    background-color: var(--color-orange);
    color: var(--color-white);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    white-space: nowrap;
    margin-bottom: 20px;
    display: inline-block;
}

.track-note {
    display: block;
    font-size: 0.8rem;
    color: var(--color-gray);
    font-weight: 400;
    margin-top: 0.5rem;
}

.track-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.track-detail {
    font-size: 1.1rem;
    margin: var(--spacing-sm) 0;
}

.track-label {
    font-size: 0.95rem;
    color: var(--color-orange);
    font-weight: 700;
}

.media-logos {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.media-logos img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.media-logo-wrapper {
    position: relative;
}

.media-label-top {
    background-color: var(--color-orange);
    color: var(--color-white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.cta-inline {
    text-align: center;
    margin-top: var(--spacing-lg);
}

@media (max-width: 1024px) {
    .track-cards {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* ==========================================
   Solution Section
========================================== */
.solution {
    background-color: var(--color-white);
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.solution-card {
    border-radius: 20px;
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.solution-card-dx {
    background: linear-gradient(135deg, #2a3d56, var(--color-navy));
    color: var(--color-white);
}

.solution-card-education {
    background: linear-gradient(135deg, #ff8c5a, var(--color-orange));
    color: var(--color-white);
}

.solution-card-community {
    background: linear-gradient(135deg, #5a8c6a, var(--color-green));
    color: var(--color-white);
}

.solution-icon-wrapper {
    background-color: var(--color-white);
    padding: 10px;
    border-radius: 12px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.solution-icon {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: var(--spacing-md);
}

.solution-card h3 .sub {
    font-size: 0.8em;
    font-weight: 400;
    display: block;
    margin-top: var(--spacing-xs);
}

.solution-card ul {
    list-style: none;
    text-align: left;
    padding-left: 0;
}

.solution-card li {
    padding: var(--spacing-xs) 0 var(--spacing-xs) 1.5rem;
    position: relative;
    line-height: 1.7;
}

.solution-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1024px) {
    .solution-cards {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* ==========================================
   Case Study Section
========================================== */
.case-study {
    background: linear-gradient(135deg, var(--color-cream), #e8e8e0);
}

.case-hero-image-wrapper {
    margin-bottom: var(--spacing-lg);
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.case-hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 20px;
}

.case-hero-image-wrapper:hover .case-hero-image {
    transform: scale(1.02);
}

.case-image-caption {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(26, 35, 50, 0.8);
    color: var(--color-white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin: 0;
    backdrop-filter: blur(4px);
}

.case-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.case-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.case-image {
    width: 100%;
    height: auto;
    display: block;
}

.case-badge {
    position: absolute;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.95), rgba(42, 61, 86, 0.95));
    color: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    max-width: 280px;
}

.badge-title {
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: var(--spacing-xs);
}

.badge-title .en {
    font-size: 0.75em;
    font-weight: 400;
    display: block;
    margin-top: 0.2rem;
}

.badge-info {
    font-size: 0.95rem;
    margin: 0.3rem 0;
}

.case-text {
    font-size: 2.2rem;
    line-height: 1.9;
    text-align: center;
}

.case-text p {
    margin-bottom: var(--spacing-md);
}

.case-text .case-result {
    font-weight: 700;
    color: var(--color-navy);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 3px solid var(--color-orange);
}

.case-text strong {
    color: var(--color-orange);
}

@media (max-width: 768px) {
    .case-badge {
        position: static;
        max-width: 100%;
        margin-top: var(--spacing-md);
    }
}

/* 桃山学院大学 事例 */
.case-secondary {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid var(--color-orange);
}

.case-secondary-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.case-secondary-image-wrapper {
    margin-bottom: var(--spacing-md);
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.case-secondary-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.case-secondary-text {
    font-size: 2.2rem;
    line-height: 1.9;
    text-align: center;
    color: var(--color-navy);
}

.case-secondary-text p {
    margin-bottom: var(--spacing-md);
}

.case-additional-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.case-additional-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.case-additional-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.case-additional-image-wrapper:hover .case-additional-image {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .case-additional-images {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
}

/* ==========================================
   Latest Model Section
========================================== */
.latest-model {
    background-color: var(--color-white);
}

.latest-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.umart-logo-wrapper {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.umart-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: inline-block;
}

@media (max-width: 768px) {
    .umart-logo {
        max-width: 280px;
    }
}

.latest-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-gray);
    margin-bottom: var(--spacing-lg);
}

.latest-photo-wrapper {
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.latest-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.umart-origin {
    background-color: var(--color-white);
    border: 3px solid var(--color-orange);
    border-radius: 20px;
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) auto;
    max-width: 900px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.umart-origin h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.umart-origin ul {
    list-style: none;
    padding: 0;
}

.umart-origin li {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-navy);
    margin-bottom: var(--spacing-md);
    padding-left: 0;
    position: relative;
    text-align: center;
}

.umart-origin li strong {
    color: var(--color-orange);
    font-weight: 900;
}

.latest-concepts {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.concept-item {
    text-align: center;
    padding: var(--spacing-md);
    border: 2px solid var(--color-orange);
    border-radius: 15px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

.concept-item:hover {
    background-color: var(--color-orange);
    color: var(--color-white);
    transform: translateY(-5px);
}

.concept-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-sm);
    object-fit: contain;
}

.concept-item h4 {
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: var(--spacing-xs);
}

.concept-item p {
    font-size: 0.9rem;
}

.latest-description {
    text-align: center;
    font-size: 1.9rem;
    line-height: 1.9;
    max-width: 900px;
    margin: 0 auto;
}

.latest-description strong {
    color: var(--color-orange);
}

@media (max-width: 1024px) {
    .latest-concepts {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .latest-concepts {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .concept-item {
        padding: var(--spacing-sm);
    }
    
    .concept-icon {
        width: 50px;
        height: 50px;
    }
}

/* ==========================================
   Voices Section
========================================== */
.voices {
    background: linear-gradient(135deg, var(--color-cream), #e8e8e0);
}

.voices-image-wrapper {
    margin-bottom: var(--spacing-lg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 1s ease-out;
}

.voices-image {
    width: 100%;
    height: auto;
    display: block;
}

.voices-quotes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.voice-quote {
    background-color: var(--color-white);
    border: 3px solid var(--color-navy);
    border-radius: 20px;
    padding: var(--spacing-lg) var(--spacing-md);
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.voice-quote:hover {
    transform: translateY(-8px);
}

.voice-quote::before {
    content: """;
    position: absolute;
    top: -10px;
    left: var(--spacing-md);
    font-size: 4rem;
    color: var(--color-orange);
    font-weight: 900;
    line-height: 1;
}

.quote-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.quote-text {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0;
    color: var(--color-navy);
    flex: 1;
}

.quote-author {
    font-size: 0.9rem;
    color: var(--color-gray);
    text-align: right;
    font-style: italic;
}

@media (max-width: 1024px) {
    .voices-quotes {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* ==========================================
   Contact Section
========================================== */
.contact {
    background-color: var(--color-white);
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-gray);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-cream);
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

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

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

.form-group label {
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: var(--spacing-xs);
}

.required {
    color: var(--color-orange);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem;
    border: 2px solid var(--color-gray-light);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-submit {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.form-submit .btn {
    min-width: 250px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* ==========================================
   Footer
========================================== */
.footer {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-company h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: var(--spacing-xs);
}

.footer-company p {
    font-size: 0.95rem;
    color: var(--color-orange);
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.footer-links a:hover {
    background-color: var(--color-orange);
    opacity: 1;
}

.footer-copyright {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* ==========================================
   固定問い合わせバー
========================================== */
.fixed-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--color-orange), #ff8c5a);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    padding: var(--spacing-sm) 0;
    transition: transform 0.3s ease;
    transform: translateY(100%);
}

.fixed-contact-bar.hidden {
    transform: translateY(100%);
}

.fixed-contact-bar:not(.hidden) {
    transform: translateY(0);
}

.fixed-contact-btn {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem var(--spacing-md);
    text-align: center;
    color: var(--color-white);
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.fixed-contact-btn:hover {
    opacity: 1;
    transform: scale(1.05);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .fixed-contact-bar {
        padding: 0.7rem 0;
    }
    
    .fixed-contact-btn {
        font-size: 1.1rem;
        padding: 0.8rem var(--spacing-sm);
    }
}

/* ==========================================
   Animations
========================================== */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}