/* CSS Variables for Color Palette */
:root {
    --primary-color: #E76F51;      /* Main Orange */
    --accent-color: #2A9D8F;       /* Green Accent */
    --background-color: #F4A261;   /* Warm Orange Background */
    --secondary-color: #F4CF67;    /* Yellow Secondary */
    --text-dark: #2C3E50;
    --text-light: #FFFFFF;
    --text-muted: #7F8C8D;
    --background-light: #FEFEFE;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 2rem;
    --border-radius: 12px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

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

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* 画面サイズに応じたコンテナ幅調整 */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(231, 111, 81, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 111, 81, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* YouTube ボタン専用のホバースタイル - カスタムカラー */
.channel-link .btn:hover {
    background: #E76F51 !important;
    color: white !important;
    border-color: #E76F51 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 111, 81, 0.4);
}

.channel-link .btn:hover i {
    color: white !important;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(244, 162, 97, 0.2);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* より狭い画面での調整 */
@media (max-width: 1200px) and (min-width: 1025px) {
    .nav-menu {
        gap: 1.3rem;
    }
    
    .nav-link {
        font-size: 0.88rem;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.2rem;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

/* ナビゲーションソーシャルリンク */
.nav-social-grid {
    display: grid;
    grid-template-columns: repeat(2, 32px);
    grid-template-rows: repeat(2, 32px);
    gap: 0.15rem;
    margin-left: 1rem;
}

.nav-social-link {
    text-decoration: none;
    color: #000;
    font-weight: 300;
    font-size: 0.65rem;
    text-align: center;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--transition);
    border: none;
    background: transparent;
}
}

/* プラットフォーム固有のホバー効果 */
/* Instagram専用ホバー効果 - 最高優先度で適用 */
.nav-social-grid .nav-social-link.ig-button:hover,
.nav-social-grid .nav-social-link[href*="instagram.com"]:hover,
.nav-social-grid a.nav-social-link[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(240, 148, 51, 0.3) !important;
    transition: all 0.3s ease !important;
    border-color: transparent !important;
}



/* 汎用のアクティブ状態 - ソーシャルボタンは除外 */
.nav-social-link:active:not(.ig-button):not(.x-button):not(.yt-button):not(.link-button) {
    background: var(--primary-color);
    color: white;
    transform: translateY(0px) scale(0.95);
    transition: all 0.1s ease;
}

/* IGボタン専用のアクティブ状態 */
.nav-social-link.ig-button:active,
.nav-social-link[href*="instagram.com"]:active {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    color: white !important;
    transform: translateY(0px) scale(0.95) !important;
    transition: all 0.1s ease !important;
}

/* ソーシャルボタン専用スタイル - 全状態を強制上書き */
.nav-social-grid .ig-button,
.nav-social-grid .x-button,
.nav-social-grid .yt-button,
.nav-social-grid .link-button {
    background: transparent !important;
    border: none !important;
}

/* IGボタン */
.nav-social-grid .ig-button:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(240, 148, 51, 0.3) !important;
}

.nav-social-grid .ig-button:active {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    color: white !important;
    transform: translateY(0px) scale(0.95) !important;
}

/* Xボタン */
.nav-social-grid .x-button:hover {
    background: #000000 !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.nav-social-grid .x-button:active {
    background: #000000 !important;
    color: white !important;
    transform: translateY(0px) scale(0.95) !important;
}

/* YTボタン */
.nav-social-grid .yt-button:hover {
    background: #FF0000 !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3) !important;
}

.nav-social-grid .yt-button:active {
    background: #FF0000 !important;
    color: white !important;
    transform: translateY(0px) scale(0.95) !important;
}

/* Linkボタン */
.nav-social-grid .link-button:hover {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3) !important;
}

.nav-social-grid .link-button:active {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    color: white !important;
    transform: translateY(0px) scale(0.95) !important;
}

.nav-social-link:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(231, 111, 81, 0.3);
}

