/* Custom CSS for STUDIO KIPRO */

/* Global Styles */
:root {
    --primary-color: #6f42c1;
    --secondary-color: #fd7e14;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-primary-dark: linear-gradient(135deg, #2d1b69 0%, #1a0f3a 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --star-opacity: 0.3;
}

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

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(33, 37, 41, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-brand {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar-brand img,
.nav-brand img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.navbar-brand:hover img,
.nav-brand:hover img {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(250deg);
}

.nav-brand:hover {
    opacity: 0.8;
    color: white;
    text-decoration: none;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

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

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.1s ease;
    /* 連続的な暗化エフェクト用のプロパティ */
    --background-brightness: 1;
}

.hero-section.inactive {
    background: var(--gradient-primary-dark);
}

/* 星空エフェクト用の疑似要素 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(1px 1px at 20px 30px, #fff, transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 90px 40px, #eee, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 160px 30px, #ddd, transparent),
        radial-gradient(1px 1px at 200px 60px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 240px 20px, #fff, transparent),
        radial-gradient(1px 1px at 280px 90px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 320px 50px, #eee, transparent),
        radial-gradient(1px 1px at 360px 10px, rgba(255,255,255,0.9), transparent);
    background-repeat: repeat;
    background-size: 400px 200px;
    animation: twinkle 4s ease-in-out infinite alternate;
    opacity: var(--star-opacity);
    transition: opacity 3s ease;
    z-index: 1;
}

/* バックグラウンド暗化用のオーバーレイ */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background-color 0.1s ease;
    z-index: 1;
    pointer-events: none;
}

/* 暗化レベルに応じたオーバーレイの透明度 */
.hero-section[data-dim-level="1"]::after {
    background: rgba(0, 0, 0, 0.1);
}

.hero-section[data-dim-level="2"]::after {
    background: rgba(0, 0, 0, 0.2);
}

.hero-section[data-dim-level="3"]::after {
    background: rgba(0, 0, 0, 0.3);
}

.hero-section[data-dim-level="4"]::after {
    background: rgba(0, 0, 0, 0.4);
}

.hero-section[data-dim-level="5"]::after {
    background: rgba(0, 0, 0, 0.5);
}

.hero-section[data-dim-level="6"]::after {
    background: rgba(0, 0, 0, 0.6);
}

.hero-section[data-dim-level="7"]::after {
    background: rgba(0, 0, 0, 0.7);
}

.hero-section[data-dim-level="8"]::after {
    background: rgba(0, 0, 0, 0.8);
}

.hero-section[data-dim-level="9"]::after {
    background: rgba(0, 0, 0, 0.9);
}

.hero-section[data-dim-level="10"]::after {
    background: rgba(0, 0, 0, 1);
}

@keyframes twinkle {
    0% {
        opacity: 0.2;
        transform: translateX(0px);
    }
    50% {
        opacity: 0.6;
        transform: translateX(10px);
    }
    100% {
        opacity: 0.3;
        transform: translateX(-5px);
    }
}

/* 星空の流れるアニメーション */
.hero-section.starry-night::before {
    animation: starFlow 30s linear infinite, twinkle 4s ease-in-out infinite alternate;
}

.hero-section.starry-night::after {
    animation: starFlow 40s linear infinite reverse, twinkle 6s ease-in-out infinite alternate-reverse;
}

@keyframes starFlow {
    0% {
        transform: translateX(-200px) translateY(0px);
    }
    50% {
        transform: translateX(0px) translateY(-30px);
    }
    100% {
        transform: translateX(200px) translateY(-60px);
    }
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    animation: float 6s ease-in-out infinite;
}

.hero-symbol {
    filter: brightness(0) invert(1) opacity(0.9);
    transition: all 0.3s ease;
}

.hero-symbol:hover {
    filter: brightness(0) invert(1) opacity(1);
    transform: scale(1.05);
}

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

/* Section Titles */
.section-title {
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    margin-bottom: 3rem;
}

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

/* About Section */
#about {
    background: white;
    color: var(--dark-color);
}

#about .section-title {
    color: var(--dark-color);
    text-shadow: none;
}

#about .lead {
    color: #6c757d;
    font-weight: 500;
}

