/*
 * blog-article.css
 * ブログ記事・カテゴリーページ用スタイル
 */

/* ========================================
 * 特別割引ボックス
 * ======================================== */

.special-discount-box {
    background: #f8f9fa;
    padding: 20px;
    border-left: 4px solid #007bff;
    margin: 20px 0;
    border-radius: 5px;
    text-align: left;
}

.special-discount-box h3 {
    color: #007bff;
    margin: 0 0 15px 0;
    font-size: 18px;
}

.special-discount-box p {
    margin: 10px 0;
    color: #333;
}

.special-discount-box p:last-child {
    margin: 15px 0 0 0;
}

.special-discount-box a {
    color: #007bff;
    text-decoration: underline;
    font-weight: bold;
}

.special-discount-box .discount-title {
    font-size: 16px;
    font-weight: bold;
}

.special-discount-box .discount-price {
    font-size: 18px;
    font-weight: bold;
    color: #dc3545;
}

/* タブレット画面での本文テキストを大きく */
@media (min-width: 768px) and (max-width: 1024px) {
    p, li, div {
        font-size: 1.1rem;
        line-height: 1.65;
    }
    
    /* ヒーローセクションのサブタイトルは除外 */
    .hero .subtitle {
        font-size: 1.4rem;
        font-weight: 600;
        margin: 0 auto 1rem auto;
        line-height: 1.5;
    }
    
    .hero .subtitle-points {
        font-size: 1rem;
        margin: 0 auto;
    }
    
    .hero .subtitle-points li {
        font-size: 1rem;
        margin-bottom: 0.6rem;
        line-height: 1.6;
    }
}

/* パソコン・タブレット画面では中央寄せ */
@media (min-width: 768px) {
    .special-discount-box {
        text-align: center;
    }
    .special-discount-box h3,
    .special-discount-box p,
    .special-discount-box a,
    .special-discount-box .discount-title,
    .special-discount-box .discount-price {
        text-align: center;
    }
}

/* スマホ画面では左寄せ（デフォルト） */
@media (max-width: 767px) {
    .special-discount-box {
        text-align: left;
    }
    .special-discount-box h3,
    .special-discount-box p,
    .special-discount-box a,
    .special-discount-box .discount-title,
    .special-discount-box .discount-price {
        text-align: left;
    }
}

/* ========================================
 * パートナー募集セクション
 * ======================================== */
.partner-inquiry-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    border-left: 5px solid #0693e3;
}

.partner-inquiry-box h3 {
    color: #0693e3;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
}

.partner-inquiry-box p {
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: left;
}

.partner-inquiry-box p:last-child {
    margin-top: 20px;
}

.partner-inquiry-box ul {
    margin-left: 20px;
    line-height: 1.8;
    text-align: left;
}

.partner-inquiry-box li {
    margin-bottom: 10px;
    text-align: left;
}

.partner-inquiry-box p strong {
    font-weight: bold;
}

/* アコーディオン化 */
.partner-inquiry-accordion {
    margin: 0;
}

.partner-inquiry-summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding-right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.partner-inquiry-summary-icon {
    font-size: 1.3rem;
    line-height: 1;
    flex-shrink: 0;
}

.partner-inquiry-summary::-webkit-details-marker {
    display: none;
}

.partner-inquiry-summary::after {
    content: '▼';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #0693e3;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.partner-inquiry-accordion[open] .partner-inquiry-summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.partner-inquiry-summary h3 {
    margin: 0;
    pointer-events: none;
}

.partner-inquiry-content {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.partner-inquiry-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: left;
}

.partner-inquiry-content p:last-child {
    margin-top: 20px;
}

.partner-inquiry-content ul {
    margin-left: 20px;
    line-height: 1.8;
    text-align: left;
}

.partner-inquiry-content li {
    margin-bottom: 10px;
    text-align: left;
}

/* ========================================
 * アコーディオン共通スタイル
 * ======================================== */
details[class*="-accordion"] {
    margin: 0;
}

summary[class*="-summary"] {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding-right: 2rem;
    user-select: none;
}

summary[class*="-summary"]::-webkit-details-marker {
    display: none;
}

