/* Tailwind config */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom styles */
:root {
  --pale-green: #98D8AA;
  --pastel-dark-green: #54B435;
  --shadow-elevation-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-elevation-high: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&family=Noto+Sans+JP:wght@300;400;700&display=swap');

/* 基本スタイル */
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    font-size: 16px;
    overflow-x: hidden;
    padding-top: 70px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

/* レイアウトスタイル */
/* 全体の背景スタイル */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* セクション共通のベーススタイル */
section {
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 2rem 0;
    scroll-margin-top: 80px;
}

section + section {
    margin-top: -1rem;
}

/* セクション間のスペーサー */
.section-spacer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: 120px;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 1),
        rgba(152, 216, 170, 0.05),
        rgba(255, 255, 255, 1)
    );
    position: relative;
    z-index: 2;
}

/* コンテンツコンテナのスタイル */
.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* グリッドレイアウトの余白調整 */
.grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* カードグリッドの余白調整 */
.grid-cols-1,
.grid-cols-2,
.grid-cols-3,
.grid-cols-4 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* コンテナの最大幅設定 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* メインコンテンツエリアの余白調整 */
main {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* ヘッダーのスタイル */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.header-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-elevation-medium);
}

/* ヘッダーの高さ調整 */
header .max-w-7xl {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* ヘッダーナビゲーションの間隔調整 */
header nav {
    display: flex;
    gap: 0.5rem;
}

/* HEROセクション */
.hero-section {
    min-height: 100vh;
    margin-top: -70px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
    width: 100%;
    padding-top: 96px;
    padding-bottom: 1rem;
}

.hero-section + .bg-gray-50 {
    margin-top: -4rem;
}

/* タイムラインセクション */
.timeline-section {
    position: relative;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-section::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(152, 216, 170, 0),
        rgba(152, 216, 170, 0.8),
        rgba(152, 216, 170, 0)
    );
}

/* コンポーネントスタイル */
/* ロゴのスタイル */
#live-streaming-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#live-streaming-logo:hover {
    color: var(--pale-green);
}

/* ナビゲーションのスタイル */
nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: none;
}

.nav-link {
    position: relative;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.375rem 0.25rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--pale-green), var(--pastel-dark-green));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-button {
    background: linear-gradient(to right, #1a1a1a, #333333);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(107, 114, 128, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.nav-button:hover {
    background: linear-gradient(to right, #333333, #4a4a4a);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* HEROセクションのスタイル */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slideshow-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
}

.hero-slideshow-image.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem;
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-main {
    background: none;
    backdrop-filter: none;
    padding: 2.5rem 1.5rem;
    border-radius: 0;
    border: none;
    width: 60%;
}

.hero-side-content {
    background: none;
    backdrop-filter: none;
    border-radius: 0;
    border: none;
    width: 35%;
    padding: 2.5rem 1.5rem;
}

/* キャッチコピーのスタイル */
.hero-main h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-main h1 span {
    white-space: nowrap;
    display: inline-block;
}

.hero-main p {
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-main .mb-8 {
    margin-bottom: 2rem;
}

.hero-main .mb-12 {
    margin-bottom: 3rem;
}

.hero-main .space-y-6 {
    margin-top: 2rem;
}

/* 選ばれる理由のスタイル調整 */
.hero-side-content {
    width: 100%;
    max-width: none;
}

.reasons-box {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    width: 100%;
    max-width: none;
}

.reasons-box h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.reasons-box ul {
    margin-top: 2.5rem;
}

.reasons-box li {
    padding: 1rem;
    margin-bottom: 1rem;
}

.reasons-box h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.reasons-box p {
    font-size: 0.875rem;
}

/* 価格ボックス */
.price-box {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
}

/* セクションタイトル */
.section-title-container {
    margin-bottom: 2rem;
}

.section-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 2.25rem;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(152, 216, 170, 0.8), transparent);
}

/* セクション区切り線 */
.section-divider {
    display: none;
}

/* サービスカード */
.service-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(229, 231, 235, 0.5);
    border-radius: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevation-high);
}

.service-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

/* 制作事例カード */
.case-study-card {
    position: relative;
    overflow: hidden;
    background: white;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.case-study-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.1);
}

/* 問題点カード */
.problem-card {
    position: relative;
    background: white;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0 95%);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 機材カード */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.equipment-card {
    background: white;
    padding: 2rem;
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0 95%);
}

.equipment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.equipment-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(152, 216, 170, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(45deg);
    transition: transform 0.5s ease;
    z-index: 0;
}

.equipment-card:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}

/* タイムラインアイテム */
.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    min-height: 80px;
}