/* Feature Cards */
.feature-card {
    padding: 2rem 1rem;
    text-align: center;
    transition: transform 0.3s ease;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-card h4 {
    font-weight: 600;
    margin: 1rem 0;
    color: var(--dark-color);
}

.feature-card p {
    color: #6c757d;
    font-weight: 500;
}

/* Service Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.service-card .card {
    border-radius: 15px;
    overflow: hidden;
}

.service-card .card-body {
    padding: 2rem;
}

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

#contact .section-title {
    color: var(--dark-color);
    text-shadow: none;
}

#contact .lead {
    color: #6c757d;
    font-weight: 500;
}

/* Contact Info */
.contact-info {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-info h5 {
    font-weight: 600;
    margin: 1rem 0;
    color: var(--dark-color);
}

.contact-info p {
    color: #6c757d;
    font-weight: 500;
}

.contact-info a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    color: white !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    color: white !important;
}

.btn-primary:active {
    transform: translateY(0);
}

/* メールフォームボタン専用のスタイル */
#contact .btn-primary,
.contact-info .btn-primary {
    color: white !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 0.75rem 2rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
}

#contact .btn-primary:hover,
.contact-info .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3) !important;
    color: white !important;
    text-decoration: none !important;
}

.btn-outline-light {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Footer */
footer {
    background: var(--dark-color);
}

footer h5 {
    color: white;
    font-weight: 600;
}

footer img {
    filter: brightness(0) invert(1) opacity(0.8);
    transition: filter 0.3s ease;
}

footer img:hover {
    filter: brightness(0) invert(1) opacity(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    #about .lead,
    #contact .lead {
        font-size: 1.1rem;
        line-height: 1.7;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* メインコンテンツ */
.main-content {
    padding: 60px 0;
}

/* メールフォーム固有のスタイル */
.form-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.form-description {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.form-description p {
    margin-bottom: 10px;
    color: #666;
}

.form-description p:last-child {
    margin-bottom: 0;
}

.contact-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.required {
    color: #e74c3c;
    margin-left: 4px;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.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%;
}

/* パンくずナビゲーション */
.breadcrumb-nav {
    margin-bottom: 30px;
}

.breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '>';
    margin: 0 10px;
    color: #999;
}

.breadcrumb-item a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #5a4a8a;
}

.breadcrumb-item.active {
    color: #666;
}

/* フッター */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 60px;
}

.footer-text {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

/* 成功メッセージスタイル */
.success-message {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 40px;
}

.success-title {
    color: #27ae60;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.success-subtitle {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.success-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.success-description:last-child {
    margin-bottom: 0;
}

.success-actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-section {
    animation: fadeInUp 0.6s ease-out;
}

/* フォーカス時のアクセシビリティ */
.btn:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* ローディング状態 */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* エラー状態 */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* 成功状態 */
.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

/* ダークモード切り替えスイッチ */
.form-check-input {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

.form-check-label {
    cursor: pointer;
    color: #adb5bd;
    transition: color 0.3s ease;
}

.form-check-label:hover {
    color: #fff;
}

/* ダークモードクラス */
body.dark-mode {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e1e5e9;
}

body.dark-mode #about,
body.dark-mode #contact {
    background: #2c3e50;
    color: #e1e5e9;
}

body.dark-mode #about .section-title,
body.dark-mode #contact .section-title {
    color: #e1e5e9;
    text-shadow: none;
}

body.dark-mode #about .lead,
body.dark-mode #contact .lead {
    color: #b8c2cc;
}