summary[class*="-summary"]::after {
    content: '▼';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #0693e3;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

details[class*="-accordion"][open] summary[class*="-summary"]::after {
    transform: translateY(-50%) rotate(180deg);
}

/* 事例紹介アコーディオン */
.case-study-accordion {
    margin-top: 1.5rem;
}

.case-study-summary {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0693e3;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.case-study-summary-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.case-study-summary-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0693e3;
}

/* サンプルサイト一覧アコーディオン */
.sample-sites-accordion {
    margin-top: 1.5rem;
}

.sample-sites-summary {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0693e3;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sample-sites-summary-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.sample-sites-summary-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0693e3;
}

/* ホームページの種類アコーディオン */
.website-types-accordion {
    margin: 2rem 0;
}

.website-types-summary {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0693e3;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.website-types-summary-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.website-types-summary h3 {
    margin: 0 !important;
    display: inline !important;
}

/* 料金比較アコーディオン */
.pricing-comparison-accordion {
    margin-top: 1.5rem;
}

.pricing-comparison-summary {
    padding: 1rem;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-comparison-summary-icon {
    font-size: 1.3rem;
    line-height: 1;
    flex-shrink: 0;
}

.pricing-comparison-summary h3 {
    margin: 0 !important;
    display: inline !important;
}

/* オプションのご案内アコーディオン */
.pricing-options-accordion {
    margin-top: 1.5rem;
}

.pricing-options-summary {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.pricing-options-summary-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.pricing-options-summary h3 {
    margin: 0 !important;
    display: inline !important;
}

/* お支払いの時期アコーディオン */
.pricing-payment-accordion {
    margin-top: 1.5rem;
}

.pricing-payment-summary {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.pricing-payment-summary-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.pricing-payment-summary h3 {
    margin: 0 !important;
    display: inline !important;
}

/* ========================================
 * お知らせページ バナー風アイキャッチ
 * ======================================== */
/* 投稿ページ用 */
.module-Article_Item_Img {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.module-Article_Item_Img img {
    width: 100%;
    height: auto;
    display: block;
}

/* バナー風のオーバーレイ */
.module-Article_Item_Img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(0,0,0,0.6) 0%, 
        rgba(0,0,0,0.3) 50%, 
        rgba(0,0,0,0.7) 100%
    );
    z-index: 1;
}

/* バナー風の文字オーバーレイ */
.module-Article_Item_Img::after {
    content: '自分で更新できる化サービス（お試し価格）\A SNS感覚で投稿するだけ\A トップページに自動反映';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    z-index: 2;
    white-space: pre-line;
    max-width: 90%;
}

/* ページ用（念のため） */
.content-EyeCatch {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.content-EyeCatch img {
    width: 100%;
    height: auto;
    display: block;
}



/* スマホ対応 */
@media (max-width: 767px) {
    .module-Article_Item_Img::after {
        font-size: 1.4rem;
        line-height: 1.3;
    }
}

/* タブレット対応 */
@media (min-width: 768px) and (max-width: 1023px) {
    .module-Article_Item_Img::after {
        font-size: 1.6rem;
    }
}

/* 料金比較の注意事項 */
.pricing-comparison-note {
    background: #f8f9fa;
    padding: 40px 0;
    margin: 40px 0;
}

.comparison-note-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #007bff;
}

.comparison-note-box h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.comparison-item {
    padding: 20px;
    border-radius: 6px;
    border: 2px solid #e9ecef;
}

.comparison-item.other-companies {
    background: #fff5f5;
    border-color: #ff6b6b;
}

.comparison-item.pentad-kobo {
    background: #f0f8ff;
    border-color: #007bff;
}

.comparison-item h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

.comparison-item.other-companies h4 {
    color: #d63031;
}

.comparison-item.pentad-kobo h4 {
    color: #007bff;
}

.comparison-item ul {
    margin: 0;
    padding-left: 20px;
}

.comparison-item li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.comparison-note-text {
    text-align: right;
    font-size: 16px;
    color: #666;
    font-weight: 500;
    margin: 0;
}

/* より具体的なセレクタで右寄せを確実に適用 */
.pricing-highlight-box .comparison-note-text {
    text-align: right;
}

.pricing-comparison .pricing-highlight-box .comparison-note-text {
    text-align: right;
}

/* 最も具体的なセレクタで右寄せを強制適用 */
.pricing-comparison .pricing-note .pricing-highlight-box .comparison-note-text {
    text-align: right;
}

.pricing-comparison .pricing-note .pricing-highlight-box-left .comparison-note-text {
    text-align: right;
}

/* 料金表拡張説明 */
.pricing-expansion-note {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-left: 4px solid #28a745;
    border-radius: 4px;
}

.pricing-expansion-note p {
    margin: 0;
    color: #333;
    line-height: 1.6;
}

/* 料金セクションの統一感を高めるスタイル */
.pricing-comparison-note {
    max-width: 1000px;
    margin: 3rem auto 2rem;
}

.pricing-comparison-note .pricing-highlight-box-left {
    background: linear-gradient(135deg, #fef3c7, #fef7cd);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.pricing-comparison-note .comparison-item {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
}

.pricing-comparison-note .comparison-item.other-companies {
    border-color: #6b7280;
}

.pricing-comparison-note .comparison-item.pentad-kobo {
    border-color: #0066cc;
    background: #f0f7ff;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .comparison-note-box {
        padding: 20px;
    }
    
    .comparison-note-box h3 {
        font-size: 20px;
    }
    
    .pricing-comparison-note {
        margin: 2rem auto 1.5rem;
        padding: 0 1rem;
    }
    
    .pricing-comparison-note .pricing-highlight-box-left {
        padding: 1.2rem;
    }
    
    .pricing-comparison-note .comparison-item {
        padding: 1.2rem;
    }
}

/* ========================================
 * クラウドソーシング図解（記事共通スタイル）
 * ======================================== */
.crowdsourcing-diagram {
    --cd-gap: 14px;
    --cd-radius: 10px;
    --cd-shadow: 0 6px 18px rgba(0,0,0,.08);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--cd-gap);
    margin: 2rem 0;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--cd-shadow);
}

.cd-row {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    align-items: stretch;
    gap: var(--cd-gap);
}

/* 3ノード（クライアント→プラットフォーム→ワーカー）用 */
.cd-row-3 {
    display: grid;
    grid-template-columns: 1fr 56px 1fr 56px 1fr;
    align-items: stretch;
    gap: var(--cd-gap);
}

.cd-col {
    background: #fff;
    border: 2px solid var(--primary-color);
    border-radius: var(--cd-radius);
    box-shadow: var(--cd-shadow);
    padding: 16px;
}

.cd-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-color);
    margin: 0 0 8px 0;
}