.timeline-number {
    width: 2.75rem;
    height: 2.75rem;
    background: linear-gradient(135deg, #98D8AA, #54B435);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    border: 2px solid white;
    box-shadow: 0 0 15px rgba(152, 216, 170, 0.3);
}

.timeline-content {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 0.5rem;
    width: 42%;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.timeline-item.odd .timeline-content {
    margin-right: calc(50% + 4rem);
    margin-left: 0;
    text-align: right;
    border-right: 4px solid #98D8AA;
    border-left: none;
}

.timeline-item.even .timeline-content {
    margin-left: calc(50% + 4rem);
    margin-right: 0;
    border-left: none;
    border-right: 4px solid #98D8AA;
}

/* 吹き出しの疑似要素を削除 */
.timeline-content::before {
    display: none;
}

/* 相談セクション */
.consultation-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.98));
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(152, 216, 170, 0.1);
}

.consultation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 0% 0%, rgba(152, 216, 170, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(84, 180, 53, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.consultation-section .content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.consultation-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #333333, #1a1a1a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.consultation-section p {
    font-size: 1.125rem;
    color: #4a4a4a;
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* ユーティリティスタイル */
.floating-element {
    animation: float 6s ease-in-out infinite;
}

.rotating-element {
    /* 斜めの回転を削除 */
    transform: none;
}

.pulse-element {
    animation: pulse 2s ease-in-out infinite;
}

.bg-pattern {
    background:
        radial-gradient(circle at 0% 0%, rgba(152, 216, 170, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(84, 180, 53, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, rgba(152, 216, 170, 0.05) 25%, transparent 25%) 0 0 / 40px 40px,
        linear-gradient(-45deg, rgba(84, 180, 53, 0.05) 25%, transparent 25%) 20px 20px / 40px 40px;
    animation: patternFloat 30s ease-in-out infinite alternate;
}

.gradient-border {
    position: relative;
    background: white;
    padding: 3px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #98D8AA, #54B435);
    z-index: -1;
    margin: -3px;
    border-radius: inherit;
}

/* ホバーエフェクト強化 */
.service-card,
.case-study-card,
.equipment-card {
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::before,
.case-study-card::before,
.equipment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(152, 216, 170, 0.1), rgba(84, 180, 53, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    border-radius: inherit;
}

.service-card:hover::before,
.case-study-card:hover::before,
.equipment-card:hover::before {
    opacity: 1;
}

/* セクションタイトルのアクセント */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(152, 216, 170, 0.8), transparent);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .section-content,
    .grid,
    .container {
        padding: 0 1.5rem;
    }

    .hero-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }

    .hero-main {
        width: 100%;
        max-width: none;
        padding: 2.5rem 1.5rem;
    }

    .hero-side-content {
        width: 100%;
        max-width: none;
        padding: 2.5rem 1.5rem;
    }

    .hero-section {
        padding-top: 96px;
        padding-bottom: 1rem;
    }

    .text-6xl {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-main .mb-8 {
        margin-bottom: 1rem;
    }

    .hero-main .mb-12 {
        margin-bottom: 1.5rem;
    }

    .hero-main .space-y-6 {
        margin-top: 1rem;
    }

    .price-box,
    .reasons-box {
        max-width: none;
        padding: 2rem 1.5rem;
    }

    .price-box .space-y-3 {
        margin-top: 0.5rem;
    }

    .reasons-box .space-y-6 {
        margin-top: 0.5rem;
    }

    .reasons-box {
        padding: 2rem;
    }

    .reasons-box h3 {
        font-size: 1.5rem;
    }

    .reasons-box li {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .reasons-box h4 {
        font-size: 1.25rem;
    }

    .reasons-box p {
        font-size: 1rem;
    }

    .hero-main h1 {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }

    .grid.grid-cols-1.md\:grid-cols-4.gap-8 {
        grid-template-columns: repeat(2, 1fr);
    }

    .price-box,
    .reasons-box {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .section-content,
    .grid,
    .container {
        padding: 0 1rem;
    }

    section {
        padding: 1.5rem 0;
    }

    .hero-section + .bg-gray-50 {
        margin-top: -2rem;
    }

    section.mb-24 {
        margin-bottom: 2rem;
    }

    h2.text-4xl.font-bold.text-center {
        margin-bottom: 3rem;
    }

    .section-title-container {
        margin-bottom: 3rem;
    }

    .timeline-section::before {
        left: 2rem;
    }

    .timeline-number {
        left: 2rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.125rem;
    }

    .timeline-content {
        width: calc(100% - 6rem);
        margin-left: 4rem !important;
        margin-right: 1rem !important;
        padding: 1.25rem 1.5rem;
        border-right: 4px solid #98D8AA !important;
        border-left: none !important;
        text-align: left !important;
    }

    .grid.grid-cols-1.md\:grid-cols-4.gap-8 {
        grid-template-columns: repeat(1, 1fr);
    }

    .hero-content {
        padding: 2rem;
        border-radius: 1.5rem;
    }

    .card {
        border-radius: 1rem;
    }
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 1rem;
        align-items: center;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .nav-link {
        font-size: 0.813rem;
        padding: 0.5rem 0.125rem;
    }

    .nav-button {
        padding: 0.5rem 0.75rem;
        font-size: 0.813rem;
    }

    header nav {
        gap: 0.25rem;
    }
}

/* アニメーション定義 */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes patternFloat {
    0% {
        background-position: 0 0, 100% 100%, 0 0, 20px 20px;
    }

    100% {
        background-position: 2% 2%, 98% 98%, 40px 40px, 60px 60px;
    }
}

@keyframes serviceBgFloat {
    0% {
        background-position: 0% 0%, 100% 100%, 0 0;
    }
    100% {
        background-position: 2% 2%, 98% 98%, 20px 0;
    }
}

@keyframes caseBgShift {
    0% {
        background-position: 0% 0%, 0% 0%, 0 0, 0 0;
    }
    100% {
        background-position: 100% 100%, 100% 0%, 20px 20px, 0 0;
    }
}

@keyframes equipmentBgMove {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 40px 40px, -40px 40px;
    }
}

@keyframes processBgPulse {
    0%, 100% {
        background-size: 40px 40px, 40px 40px;
    }
    50% {
        background-size: 45px 45px, 45px 45px;
    }
}

@keyframes contactBgFloat {
    0% {
        background-position: 0% 0%, 0% 50%, 0 0, 0 0;
    }

    50% {
        background-position: 1% 1%, 2% 48%, 10px 10px, 0 0;
    }

    100% {
        background-position: 0% 0%, 0% 50%, 0 0, 0 0;
    }
}

/* セクション別背景スタイル */
#services {
    background: 
        radial-gradient(circle at 0% 0%, rgba(152, 216, 170, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(84, 180, 53, 0.15) 0%, transparent 50%),
        linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98));
    animation: serviceBgFloat 20s ease-in-out infinite alternate;
}

.case-studies-section {
    background: 
        linear-gradient(135deg, rgba(152, 216, 170, 0.12) 0%, transparent 50%),
        linear-gradient(45deg, rgba(84, 180, 53, 0.12) 0%, transparent 50%),
        repeating-linear-gradient(45deg, rgba(152, 216, 170, 0.05) 0px, rgba(152, 216, 170, 0.05) 1px, transparent 1px, transparent 10px),
        linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98));
    animation: caseBgShift 25s ease-in-out infinite alternate;
}

