/**
 * Simple Readable Theme - 見やすさ重視のシンプル配色
 * 基本は黒文字、グリーンはアクセントのみ使用
 */

/* 最優先でテキスト色を黒に統一 */
body, 
body *, 
p, span, div, li, td, th,
.hero-content *,
.section *,
.card *,
.pricing-card *,
.service-card *,
.footer__main *:not(.footer__title):not(.btn):not(.btn--line):not(.btn--primary) {
    color: #212121 !important;
}

/* メニュー関連の要素も黒文字に統一 */
.header__menu a,
.header__menu-link,
.header__nav a,
.header__nav-link,
.simple-desktop-menu a,
.simple-mobile-menu a,
.header__mobile-menu a,
.menu-item a,
.nav-menu a,
nav a:not(.btn):not(.btn--primary):not(.btn--line) {
    color: #212121 !important;
}

/* ナビゲーション全般 */
nav, .nav, .navigation, .menu {
    color: #212121 !important;
}

nav *, .nav *, .navigation *, .menu * {
    color: #212121 !important;
}

/* 見出しは黒で統一 */
h1, h2, h3, h4, h5, h6 {
    color: #212121 !important;
    font-weight: bold !important;
}

/* 薄いテキスト（説明文など）*/
.text-muted, 
.text-secondary,
.hero-subtitle,
.section-subtitle,
.description,
.excerpt {
    color: #757575 !important;
}

/* 背景は白ベース */
body {
    background-color: #ffffff !important;
}

.hero {
    background-color: #f8f9fa !important;
}

section:nth-child(even) {
    background-color: #f8f9fa !important;
}

/* カードのシンプル化 */
.card, .pricing-card, .service-card {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* ボタンのシンプル化 */
.btn, button {
    border-radius: 4px !important;
    font-weight: 600 !important;
}

/* プライマリボタンのみグリーン */
.btn-primary, .btn--primary {
    background: #4CAF50 !important;
    color: #ffffff !important;
    border: 1px solid #4CAF50 !important;
}

.btn-primary:hover, .btn--primary:hover {
    background: #388E3C !important;
    border: 1px solid #388E3C !important;
    color: #ffffff !important;
}

/* LINEボタンのみLINEカラー */
.btn-line, .btn--line {
    background: #00B900 !important;
    color: #ffffff !important;
    border: 1px solid #00B900 !important;
}

.btn-line:hover, .btn--line:hover {
    background: #009900 !important;
    border: 1px solid #009900 !important;
    color: #ffffff !important;
}

/* アウトラインボタン */
.btn-outline, .btn--outline {
    background: transparent !important;
    color: #4CAF50 !important;
    border: 1px solid #4CAF50 !important;
}

.btn-outline:hover, .btn--outline:hover {
    background: #4CAF50 !important;
    color: #ffffff !important;
}

/* ヘッダーを白ベースに */
.simple-header, .header, .header__wrapper {
    background: #ffffff !important;
    border-bottom: 1px solid #e0e0e0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.simple-logo a, .header__logo a {
    color: #212121 !important;
}

/* デスクトップメニュー */
.simple-desktop-menu a, .header__menu-link, .header__menu a {
    color: #212121 !important;
    background: transparent !important;
    border: 1px solid #e0e0e0 !important;
}

.simple-desktop-menu a:hover, .header__menu-link:hover, .header__menu a:hover {
    background: #f5f5f5 !important;
    color: #212121 !important;
    border: 1px solid #e0e0e0 !important;
}

/* モバイルメニュー */
.simple-mobile-menu, .header__mobile-menu {
    background: #ffffff !important;
    border-top: 1px solid #e0e0e0 !important;
}

.simple-mobile-menu a, .header__mobile-menu a {
    color: #212121 !important;
    border-bottom: 1px solid #f5f5f5 !important;
}

.simple-mobile-menu a:hover, .header__mobile-menu a:hover {
    background: #f5f5f5 !important;
    color: #212121 !important;
}

/* ハンバーガーメニュー */
.simple-hamburger, .header__menu-toggle {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
}

.simple-hamburger span, .header__menu-toggle span {
    background: #212121 !important;
}

/* フッターをシンプルで美しいデザインに - 参考サイト風 */
.footer {
    background: #ffffff !important;
    color: #212121 !important;
    border-top: 2px solid #e0e0e0 !important;
}

.footer__main {
    background: #ffffff !important;
    padding: 50px 0 !important;
}

.footer__title {
    color: #212121 !important;
    border-bottom: 2px solid #4CAF50 !important;
    padding-bottom: 8px !important;
    margin-bottom: 16px !important;
    font-weight: bold !important;
}

.footer__menu-link,
.footer__contact-link {
    color: #757575 !important;
    text-decoration: none !important;
    padding: 4px 0 !important;
    display: block !important;
    transition: color 0.2s ease !important;
}

.footer__menu-link:hover,
.footer__contact-link:hover {
    color: #4CAF50 !important;
}

.footer__hours-label,
.footer__contact-label,
.footer__social-label {
    color: #212121 !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

.footer__hours-text,
.footer__contact-subtext {
    color: #757575 !important;
}

/* SNSアイコンの調整 */
.footer__social-links {
    display: flex !important;
    gap: 12px !important;
    justify-content: flex-start !important;
    margin-top: 12px !important;
}

.footer__social-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 50% !important;
    color: #757575 !important;
    transition: all 0.2s ease !important;
}

.footer__social-link:hover {
    background: #4CAF50 !important;
    border-color: #4CAF50 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.footer__social-link--x:hover {
    background: #000000 !important;
    border-color: #000000 !important;
}

.footer__social-link--instagram:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%) !important;
    border-color: #e6683c !important;
}