.cd-list {
    margin: 0;
    padding-left: 1.2em;
}
.cd-list li { line-height: 1.6; margin: 4px 0; }

.cd-arrow {
    display: grid;
    place-items: center;
}
.cd-arrow .arrow {
    width: 32px;
    height: 32px;
    border-right: 6px solid var(--primary-color);
    border-top: 6px solid var(--primary-color);
    transform: rotate(45deg);
}

.cd-arrow.left .arrow { transform: rotate(-135deg); }

/* ラベル帯（任意） */
.cd-badge {
    display: inline-block;
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
    background: var(--primary-color);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

/* スマホ縦では縦積み */
@media (max-width: 767px) {
    .cd-row, .cd-row-3 { grid-template-columns: 1fr; }
    .cd-arrow { height: 20px; }
    .cd-arrow .arrow {
        transform: rotate(135deg);
        border-width: 5px;
        width: 24px; height: 24px;
    }
    .cd-arrow.left .arrow { transform: rotate(135deg); }
}

/* ========================================
 * ホームページ制作の裏側カテゴリー専用スタイル
 * ======================================== */

/* ホームページ制作の裏側カテゴリー専用動画案内セクション */
body.category-homepage-production-insider .article-video-intro .video-reference-box,
body.single-post .article-video-intro .video-reference-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

body.category-homepage-production-insider .article-video-intro .video-reference-box::before,
body.single-post .article-video-intro .video-reference-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #f7931e, #ffd23f);
}