body.dark-mode .feature-card,
body.dark-mode .contact-info {
    background: #34495e;
    color: #e1e5e9;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .feature-card:hover,
body.dark-mode .contact-info:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

body.dark-mode .feature-card h4,
body.dark-mode .contact-info h5 {
    color: #e1e5e9;
}

body.dark-mode .feature-card p,
body.dark-mode .contact-info p {
    color: #b8c2cc;
}

body.dark-mode .form-section {
    background: #2c3e50;
    color: #e1e5e9;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: #34495e;
    border-color: #4a5568;
    color: #e1e5e9;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
    border-color: #667eea;
}

body.dark-mode .form-description {
    background: #34495e;
    color: #b8c2cc;
}

body.dark-mode .breadcrumb-nav {
    background: #2c3e50;
    border-bottom-color: #4a5568;
}

body.dark-mode .breadcrumb-item.active {
    color: #b8c2cc;
}

body.dark-mode .success-message {
    background: #2c3e50;
    color: #e1e5e9;
}

body.dark-mode .success-title {
    color: #27ae60;
}

body.dark-mode .success-subtitle {
    color: #e1e5e9;
}

body.dark-mode .success-description {
    color: #b8c2cc;
}

body.dark-mode #services {
    background: #2c3e50 !important;
    color: #e1e5e9;
}

body.dark-mode #services.bg-light {
    background: #2c3e50 !important;
}

body.dark-mode #services .section-title {
    color: #e1e5e9;
    text-shadow: none;
}

body.dark-mode .service-card .card {
    background: #34495e;
    color: #e1e5e9;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .service-card .card-body {
    color: #e1e5e9;
}

body.dark-mode .service-card .card-title {
    color: #e1e5e9;
}

body.dark-mode .service-card .card-text {
    color: #b8c2cc;
}

body.dark-mode .service-card:hover .card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ダークモードでのボタンスタイル */
body.dark-mode .btn-primary,
body.dark-mode #contact .btn-primary,
body.dark-mode .contact-info .btn-primary {
    color: white !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
}

body.dark-mode .btn-primary:hover,
body.dark-mode #contact .btn-primary:hover,
body.dark-mode .contact-info .btn-primary:hover {
    color: white !important;
    text-decoration: none !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }

    .nav-brand {
        font-size: 20px;
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-link {
        padding: 6px 12px;
        font-size: 14px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .form-section {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .hero-section {
        padding: 60px 0;
    }

    .main-content {
        padding: 40px 0;
    }

    .confirm-actions {
        flex-direction: column;
        align-items: center;
    }

    .success-message {
        padding: 30px 15px;
    }

    .success-title {
        font-size: 1.5rem;
    }

    .success-subtitle {
        font-size: 1rem;
    }
}

/* 768px〜1360pxでのフッターレイアウト調整 */
@media (min-width: 769px) and (max-width: 1360px) {
    footer {
        padding: 30px 0 !important;
        min-height: 120px;
    }
    
    footer .container .row {
        flex-direction: column;
        text-align: center;
    }
    
    footer .col-md-6 {
        width: 100%;
        margin-bottom: 20px;
    }
    
    footer .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    footer .text-md-end {
        text-align: center !important;
    }
    
    footer .justify-content-md-end {
        justify-content: center !important;
    }
    
    /* ダークモードスイッチの位置調整 */
    footer .d-flex.align-items-center.justify-content-md-end {
        justify-content: center !important;
        margin-bottom: 15px;
    }
    
    /* reCAPTCHA位置調整 */
    .grecaptcha-badge {
        bottom: 140px !important;
        right: 20px !important;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 10px;
    }

    .nav-link {
        padding: 5px 10px;
        font-size: 13px;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .form-section {
        padding: 20px 15px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ダークモードでのフォームグループラベルとテキスト */
body.dark-mode .form-group label {
    color: #e1e5e9 !important;
}

body.dark-mode .form-group {
    color: #e1e5e9;
}

body.dark-mode .form-section {
    background: #2c3e50;
    color: #e1e5e9;
}

/* ダークモードでのアラートとフォーム関連テキスト */
body.dark-mode .alert {
    background: #34495e;
    border-color: #4a5568;
    color: #e1e5e9;
}

body.dark-mode .alert-info {
    background: #1e3a5f;
    border-color: #2d5a8b;
    color: #b8d4f8;
}

body.dark-mode .alert-link {
    color: #667eea;
}

body.dark-mode .alert-link:hover {
    color: #8b9eff;
}

body.dark-mode .text-danger {
    color: #ff6b6b !important;
}

body.dark-mode .text-white-50 {
    color: #b8c2cc !important;
}

body.dark-mode .breadcrumb-item a {
    color: #667eea;
}

body.dark-mode .breadcrumb-item a:hover {
    color: #8b9eff;
} 