.footer__social-link--tiktok:hover {
    background: #000000 !important;
    border-color: #ff0050 !important;
}

.footer__social-link--youtube:hover {
    background: #ff0000 !important;
    border-color: #ff0000 !important;
}

/* CTA部分を参考サイト風にアップグレード */
.footer__cta {
    background: #f8f9fa !important;
    border-top: 1px solid #e0e0e0 !important;
    border-bottom: 1px solid #e0e0e0 !important;
    padding: 50px 0 !important;
    text-align: center !important;
}

.footer__cta-title {
    color: #212121 !important;
    font-weight: bold !important;
    font-size: 1.8rem !important;
    text-align: center !important;
    margin-bottom: 16px !important;
}

.footer__cta-text {
    color: #757575 !important;
    text-align: center !important;
    font-size: 1.1rem !important;
    margin-bottom: 32px !important;
}

.footer__cta-buttons {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}

/* フッター下部 - 参考サイト風 */
.footer__bottom {
    background: #f8f9fa !important;
    border-top: 1px solid #e0e0e0 !important;
    padding: 30px 0 !important;
    text-align: center !important;
}

.footer__copyright {
    color: #757575 !important;
    text-align: center !important;
    font-size: 14px !important;
}

/* 法的リンク */
.footer__legal-link {
    color: #757575 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    margin: 0 12px !important;
}

.footer__legal-link:hover {
    color: #4CAF50 !important;
    text-decoration: underline !important;
}

/* リンク色の統一 */
a:not(.btn):not(.btn--primary):not(.btn--line):not(.footer__menu-link):not(.footer__contact-link) {
    color: #4CAF50 !important;
}

a:not(.btn):not(.btn--primary):not(.btn--line):not(.footer__menu-link):not(.footer__contact-link):hover {
    color: #388E3C !important;
}

/* 価格表示など重要な情報はグリーン */
.price, 
.pricing-card__price,
.service-card__price {
    color: #4CAF50 !important;
    font-weight: bold !important;
}

/* バッジやラベル */
.badge, .tag, .label {
    background: #E8F5E8 !important;
    color: #2E7D32 !important;
    border: 1px solid #C8E6C9 !important;
}

/* フォーム要素 */
input, textarea, select {
    border: 1px solid #e0e0e0 !important;
    background: #ffffff !important;
    color: #212121 !important;
    border-radius: 4px !important;
}

input:focus, textarea:focus, select:focus {
    border-color: #4CAF50 !important;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2) !important;
}

/* テーブル */
th {
    background: #f8f9fa !important;
    color: #212121 !important;
}

td {
    color: #212121 !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

/* パンくずナビの修正 */
.breadcrumbs {
    background: #f8f9fa !important;
    padding: 12px 20px !important;
    border-radius: 4px !important;
    margin: 20px 0 !important;
}

.breadcrumbs__list {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.breadcrumbs__item {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.breadcrumbs__link {
    color: #4CAF50 !important;
    text-decoration: none !important;
    padding: 4px 8px !important;
    border-radius: 3px !important;
    transition: background-color 0.2s ease !important;
}

.breadcrumbs__link:hover {
    background: #E8F5E8 !important;
    color: #2E7D32 !important;
}

.breadcrumbs__current {
    color: #212121 !important;
    font-weight: 500 !important;
    padding: 4px 8px !important;
}

.breadcrumbs__separator {
    color: #757575 !important;
    margin: 0 8px !important;
    font-weight: normal !important;
}

/* 特定要素の上書き防止 */
.hero-content h1,
.hero-content h2,
.hero-content p,
.section-content h1,
.section-content h2,
.section-content h3,
.section-content p,
.card-content *,
.pricing-content * {
    color: #212121 !important;
}

.hero-subtitle,
.section-subtitle,
.card-subtitle {
    color: #757575 !important;
}