body.category-homepage-production-insider .article-video-intro .video-reference-header,
body.single-post .article-video-intro .video-reference-header {
    background: transparent;
    color: #2c3e50;
    font-size: 1.3em;
    font-weight: bold;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
}

body.category-homepage-production-insider .article-video-intro .video-reference-header .video-reference-icon,
body.single-post .article-video-intro .video-reference-header .video-reference-icon {
    display: none;
}

body.category-homepage-production-insider .article-video-intro .video-reference-header::before,
body.single-post .article-video-intro .video-reference-header::before {
    content: '🎥';
    font-size: 1.2em;
}

body.category-homepage-production-insider .article-video-intro .video-reference-content p,
body.single-post .article-video-intro .video-reference-content p {
    color: #495057;
    line-height: 1.7;
    margin: 0 0 12px 0;
    font-size: 1.05em;
}

body.category-homepage-production-insider .article-video-intro .video-reference-content p:last-child,
body.single-post .article-video-intro .video-reference-content p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: #2c3e50;
}

body.category-homepage-production-insider .article-video-intro strong,
body.single-post .article-video-intro strong {
    color: #e74c3c;
    font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    body.category-homepage-production-insider .article-video-intro .video-reference-box,
    body.single-post .article-video-intro .video-reference-box {
        padding: 20px;
        margin: 20px 0;
    }
    
    body.category-homepage-production-insider .article-video-intro .video-reference-header,
    body.single-post .article-video-intro .video-reference-header {
        font-size: 1.2em;
    }
    
    body.category-homepage-production-insider .article-video-intro .video-reference-content p,
    body.single-post .article-video-intro .video-reference-content p {
        font-size: 1em;
    }
}

/* スライダータイトル専用スタイル（最高優先度・中央寄せ・やや目立つ） */

/* ========================================
 * SNSシェアボタン
 * ======================================== */

/* 新しいSNSシェアボタン */
.sns-share-buttons {
    margin: 3rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.sns-share-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    margin: 0 0 1rem 0;
    text-align: center;
}

.sns-share-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sns-share-item {
    margin: 0;
    padding: 0;
}

.sns-share-item a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sns-share-item a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.sns-share-item svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* X (Twitter) */
.sns-twitter a {
    background: #000;
}

.sns-twitter a:hover {
    background: #333;
}

/* Facebook */
.sns-facebook a {
    background: #1877f2;
}

.sns-facebook a:hover {
    background: #0c63d4;
}

/* はてなブックマーク */
.sns-hatena a {
    background: #00a4de;
}

.sns-hatena a:hover {
    background: #008bbf;
}

/* LINE */
.sns-line a {
    background: #06c755;
}

.sns-line a:hover {
    background: #05b34b;
}