.equipment-section {
    background: 
        repeating-linear-gradient(45deg, rgba(152, 216, 170, 0.03) 0%, rgba(152, 216, 170, 0.03) 1px, transparent 1px, transparent 10px),
        repeating-linear-gradient(-45deg, rgba(84, 180, 53, 0.03) 0%, rgba(84, 180, 53, 0.03) 1px, transparent 1px, transparent 10px);
    animation: equipmentBgMove 30s linear infinite;
}

.process-section {
    background:
        radial-gradient(circle at 50% 50%, rgba(152, 216, 170, 0.1) 0%, transparent 70%),
        linear-gradient(45deg, rgba(84, 180, 53, 0.05) 25%, transparent 25%) 0 0 / 40px 40px;
    animation: processBgPulse 15s ease-in-out infinite;
}

.contact-section {
    background: 
        linear-gradient(135deg, rgba(152, 216, 170, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 0% 50%, rgba(84, 180, 53, 0.15) 0%, transparent 50%),
        repeating-linear-gradient(45deg, rgba(152, 216, 170, 0.03) 0px, rgba(152, 216, 170, 0.03) 1px, transparent 1px, transparent 15px),
        linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98));
    animation: contactBgFloat 20s ease-in-out infinite;
}

/* 無料相談セクションの背景 */
.consultation-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.98));
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(152, 216, 170, 0.1);
}

.consultation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 0% 0%, rgba(152, 216, 170, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(84, 180, 53, 0.08) 0%, transparent 50%);
    z-index: 0;
}

/* タイポグラフィの改善 */
h1, h2, h3 {
    font-variation-settings: 'wght' 700;
    letter-spacing: -0.03em;
}

/* フッターロゴのスタイル */
.footer-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-logo:hover {
    opacity: 0.8;
}

@media (max-width: 767px) {
    body {
        padding-top: 0 !important;
    }
    .hero-section {
        margin-top: 0 !important;
        padding-top: 64px !important;
    }
}