/* クリック時のアニメーション効果 */
.nav-social-link.clicked {
    animation: socialButtonClick 0.3s ease-out;
}

/* 各プラットフォーム専用のクリックアニメーション */
@keyframes instagramClick {
    0% { background: var(--primary-color); color: white; transform: scale(0.9); }
    50% { background: var(--accent-color); color: white; transform: scale(1.1); }
    100% { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; transform: scale(1); }
}

@keyframes xClick {
    0% { background: var(--primary-color); color: white; transform: scale(0.9); }
    50% { background: var(--accent-color); color: white; transform: scale(1.1); }
    100% { background: #000000; color: white; transform: scale(1); }
}

@keyframes youtubeClick {
    0% { background: var(--primary-color); color: white; transform: scale(0.9); }
    50% { background: var(--accent-color); color: white; transform: scale(1.1); }
    100% { background: #FF0000; color: white; transform: scale(1); }
}

@keyframes litlinkClick {
    0% { background: var(--primary-color); color: white; transform: scale(0.9); }
    50% { background: var(--accent-color); color: white; transform: scale(1.1); }
    100% { background: linear-gradient(135deg, #667eea, #764ba2); color: white; transform: scale(1); }
}



.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--background-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff10" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    background-size: cover;
}

.hero-container {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-image {
    margin-top: 10px;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--text-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-title {
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    color: var(--text-light);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-description {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* X (Twitter) SVGアイコン */
.x-icon {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* About Section */
.about {
    background: var(--background-light);
}

.about-hero-image {
    text-align: center;
    margin-bottom: 3rem;
}

.about-hero-image .profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--text-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.about-hero-image .profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.about-details {
    margin-top: 2rem;
}

.detail-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(244, 162, 97, 0.1);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.detail-item h4 {
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.detail-item ul {
    list-style: none;
    padding-left: 0;
}

.detail-item li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.detail-item li::before {
    content: '▶';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 35px var(--shadow);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.1), rgba(231, 111, 81, 0.1));
    z-index: 1;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

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

/* Works Section */
.works {
    background: white;
}

.works-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.works-category-title {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.works-category-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.works-category-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* パソコン表示での work-item レスポンシブ調整 */
@media (min-width: 1200px) {
    .works-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 400px));
        justify-content: center;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .works-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 380px));
        justify-content: center;
    }
}

.support-shows {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.support-shows .work-item {
    flex: 0 1 auto;
    min-width: 280px;
    max-width: 100%;
}

/* 画面幅に合わせて support-shows を横並び・折り返し表示（レスポンシブ） */
@media (min-width: 1200px) {
    .support-shows .work-item {
        flex: 0 1 calc(33.333% - 1.33rem);
        min-width: 320px;
        max-width: 400px;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .support-shows .work-item {
        flex: 0 1 calc(50% - 1rem);
        min-width: 280px;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .support-shows .work-item {
        flex: 0 1 100%;
        min-width: 280px;
        max-width: 100%;
    }
}

.original-shows {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.original-shows .work-item {
    flex: 0 1 auto;
    min-width: 280px;
    max-width: 100%;
}

.original-shows .work-item.featured {
    flex: 0 1 100%;
    max-width: 600px;
}

/* 画面幅に合わせて original-shows を横並び・折り返し表示（レスポンシブ） */
@media (min-width: 1200px) {
    .original-shows .work-item:not(.featured) {
        flex: 0 1 calc(33.333% - 1.33rem);
        min-width: 320px;
        max-width: 400px;
    }
    
    .original-shows .work-item.featured {
        flex: 0 1 calc(66.666% - 0.66rem);
        max-width: 800px;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .original-shows .work-item:not(.featured) {
        flex: 0 1 calc(50% - 1rem);
        min-width: 280px;
        max-width: 350px;
    }
    
    .original-shows .work-item.featured {
        flex: 0 1 100%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .original-shows .work-item {
        flex: 0 1 100%;
        min-width: 280px;
        max-width: 100%;
    }
}

.work-item {
    background: var(--background-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 450px;
    width: 100%;
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-hover);
}

.work-item.featured {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--text-light);
}

.work-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

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

.work-item.featured .work-image {
    height: 0;
    padding-bottom: 100%; /* 1:1アスペクト比 */
    background: #f8f9fa;
}

/* 制作サポート番組の画像を1:1アスペクト比に */
.support-shows .work-image {
    height: 0;
    padding-bottom: 100%; /* 1:1アスペクト比 */
    background: #f8f9fa;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

/* 制作サポート番組の画像は全体表示 */
.support-shows .work-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* 画像全体を表示 */
    object-position: center;
    background: #f8f9fa;
}

/* featured画像も他の画像と同様に1:1アスペクト比で表示 */
.work-item.featured .work-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* 画像全体を表示 */
    object-position: center;
    background: #f8f9fa;
}

/* featured画像の下に境界線を追加 */
.work-item.featured .work-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 2;
}

/* 制作サポート番組の画像の下に境界線を追加 */
.support-shows .work-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 2;
}

/* 自主制作番組の通常画像も1:1アスペクト比に（featured以外） */
.original-shows .work-item:not(.featured) .work-image {
    height: 0;
    padding-bottom: 100%; /* 1:1アスペクト比 */
    background: #f8f9fa;
}

/* 自主制作番組の通常画像は全体表示 */
.original-shows .work-item:not(.featured) .work-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* 画像全体を表示 */
    object-position: center;
    background: #f8f9fa;
}

/* 自主制作番組の通常画像の下に境界線を追加 */
.original-shows .work-item:not(.featured) .work-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 2;
}

.work-item:hover .work-image img {
    transform: scale(1.05);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.listen-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.work-image-link:hover .listen-btn {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.work-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

/* ローカルダイバーズ（featured項目）のwork-contentは元の色に戻す */
.work-item.featured .work-content {
    background: rgba(244, 162, 97, 0.1);
}

.work-item h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.work-item.featured h3 {
    color: var(--text-light);
    font-size: 1.5rem;
}

.work-item p {
    margin-bottom: 1.5rem;
    flex: 1;
    white-space: pre-line;
}

.featured-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.tag {
    background: rgba(42, 157, 143, 0.1);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.work-item.featured .tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.work-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    align-self: flex-start;
}

.work-link:hover {
    border-bottom-color: var(--text-light);
}

/* 賞歴セクション */
.award-section {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(42, 157, 143, 0.05);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.award-section h4 {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.award-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.award-name {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.award-title {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Services Section */
.services {
    background: var(--background-light);
}

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

.service-item {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.service-item h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.digital-badge-container {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.digital-badge {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.digital-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.badge-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.service-item.main-service {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.05), rgba(231, 111, 81, 0.05));
    border: 2px solid var(--accent-color);
}

.service-details {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    align-items: center;
    justify-items: center;
}

.service-sub-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    transition: var(--transition);
    width: 100%;
    min-height: 80px;
    text-align: center;
}

.service-sub-item:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.service-sub-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    min-width: 20px;
    display: flex;
    align-items: center;
}

.service-sub-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.service-sub-item .text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    text-align: center;
}

.service-sub-item div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.service-sub-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
    text-align: center;
}

/* サービスステータス */
.service-status {
    margin-top: 1rem;
    text-align: center;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--background-color));
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(244, 162, 97, 0.3);
}

/* Local Divers Section */
.local-divers {
    background: white;
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

.local-divers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

.local-divers .container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.local-divers-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    padding: 2rem 0;
}

/* local-diversのレスポンシブ設定 - 縦軸中央揃え維持 */
@media (max-width: 1200px) {
    .local-divers-content {
        min-height: 50vh;
        padding: 1.5rem;
    }
}

@media (max-width: 992px) {
    .local-divers-content {
        min-height: 40vh;
        padding: 1rem;
    }
    
    .project-description {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .local-divers-content {
        min-height: auto;
        padding: 1rem 0.5rem;
    }
    
    .project-description {
        padding: 0;
        max-width: 100%;
        text-align: left;
    }
    
    .project-description h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .project-description p,
    .project-description li {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .local-divers-content {
        padding: 0.5rem 0.25rem;
    }
    
    .project-description h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .project-description p,
    .project-description li {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

.project-description {
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    box-sizing: border-box;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

.project-description h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.project-description p,
.project-description li {
    color: var(--text-dark);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
}

/* YouTube配信プレビュー */
.streaming-preview {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.episodes-list {
    margin-bottom: 1.5rem;
}

.episode-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.episode-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.episode-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.episode-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.episode-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
    background: rgba(42, 157, 143, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 500;
}

.episode-description {
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.episode-audio {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.episode-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.episode-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    background: var(--accent-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.episode-link:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
}





@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.episode-thumbnail {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f0f0f0;
}

.episode-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.episode-video {
    margin: 1rem 0;
}

.youtube-embed-small {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #000;
    box-sizing: border-box;
}

.youtube-embed-small iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.embed-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 1;
}

.youtube-embed-small.loaded .embed-loading {
    display: none;
}

.episode-video-fallback {
    margin: 1rem 0;
}

.video-preview {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.video-preview:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.video-preview:hover .play-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.video-preview:hover .play-button {
    background: #FF0000;
    transform: scale(1.1);
}

.play-text {
    text-align: center;
}

.play-text span {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.play-text small {
    display: block;
    font-size: 0.8rem;
    opacity: 0.9;
}

.episode-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: auto;
}

.streaming-preview h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.streaming-preview h3 i {
    color: #FF0000;
}

#youtube-preview-container {
    margin-bottom: 1.5rem;
}

.loading-spinner {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-light);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    margin: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.loading-spinner i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-spinner p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    width: 0%;
    animation: loading-progress 2s ease-in-out infinite;
    border-radius: 2px;
}

@keyframes loading-progress {
    0% {
        width: 0%;
        margin-left: 0%;
    }
    50% {
        width: 75%;
        margin-left: 0%;
    }
    100% {
        width: 0%;
        margin-left: 100%;
    }
}

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

.youtube-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(244, 162, 97, 0.1);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.video-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.video-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.publish-date {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-top: 0.5rem;
}

.channel-link {
    text-align: center;
}

.error-message {
    text-align: center;
    padding: 2rem;
    color: var(--primary-color);
    background: rgba(231, 111, 81, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid rgba(231, 111, 81, 0.2);
}

.error-message i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.project-features {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    margin-top: 2rem;
}

/* project-features専用の色設定（元の色を維持） */
.project-features .status-card {
    background: rgba(255, 255, 255, 0.95);
    border-left: 4px solid var(--primary-color);
}

.project-features .season-item {
    background: rgba(255, 255, 255, 0.7);
    border-left: 4px solid var(--primary-color);
}

.project-features .season-item h5 {
    color: var(--primary-color);
}

.project-features h4 {
    color: var(--primary-color);
}

.feature-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-item h4 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.status-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.status-card h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.status-item {
    margin-bottom: 1.5rem;
}

.status-label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(42, 157, 143, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

.status-note {
    background: rgba(244, 162, 97, 0.15);
    padding: 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    text-align: center;
    color: var(--text-dark);
    border: 1px solid rgba(244, 162, 97, 0.2);
    margin-top: 1rem;
}

/* 制作状況の新スタイル - 完全垂直配置 */
.season-status {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
}

/* project-status全体を垂直方向に強制 */
.project-status {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
}

.status-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.season-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.season-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.season-item h5 {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.status-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(42, 157, 143, 0.1);
}

.status-list li:last-child {
    border-bottom: none;
}

.status-list .fas.fa-check-circle {
    color: var(--accent-color);
    font-size: 0.8rem;
}

.status-list .fas.fa-edit {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Contact Section */
.contact {
    background: var(--background-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.contact-methods {
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(244, 162, 97, 0.1);
    border-radius: var(--border-radius);
}

.contact-method i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-method h4 {
    color: var(--accent-color);
    margin-bottom: 0.25rem;
}

.social-links-contact {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-links-contact a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

/* Form Styles */
.contact-form {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow);
}

/* Googleフォーム埋め込み */
.google-form-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-form-container iframe {
    width: 100%;
    min-height: 1260px;
    border: none;
    border-radius: var(--border-radius);
    background: white;
}

/* Googleフォームのレスポンシブ対応 */
@media (max-width: 768px) {
    .contact-form {
        padding: 1rem;
    }
    
    .google-form-container {
        margin: 0 -1rem;
        border-radius: 0;
    }
    
    .google-form-container iframe {
        min-height: 1400px;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 0.5rem;
    }
    
    .google-form-container iframe {
        min-height: 1500px;
    }
}



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

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(42, 157, 143, 0.2);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--background-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    width: 100%;
}

/* footer-content のレスポンシブ設定 */
@media (min-width: 1200px) {
    .footer-content {
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 4rem;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .footer-content {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .footer-info {
        flex: 1 1 100%;
        margin-bottom: 1rem;
    }
    
    .footer-links {
        flex: 1 1 100%;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-info {
    flex: 0 1 auto;
    min-width: 200px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 200px;
    flex: 1 1 auto;
    max-width: 300px;
}

/* footer-links のレスポンシブ設定 - 全幅・タブレット（左揃え）、スマートフォン（中央揃え） */
@media (min-width: 1400px) {
    .footer-links {
        justify-content: space-between;
        gap: 3rem;
    }
    
    .footer-section {
        flex: 1 1 calc(25% - 2.25rem);
        min-width: 220px;
        max-width: 280px;
        align-items: flex-start;
        text-align: left;
    }
}

@media (min-width: 1000px) and (max-width: 1399px) {
    .footer-links {
        justify-content: flex-start;
        gap: 2.5rem;
    }
    
    .footer-section {
        flex: 1 1 calc(33.333% - 1.67rem);
        min-width: 180px;
        max-width: 250px;
        align-items: flex-start;
        text-align: left;
    }
}

@media (min-width: 768px) and (max-width: 999px) {
    .footer-links {
        justify-content: flex-start;
        gap: 2rem;
    }
    
    .footer-section {
        flex: 1 1 calc(50% - 1rem);
        min-width: 150px;
        max-width: none;
        align-items: flex-start;
        text-align: left;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .footer-content {
        align-items: flex-start;
        text-align: left;
    }
    
    .footer-info {
        text-align: left;
    }
    
    .footer-links {
        justify-content: flex-start;
        gap: 1.5rem;
    }
    
    .footer-section {
        flex: 1 1 calc(50% - 0.75rem);
        min-width: 120px;
        max-width: 200px;
        align-items: flex-start;
        text-align: left;
    }
    
    .footer-section h4 {
        text-align: left;
    }
    
    .footer-section ul {
        text-align: left;
        align-items: flex-start;
    }
    
    .footer-section li {
        text-align: left;
    }
}

@media (max-width: 479px) {
    .footer-content {
        align-items: center;
        text-align: center;
        justify-content: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .footer-section {
        flex: 1 1 100%;
        min-width: auto;
        max-width: 100%;
        align-items: center;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .footer-section h4 {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
        text-align: center;
    }
    
    .footer-section li {
        margin-bottom: 0.5rem;
        text-align: center;
        width: auto;
    }
    
    .footer-section a {
        text-align: center;
        display: block;
    }
}

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--text-light);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* タブレット用の調整 */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-menu {
        gap: 1.2rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .nav-social-grid {
        grid-template-columns: repeat(2, 28px);
        grid-template-rows: repeat(2, 28px);
        gap: 0.1rem;
    }
    
    .nav-social-link {
        width: 28px;
        height: 28px;
        font-size: 0.55rem;
    }
    
    /* タブレット版のプラットフォーム固有ホバー効果 */
    .nav-social-grid .ig-button:hover {
        background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
        color: white !important;
        transform: translateY(-1px) !important;
    }
    
    .nav-social-grid .x-button:hover {
        background: #000000 !important;
        color: white !important;
        transform: translateY(-1px) !important;
    }
    
    .nav-social-grid .yt-button:hover {
        background: #FF0000 !important;
        color: white !important;
        transform: translateY(-1px) !important;
    }
    
    .nav-social-grid .link-button:hover {
        background: linear-gradient(135deg, #667eea, #764ba2) !important;
        color: white !important;
        transform: translateY(-1px) !important;
    }
    
    .nav-social-link:active {
        transform: translateY(0px) scale(0.9);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 3rem;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        margin: 1rem 0;
    }
    
    /* モバイル時のソーシャルグリッド調整 */
    .nav-social-grid {
        grid-template-columns: repeat(2, 30px);
        grid-template-rows: repeat(2, 30px);
        gap: 0.15rem;
    }
    
    .nav-social-link {
        width: 30px;
        height: 30px;
        font-size: 0.6rem;
    }
    
    /* モバイルでのタッチフィードバック強化 */
    .nav-social-link:active {
        transform: scale(0.85);
        transition: all 0.1s ease;
    }
    }
    
    .hero {
        padding-top: 140px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .streaming-preview {
        margin-top: 2rem;
        padding: 1.5rem 1rem;
        width: 100%;
        max-width: 100%;
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .original-shows .work-item.featured {
        grid-column: span 1;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    .work-image {
        height: 180px;
    }
    
    /* モバイル版でも制作サポート番組は1:1アスペクト比 */
    .support-shows .work-image {
        height: 0;
        padding-bottom: 100%;
    }
    
    /* モバイル版でも自主制作番組の通常画像は1:1アスペクト比 */
    .original-shows .work-item:not(.featured) .work-image {
        height: 0;
        padding-bottom: 100%;
    }
    
    .work-item.featured .work-image {
        height: 200px;
    }
    
    .streaming-preview {
        padding: 1rem 0.5rem;
        margin: 1.5rem 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .streaming-preview h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .episode-item {
        padding: 1rem 0.5rem;
        width: 100%;
        max-width: 100%;
        margin-bottom: 0.8rem;
    }
    
    .episode-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .episode-title {
        font-size: 1rem;
    }
    
    .episode-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .episode-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .episode-thumbnail {
        margin-bottom: 0.75rem;
    }
    
    .youtube-embed-small {
        margin: 0.75rem 0;
    }
    
    .video-info {
        margin-top: 0.5rem;
        padding: 0.75rem;
    }
    
    .video-title {
        font-size: 0.9rem;
    }
    
    .video-description {
        font-size: 0.8rem;
    }
    
    .season-item {
        padding: 1rem;
    }
    
    .season-item h5 {
        font-size: 0.9rem;
    }
    
    .status-list li {
        font-size: 0.8rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-info {
        flex: 1 1 100%;
        width: 100%;
    }
}
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item.main-service {
        grid-column: span 1;
    }
    
    .service-details {
        grid-template-columns: 1fr;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    :root {
        --section-padding: 3rem 0;
        --container-padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-image {
        margin-bottom: 1.5rem;
    }
    
    .profile-img {
        width: 150px;
        height: 150px;
    }
    
    .about-hero-image {
        margin-bottom: 2rem;
    }
    
    .about-hero-image .profile-img {
        width: 150px;
        height: 150px;
    }
    
    .hero-buttons {
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .social-links,
    .social-links-contact {
        gap: 0.5rem;
    }
    
    .social-links a,
    .social-links-contact a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Scroll Animation Enhancements */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Custom AOS Animations */
[data-aos="fade-up"] {
    transform: translateY(50px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

[data-aos="fade-left"] {
    transform: translateX(50px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}