/* 上部に配置する場合 */
.sns-share-top {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

/* 下部に配置する場合 */
.sns-share-bottom {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .sns-share-buttons {
        padding: 1.2rem;
        margin: 2rem 0;
    }
    
    .sns-share-list {
        gap: 0.8rem;
    }
    
    .sns-share-item a {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .sns-share-item svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .sns-share-buttons {
        padding: 1rem;
    }
    
    .sns-share-list {
        gap: 0.6rem;
    }
    
    .sns-share-item a {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .sns-share-item a span {
        display: none;
    }
    
    .sns-share-item svg {
        width: 24px;
        height: 24px;
        margin: 0;
    }
}

/* 著作権表示の統一フォーマット */
.copyright-notice {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin: 1rem 0;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    border-left: 3px solid var(--primary-color);
}

.image-credit {
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
    margin-top: 0.5rem;
}

.image-license-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.8rem;
}

.image-license-link:hover {
    text-decoration: underline;
}

/* ライセンスページの警告ボックス */
.warning-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
}

.warning-box h3 {
    color: #856404;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.warning-box p {
    color: #856404;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.warning-box p:last-child {
    margin-bottom: 0;
}

.warning-box strong {
    color: #721c24;
    font-weight: 700;
}

/* Contact Form 7 - ご連絡の目的ラジオボタンの横並びレイアウト */
.wpcf7-form-control.wpcf7-radio {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.wpcf7-form-control.wpcf7-radio .wpcf7-list-item {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0.5rem;
}

.wpcf7-form-control.wpcf7-radio label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    margin-bottom: 0;
}

.wpcf7-form-control.wpcf7-radio label:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.wpcf7-form-control.wpcf7-radio input[type="radio"] {
    margin-right: 0.8rem;
    transform: scale(1.2);
}

.wpcf7-form-control.wpcf7-radio .wpcf7-list-item-label {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

/* Contact Form 7 - レスポンシブ対応 */
@media (max-width: 768px) {
    .wpcf7-form-control.wpcf7-radio {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .wpcf7-form-control.wpcf7-radio .wpcf7-list-item {
        flex: none;
        min-width: auto;
    }
    
    .wpcf7-form-control.wpcf7-radio label {
        padding: 0.4rem;
    }
    
    .wpcf7-form-control.wpcf7-radio .wpcf7-list-item-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .wpcf7-form-control.wpcf7-radio {
        gap: 0.4rem;
    }
    
    .wpcf7-form-control.wpcf7-radio .wpcf7-list-item-label {
        font-size: 0.85rem;
    }
}

/* ========================================
 * 滋賀県の四季シリーズ - 回遊性強化スタイル
 * ======================================== */

/* スライダーサブタイトル（トップページ用） */
.slider-subtitle {
    text-align: center;
    font-size: 0.9rem;
    margin: 0.5rem 0 1.5rem 0;
    color: #666;
    line-height: 1.6;
}

.about-founder-section .slider-section {
    text-align: center;
}

/* .slider-subtitle をすべての text-align: left から保護（最高詳細度で上書き） */
section.about-founder-section .slider-section p.slider-subtitle,
section.about-founder-section .slider-section .slider-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    display: block;
}

section.about-founder-section .slider-section .slider-subtitle a {
    text-align: center;
    display: inline;
}

.slider-subtitle a {
    color: #0066cc;
    text-decoration: none;
    padding: 0 0.5rem;
    transition: color 0.2s ease;
}

.slider-subtitle a:hover {
    color: #004499;
    text-decoration: underline;
}

/* シリーズナビゲーション（記事冒頭用） */
.series-navigation {
    background: #f8f9fa;
    border-left: 4px solid #0066cc;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.series-navigation p strong {
    font-size: 1.1rem;
    color: #333;
    display: block;
    margin-bottom: 0.8rem;
}

.series-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.series-navigation li {
    margin: 0.5rem 0;
    padding-left: 0;
    line-height: 1.6;
}

.series-navigation a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.series-navigation a:hover {
    color: #004499;
    text-decoration: underline;
}

/* 次の記事ボックス（記事末尾用） */
.next-article {
    background: #e8f4f8;
    border: 2px solid #0066cc;
    padding: 1.5rem;
    margin: 3rem 0;
    text-align: center;
    border-radius: 8px;
}

.next-article p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.next-article p strong {
    font-size: 1.1rem;
    color: #333;
}

.next-article a {
    color: #0066cc;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s ease;
}

.next-article a:hover {
    color: #004499;
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .slider-subtitle {
        font-size: 0.85rem;
        line-height: 1.8;
    }
    
    .series-navigation {
        padding: 1.2rem;
        margin: 1.5rem 0;
    }
    
    .series-navigation p strong {
        font-size: 1rem;
    }
    
    .next-article {
        padding: 1.2rem;
        margin: 2rem 0;
    }
}

@media (max-width: 480px) {
    .slider-subtitle {
        font-size: 0.8rem;
    }
    
    .slider-subtitle a {
        display: block;
        padding: 0.3rem 0;
    }
    
    .series-navigation {
        padding: 1rem;
    }
    
    .series-navigation p strong {
        font-size: 0.95rem;
    }
    
    .series-navigation li {
        font-size: 0.9rem;
    }
    
    .next-article {
        padding: 1rem;
    }
    
    .next-article p strong {
        font-size: 1rem;
    }
}

/* 記事タグ表示の改善 */
.content-Tags {
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #3b82f6;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.content-Tags h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e40af;
    display: flex;
    align-items: center;
}

.content-Tags h4::before {
    content: "🏷️";
    margin-right: 8px;
    font-size: 18px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.tag-link {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
    border: 2px solid transparent;
}

.tag-link:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    color: white;
    text-decoration: none;
}

.tag-link:focus {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .content-Tags {
        margin: 20px 0;
        padding: 15px;
    }
    
    .content-Tags h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .tag-link {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .tag-list {
        gap: 6px;
    }
}

/* ========== Heading Hierarchy Structure ========== */
/* OK用 - 薄い青系統 */
.heading-structure {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #e3f2fd;
    border-left: 4px solid #0066cc;
    border-radius: 4px;
    font-family: 'Courier New', 'Osaka-mono', 'Monaco', monospace;
    font-size: 1.8rem;
    line-height: 1.8;
    overflow-x: auto;
}

/* NG用 - うっすらとした赤系統 */
.heading-structure-ng {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #ffebee;
    border-left: 4px solid #e91e63;
    border-radius: 4px;
    font-family: 'Courier New', 'Osaka-mono', 'Monaco', monospace;
    font-size: 1.8rem;
    line-height: 1.8;
    overflow-x: auto;
}

.heading-structure code,
.heading-structure-ng code {
    background: transparent;
    padding: 0;
    font-size: inherit;
}

/* スマホ画面での文字サイズ調整 */
@media (max-width: 768px) {
    .heading-structure,
    .heading-structure-ng {
        font-size: 1.2rem;
        padding: 1rem;
        margin: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .heading-structure,
    .heading-structure-ng {
        font-size: 1.0rem;
        padding: 0.8rem;
        margin: 1rem 0;
    }
}

/* ========================================
 * 業種別サンプルサイトグリッドレイアウト（完全新規作成）
 * ======================================== */

/* コンテナ：グリッドレイアウトを適用 */
#sample-sites .sample-sites-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 見出し（h3#sample-sites-heading）は全列にまたがる */
#sample-sites > div > h3#sample-sites-heading {
    grid-column: 1 / -1;
    margin: 0 0 30px 0;
}

/* 説明文（p）は全列にまたがる */
#sample-sites > div > p {
    grid-column: 1 / -1;
    margin: 0 0 25px 0;
}

/* 最初のアイテム（開始タグがない場合）：h3とdivを同じグリッド列に配置 */
#sample-sites > div > h3:not(#sample-sites-heading) {
    grid-column: span 1;
    grid-row: auto;
    background: white;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 15px 15px 10px;
    border-bottom: 2px solid #f0f0f0;
}

#sample-sites > div > h3:not(#sample-sites-heading) + div {
    grid-column: span 1;
    grid-row: auto;
    background: white;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin: -2px 0 25px 0;
    padding: 15px;
}