/* 360px幅対応のモバイル専用スタイル */
@media (max-width: 480px) {
    /* コンテナの調整 */
    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        max-width: 100% !important;
    }
    
    .section-content {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    /* ヘッダーの調整 */
    header {
        height: 60px !important;
    }
    
    header .max-w-7xl {
        padding: 0.5rem 0.75rem !important;
    }
    
    /* ロゴサイズの調整 */
    #live-streaming-logo {
        font-size: 18px !important;
        letter-spacing: 1.5px !important;
    }
    
    /* ナビゲーションリンクの調整 */
    .nav-link {
        font-size: 0.75rem !important;
        padding: 0.25rem 0.125rem !important;
    }
    
    /* ナビゲーションボタンの調整 */
    .nav-button {
        padding: 0.375rem 0.75rem !important;
        font-size: 0.75rem !important;
        border-radius: 0.375rem !important;
    }
    
    /* モバイルメニューボタンの調整 */
    #mobile-menu-button {
        width: 2rem !important;
        height: 2rem !important;
    }
    
    #mobile-menu-button svg {
        width: 1.25rem !important;
        height: 1.25rem !important;
    }
    
    /* モバイルメニューの調整 */
    #mobile-menu {
        top: 60px !important;
    }
    
    #mobile-menu .nav-link {
        padding: 0.75rem 0 !important;
        font-size: 0.875rem !important;
    }
    
    #mobile-menu .nav-button {
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem !important;
        margin-top: 0.5rem !important;
    }
    
    /* テキストサイズの調整 */
    h1, .text-6xl {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    h2, .text-4xl {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
        margin-bottom: 2rem !important;
    }
    
    h3, .text-2xl {
        font-size: 1.25rem !important;
        line-height: 1.4 !important;
    }
    
    .text-xl {
        font-size: 1rem !important;
    }
    
    .text-lg {
        font-size: 0.95rem !important;
    }
    
    /* ヒーローセクションの調整 */
    .hero-content {
        padding: 1rem !important;
        border-radius: 1rem !important;
    }
    
    .hero-main {
        padding: 2rem 1rem !important;
    }
    
    .hero-side-content {
        padding: 2rem 1rem !important;
    }
    
    /* グリッドレイアウトの調整 */
    .grid-cols-2 {
        grid-template-columns: 1fr !important;
    }
    
    .grid-cols-3 {
        grid-template-columns: 1fr !important;
    }
    
    .grid-cols-4 {
        grid-template-columns: 1fr !important;
    }
    
    .lg\\:grid-cols-3 {
        grid-template-columns: 1fr !important;
    }
    
    /* ギャップの調整 */
    .gap-8 {
        gap: 1rem !important;
    }
    
    .gap-6 {
        gap: 0.75rem !important;
    }
    
    .gap-4 {
        gap: 0.5rem !important;
    }
    
    /* パディングとマージンの調整 */
    .py-20 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .py-12 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .py-8 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .px-8 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .px-6 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    .px-4 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    /* カードとボックスの調整 */
    .rounded-2xl {
        border-radius: 1rem !important;
    }
    
    .rounded-xl {
        border-radius: 0.75rem !important;
    }
    
    /* フォーム要素の調整 */
    input, textarea, select {
        font-size: 14px !important;
        padding: 0.75rem !important;
    }
    
    /* ボタンサイズの調整 */
    .px-8.py-4 {
        padding: 0.75rem 1.5rem !important;
    }
    
    .px-6.py-3 {
        padding: 0.5rem 1rem !important;
    }
    
    /* 特定セクションの調整 */
    .price-box, .reasons-box {
        padding: 1.5rem !important;
    }
    
    .reasons-box li {
        padding: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    /* タイムラインの調整 */
    .timeline-content {
        width: calc(100% - 4rem) !important;
        margin-left: 3rem !important;
        margin-right: 0.5rem !important;
        padding: 1rem !important;
    }
    
    .timeline-number {
        left: 1.5rem !important;
        width: 2rem !important;
        height: 2rem !important;
        font-size: 0.875rem !important;
    }
    
    .timeline-section::before {
        left: 1.5rem !important;
    }
    
    /* ケーススタディカードの調整 */
    .case-study-image {
        height: 200px !important;
    }
    
    .case-study-content {
        padding: 1.5rem !important;
    }
    
    /* サービスカードの調整 */
    .service-card {
        margin-bottom: 1rem !important;
    }
    
    .service-image {
        height: 180px !important;
    }
    
    /* 特徴カードの調整 */
    .problem-card {
        padding: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* FAQ セクションの調整 */
    .space-y-6 > * + * {
        margin-top: 1rem !important;
    }
    
    /* 会社概要テーブルの調整 */
    .w-1\\/3 {
        width: 35% !important;
    }
    
    .w-2\\/3 {
        width: 65% !important;
    }
    
    /* シャドウの調整 */
    .shadow-lg {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    }
}

/* Custom styles for Services Section */
.services-grid {
    grid-template-columns: repeat(1, 1fr) !important; /* Default for mobile */
}

@media (min-width: 768px) { /* md breakpoint */
    .services-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (min-width: 1024px) { /* lg breakpoint */
    .services-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

.service-card {
    width: 100%;
}