/* 最初のアイテム全体のホバー効果 */
#sample-sites > div > h3:not(#sample-sites-heading):hover,
#sample-sites > div > h3:not(#sample-sites-heading):hover + div {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* サンプルサイトアイテム（2つ目以降） */
.sample-site-item {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.sample-site-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* デスクトップ（1200px以上）：4列 */
@media (min-width: 1200px) {
    #sample-sites .sample-sites-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

/* タブレット（768px-1199px）：3列 */
@media (min-width: 768px) and (max-width: 1199px) {
    #sample-sites .sample-sites-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* スマホ（767px以下）：2列 */
@media (max-width: 767px) {
    #sample-sites .sample-sites-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }
    
    #sample-sites > div > h3:not(#sample-sites-heading) {
        font-size: 1rem;
        padding: 12px 12px 8px;
    }
    
    #sample-sites > div > h3:not(#sample-sites-heading) + div {
        padding: 12px;
    }
    
    .sample-site-item h3 {
        font-size: 1rem;
        padding: 12px 12px 8px;
    }
    
    .sample-site-item > div {
        padding: 12px;
    }
}



/* 最終調整：ヒーローh1のスマホサイズ */
@media (max-width: 768px) {
    body.home .hero h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    body.home .hero h1 {
        font-size: 1.3rem;
        line-height: 1.3;
    }
}

/* ========================================
 * ブログなどの写真説明（figcaption）を「ひとサイズ下げる」「斜体」に統一（強制適用）
 * ======================================== */
/* .wp-element-captionクラスを持つ要素に対して確実にスタイルを適用 */
figcaption.wp-element-caption,
.wp-element-caption,
.content-Body .wp-element-caption,
.content-Body figure .wp-element-caption,
.content-Body .wp-block-image .wp-element-caption,
.content-Body figcaption.wp-element-caption,
article .wp-element-caption,
article figure .wp-element-caption,
article .wp-block-image .wp-element-caption,
article figcaption.wp-element-caption,
main .wp-element-caption,
main figure .wp-element-caption,
main .wp-block-image .wp-element-caption,
main figcaption.wp-element-caption,
figure .wp-element-caption,
.wp-block-image .wp-element-caption,
.wp-block-image figcaption,
figure figcaption {
    font-size: 0.875em;
    font-style: italic;
    line-height: 1.5;
}

/* ========================================
 * figcaptionのスタイルを適用（WordPressデフォルトスタイルを上書き）
 * ======================================== */
.wp-block-image figcaption.wp-element-caption,
figure figcaption.wp-element-caption,
.wp-element-caption,
.content-Body .wp-block-image figcaption.wp-element-caption,
.content-Body figure figcaption.wp-element-caption,
.content-Body .wp-element-caption,
article .wp-block-image figcaption.wp-element-caption,
article figure figcaption.wp-element-caption,
article .wp-element-caption,
main .wp-block-image figcaption.wp-element-caption,
main figure figcaption.wp-element-caption,
main .wp-element-caption {
    font-size: 0.875em;
    font-style: italic;
    line-height: 1.5;
}



/* ============================================
   一人美容室・一人サロン記事 フロー図
   ============================================ */
.salon-flow-chart {
  font-size: 0.95em;
  margin: 2em 0;
  font-family: sans-serif;
}
.salon-flow-start {
  display: inline-block;
  background: #4a7c59;
  color: #fff;
  padding: 0.5em 1.5em;
  border-radius: 2em;
  font-weight: bold;
  margin-bottom: 0;
}
.salon-flow-chart .salon-flow-start a {
  color: #fff;
  color: rgba(255, 255, 255, 1);
  --ss-link-color-rgb: 255, 255, 255;
  --link-opacity: 1;
  text-decoration: none;
}
.salon-flow-chart .salon-flow-start a:hover {
  color: #fff;
  color: rgba(255, 255, 255, 1);
  text-decoration: underline;
}
.salon-flow-fork {
  margin-left: 1.2em;
  border-left: 2px solid #4a7c59;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.salon-flow-fork-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  padding: 0.6em 0;
  border-bottom: 1px dashed #c5d9c9;
}
.salon-flow-fork-row:last-child {
  border-bottom: none;
}
.salon-flow-fork-arrow {
  color: #4a7c59;
  font-weight: bold;
  white-space: nowrap;
  padding-top: 0.3em;
  flex-shrink: 0;
}
.salon-flow-branch {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  flex-wrap: wrap;
}
.salon-flow-label {
  background: #e8f0eb;
  color: #2d5a3d;
  padding: 0.3em 1em;
  border-radius: 1em;
  font-weight: bold;
  white-space: nowrap;
  flex-shrink: 0;
}
.salon-flow-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3em;
}
.salon-flow-steps span {
  background: #f5f5f5;
  border: 1px solid #ccc;
  padding: 0.3em 0.8em;
  border-radius: 1em;
  white-space: nowrap;
}
.salon-flow-steps span + span::before {
  content: "→ ";
  color: #4a7c59;
}
.salon-flow-steps .salon-flow-option {
  background: none;
  border: none;
  color: #888;
  font-size: 0.9em;
  padding: 0;
}
.salon-flow-steps .salon-flow-option::before {
  content: "";
}

/* ============================================
   お問い合わせボタン
   ============================================ */
.salon-contact-btn {
  display: inline-block;
  background: #4a7c59;
  color: #fff;
  padding: 0.8em 2em;
  border-radius: 2em;
  font-weight: bold;
  text-decoration: none;
  font-size: 1em;
  margin-top: 0.5em;
}
.salon-contact-btn:hover {
  background: #2d5a3d;
  color: #fff;
}
