@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/*
Theme Name: SWELL CHILD
Template: swell
Version: 1.0.0
*/

/* ========================================
   投稿ページのスタイル修正
======================================== */

/* 記事コンテンツの基本設定 */
.post article {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 記事タイトル */
.post .entry-header {
    margin-bottom: 30px;
}

.post .entry-title {
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #333;
}

/* メタ情報 */
.post .post-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.post .post-meta time,
.post .post-meta .category {
    font-size: 14px;
    color: #666;
}

/* 本文 */
.post .entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.post .entry-content p {
    margin-bottom: 1.5em;
}

.post .entry-content h2 {
    font-size: 28px;
    margin: 50px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #4A90E2;
}

.post .entry-content h3 {
    font-size: 24px;
    margin: 40px 0 15px;
    padding-left: 15px;
    border-left: 4px solid #4A90E2;
}

/* ソーシャルボタンの修正 */
.swell-block-postShare {
    position: static !important;
    width: 100% !important;
    max-width: 800px !important;
    margin: 40px auto !important;
    padding: 30px 0 !important;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.swell-block-postShare__title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 16px;
    color: #666;
}

.swell-block-postShare__list {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.swell-block-postShare__list li {
    position: static !important;
    margin: 0 !important;
    width: auto !important;
}

.swell-block-postShare__list a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    padding: 0 15px;
    border-radius: 8px;
    transition: all 0.3s;
}

.swell-block-postShare__list a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 固定サイドバーのソーシャルボタンを非表示 */
.p-fixBtns {
    display: none !important;
}

/* 著者情報 */
.author-box {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
}

.author-box .author-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* 関連記事 */
.related-posts {
    max-width: 800px;
    margin: 60px auto;
}

.related-posts h2 {
    font-size: 24px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .post article {
        padding: 20px 15px;
    }
    
    .post .entry-title {
        font-size: 24px;
    }
    
    .post .entry-content {
        font-size: 15px;
    }
    
    .post .entry-content h2 {
        font-size: 22px;
    }
    
    .post .entry-content h3 {
        font-size: 20px;
    }
    
    .swell-block-postShare__list {
        gap: 8px !important;
    }
    
    .swell-block-postShare__list a {
        min-width: 45px;
        height: 45px;
        padding: 0 10px;
    }
}

/* ========================================
   その他のページの調整
======================================== */

/* コンテンツ幅の統一 */
.content-width,
.area-container,
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ページタイトル */
.page-title,
.archive-title {
    font-size: 32px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #4A90E2;
}

/* リンクの基本スタイル */
a {
    color: #4A90E2;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #357ABD;
    text-decoration: underline;
}

/* ボタンの基本スタイル */
.btn,
button[type="submit"] {
    display: inline-block;
    padding: 12px 30px;
    background: #4A90E2;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover,
button[type="submit"]:hover {
    background: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

/* ========================================
   投稿ページ専用スタイル
======================================== */

/* メインコンテナ */
.single-post {
    background: #f9f9f9;
}

.single-post .l-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 記事本体 */
.post-article {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* 記事ヘッダー */
.post-header {
    padding: 40px 40px 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.post-categories {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.post-category {
    padding: 6px 14px;
    background: #fff;
    color: #4A90E2;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s;
}

.post-category:hover {
    background: #4A90E2;
    color: #fff;
    transform: translateY(-2px);
}

.post-title {
    font-size: 36px;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
}

.post-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #666;
}

.post-meta .icon {
    margin-right: 4px;
}

/* アイキャッチ画像 */
.post-thumbnail {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 記事本文 */
.post-content {
    padding: 40px;
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

.post-content p {
    margin-bottom: 1.5em;
}

.post-content h2 {
    font-size: 28px;
    margin: 50px 0 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #4A90E2;
    color: #333;
    font-weight: 700;
}

.post-content h3 {
    font-size: 24px;
    margin: 40px 0 15px;
    padding-left: 18px;
    border-left: 5px solid #4A90E2;
    color: #333;
    font-weight: 700;
}

.post-content h4 {
    font-size: 20px;
    margin: 30px 0 12px;
    color: #333;
    font-weight: 700;
}

.post-content ul,
.post-content ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.post-content li {
    margin-bottom: 0.5em;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2em 0;
}

.post-content blockquote {
    margin: 2em 0;
    padding: 20px 30px;
    background: #f5f7fa;
    border-left: 5px solid #4A90E2;
    border-radius: 4px;
}

.post-content code {
    padding: 2px 6px;
    background: #f4f4f4;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.post-content pre {
    padding: 20px;
    background: #282c34;
    color: #abb2bf;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2em 0;
}

.post-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* タグ */
.post-tags {
    padding: 30px 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.tags-label {
    font-weight: 700;
    color: #666;
}

.post-tag {
    padding: 6px 14px;
    background: #f0f7ff;
    color: #4A90E2;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s;
}

.post-tag:hover {
    background: #4A90E2;
    color: #fff;
    transform: translateY(-2px);
}

/* ソーシャルシェア */
.post-share {
    padding: 40px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-top: 1px solid #e0e0e0;
}

.share-title {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.share-twitter:hover {
    background: #1DA1F2;
    color: #fff;
    border-color: #1DA1F2;
}

.share-facebook:hover {
    background: #1877F2;
    color: #fff;
    border-color: #1877F2;
}

.share-line:hover {
    background: #00B900;
    color: #fff;
    border-color: #00B900;
}

.share-copy:hover {
    background: #6c757d;
    color: #fff;
    border-color: #6c757d;
}

/* 著者情報 */
.post-author {
    display: flex;
    gap: 20px;
    padding: 40px;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.author-bio {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* 前後の記事ナビゲーション */
.post-navigation {
    margin: 40px 0;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nav-previous,
.nav-next {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.nav-previous:hover,
.nav-next:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.nav-previous a,
.nav-next a {
    display: flex;
    flex-direction: column;
    padding: 24px;
    text-decoration: none;
    height: 100%;
}

.nav-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
    font-weight: 600;
}

.nav-title {
    font-size: 16px;
    color: #333;
    font-weight: 700;
    line-height: 1.4;
}

.nav-next {
    text-align: right;
}

/* 関連記事 */
.related-posts {
    margin: 40px 0;
}

.related-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #4A90E2;
    color: #333;
    font-weight: 700;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.related-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.related-link {
    display: block;
    text-decoration: none;
}

.related-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.related-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-item:hover .related-thumbnail img {
    transform: scale(1.1);
}

.related-content {
    padding: 20px;
}

.related-item-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #333;
}

.related-date {
    font-size: 13px;
    color: #999;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .single-post .l-container {
        padding: 0 10px;
    }
    
    .post-header {
        padding: 30px 20px 20px;
    }
    
    .post-title {
        font-size: 26px;
    }
    
    .post-content {
        padding: 30px 20px;
        font-size: 16px;
    }
    
    .post-content h2 {
        font-size: 24px;
    }
    
    .post-content h3 {
        font-size: 20px;
    }
    
    .post-tags,
    .post-share,
    .post-author {
        padding: 30px 20px;
    }
    
    .share-buttons {
        gap: 8px;
    }
    
    .share-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   共通ヘッダー
======================================== */

.site-header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.site-branding {
    flex-shrink: 0;
}

.site-logo {
    font-size: 24px;
    font-weight: 700;
    color: #4A90E2;
    text-decoration: none;
    transition: color 0.3s;
}

.site-logo:hover {
    color: #357ABD;
}

.main-nav {
    display: none;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #4A90E2;
}

/* モバイルメニューボタン */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s;
    overflow-y: auto;
    z-index: 999;
}

.mobile-menu.is-active {
    transform: translateX(0);
}

.mobile-nav-menu {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid #e0e0e0;
}

.mobile-nav-menu a {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

.mobile-nav-menu a:hover {
    color: #4A90E2;
}

/* デスクトップ表示 */
@media (min-width: 769px) {
    .main-nav {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .mobile-menu {
        display: none;
    }
}

/* ========================================
   共通フッター
======================================== */

.site-footer {
    background: #2c3e50;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

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

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: #fff;
}

.footer-description {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

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

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ========================================
   ボディの調整
======================================== */

body.menu-open {
    overflow: hidden;
}

/* コンテンツの最小高さを確保 */
main {
    min-height: calc(100vh - 70px - 300px);
}



/* ========================================
   投稿ページ専用スタイル - SWELL対応版
======================================== */

/* 背景を設定 */
body.single,
body.single-post {
    background: #f5f5f5 !important;
}

/* メインコンテナの調整 */
body.single .l-content,
body.single .l-mainArea,
body.single .l-main {
    max-width: 100% !important;
    background: transparent !important;
}

/* サイドバーを非表示 */
body.single .l-sidebar,
body.single aside.l-sidebar {
    display: none !important;
}

/* メインエリアを全幅に */
body.single .l-mainArea {
    grid-template-columns: 1fr !important;
}

/* 記事本体を中央配置 */
body.single .p-article,
body.single article {
    max-width: 900px !important;
    margin: 0 auto !important;
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
}

/* 記事ヘッダー */
body.single .p-article__header {
    padding: 40px !important;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%) !important;
    margin: 0 !important;
}

body.single .p-article__title {
    font-size: 32px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    margin-bottom: 20px !important;
    color: #333 !important;
}

/* カテゴリー */
body.single .p-article__cat {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-bottom: 15px !important;
}

body.single .p-article__cat a {
    padding: 6px 14px !important;
    background: #fff !important;
    color: #4A90E2 !important;
    font-size: 13px !important;
    border-radius: 20px !important;
}

/* メタ情報 */
body.single .p-postMeta {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    font-size: 14px !important;
    color: #666 !important;
}

/* アイキャッチ画像 */
body.single .p-article__thumbnail {
    margin: 0 !important;
    max-height: 500px !important;
    overflow: hidden !important;
}

/* 記事本文 */
body.single .p-article__body,
body.single .p-article__content {
    padding: 40px !important;
    font-size: 17px !important;
    line-height: 1.8 !important;
}

body.single .p-article__content h2 {
    font-size: 28px !important;
    margin: 50px 0 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 3px solid #4A90E2 !important;
}

body.single .p-article__content h3 {
    font-size: 24px !important;
    margin: 40px 0 15px !important;
    padding-left: 18px !important;
    border-left: 5px solid #4A90E2 !important;
}

/* ソーシャルボタンの完全修正 */
body.single .swell-block-postShare,
body.single .p-shareButtons {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 40px !important;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%) !important;
    border-top: 1px solid #e0e0e0 !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
}

body.single .swell-block-postShare__title,
body.single .p-shareButtons__title {
    text-align: center !important;
    font-size: 18px !important;
    margin-bottom: 20px !important;
}

body.single .swell-block-postShare__list,
body.single .p-shareButtons__list {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.single .swell-block-postShare__list li,
body.single .p-shareButtons__list li {
    position: static !important;
    width: auto !important;
    margin: 0 !important;
}

body.single .swell-block-postShare__list a,
body.single .p-shareButtons__list a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 120px !important;
    height: 50px !important;
    padding: 0 20px !important;
    border-radius: 25px !important;
}

/* 固定ソーシャルボタンを完全非表示 */
body.single .p-fixBtns,
body.single .swell-block-postShare.is-fix,
body.single .p-shareButtons--fix {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* タグ */
body.single .p-article__tags {
    padding: 30px 40px !important;
    border-top: 1px solid #e0e0e0 !important;
}

/* 著者情報 */
body.single .p-authorBox {
    max-width: 900px !important;
    margin: 40px auto !important;
    border-radius: 12px !important;
}

/* 前後の記事ナビゲーション */
body.single .p-articleNav {
    max-width: 900px !important;
    margin: 40px auto !important;
}

/* 関連記事 */
body.single .p-relatedPosts {
    max-width: 900px !important;
    margin: 60px auto 80px !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    body.single .p-article,
    body.single article {
        margin: 20px 10px !important;
        border-radius: 8px !important;
    }
    
    body.single .p-article__header {
        padding: 30px 20px !important;
    }
    
    body.single .p-article__title {
        font-size: 24px !important;
    }
    
    body.single .p-article__body,
    body.single .p-article__content {
        padding: 30px 20px !important;
        font-size: 16px !important;
    }
    
    body.single .p-article__content h2 {
        font-size: 22px !important;
    }
    
    body.single .p-article__content h3 {
        font-size: 20px !important;
    }
    
    body.single .swell-block-postShare,
    body.single .p-shareButtons {
        padding: 30px 20px !important;
    }
    
    body.single .swell-block-postShare__list a,
    body.single .p-shareButtons__list a {
        min-width: 100px !important;
        height: 45px !important;
        font-size: 14px !important;
    }
}


/* ========================================
   エリアページ専用スタイル
======================================== */

/* メインコンテナ */
.area-page {
    background: #f5f5f5;
    min-height: 100vh;
    padding: 40px 0;
}

.area-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* パンくずリスト */
.area-breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
}

.area-breadcrumb a {
    color: #666;
    text-decoration: none;
}

.area-breadcrumb a:hover {
    color: #4A90E2;
    text-decoration: underline;
}

/* ページヘッダー */
.area-page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.area-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.area-page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.area-clinic-count {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.count-number {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 5px;
}

/* コンテンツラッパー */
.area-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

/* ジャンル切り替え */
.genre-switch-section {
    margin-bottom: 40px;
}

/* セクション共通 */
.area-intro-section,
.treatment-info-section,
.clinics-list-section,
.child-areas-section,
.selection-points-section,
.price-section,
.faq-section,
.summary-section {
    margin-bottom: 60px;
}

/* コンテンツカード */
.content-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* セクション見出し */
.section-heading {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
}

.heading-icon {
    font-size: 32px;
}

/* セクション本文 */
.section-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.section-body p {
    margin-bottom: 1.5em;
}

/* 治療タイプ */
.treatment-types {
    margin: 40px 0;
}

.subsection-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.treatment-item {
    padding: 24px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.treatment-item:hover {
    border-color: #4A90E2;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.2);
}

.treatment-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #4A90E2;
}

.treatment-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* おすすめな方 */
.recommended-for {
    margin: 40px 0;
    padding: 30px;
    background: #f0f7ff;
    border-radius: 8px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #333;
}

.check-icon {
    color: #4A90E2;
    font-weight: 700;
    font-size: 18px;
}

/* クリニック一覧 */
.clinics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.clinic-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.clinic-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.clinic-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.clinic-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.clinic-card:hover .clinic-thumbnail img {
    transform: scale(1.1);
}

.clinic-info {
    padding: 20px;
}

.clinic-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.clinic-name a {
    color: #333;
    text-decoration: none;
}

.clinic-name a:hover {
    color: #4A90E2;
}

.clinic-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #4A90E2;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.clinic-btn:hover {
    background: #357ABD;
    transform: translateX(4px);
}

.btn-arrow {
    transition: transform 0.3s;
}

.clinic-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* 子エリア */
.child-areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.child-area-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #fff;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    text-decoration: none;
    transition: all 0.3s;
}

.child-area-card:hover {
    border-color: #4A90E2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.child-area-name {
    font-weight: 600;
    color: #333;
}

.child-area-count {
    font-size: 14px;
    color: #666;
    background: #f0f7ff;
    padding: 4px 12px;
    border-radius: 12px;
}

.child-area-arrow {
    color: #4A90E2;
    font-weight: 700;
}

/* ポイント */
.points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.point-card {
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.point-card:hover {
    border-color: #4A90E2;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.15);
}

.point-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.point-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.point-text {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

/* 料金表 */
.price-note {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    padding: 15px;
    background: #fff9e6;
    border-left: 4px solid #ffa500;
    border-radius: 4px;
}

.price-table {
    margin-top: 30px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.3s;
}

.price-row:hover {
    background: #f9f9f9;
}

.price-row:last-child {
    border-bottom: none;
}

.price-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.price-value {
    font-size: 18px;
    font-weight: 700;
    color: #4A90E2;
}

/* FAQ */
.faq-list {
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 30px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
    border-left: 4px solid #4A90E2;
}

.faq-q,
.faq-a {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.faq-q {
    margin-bottom: 15px;
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.q-icon {
    background: #4A90E2;
    color: #fff;
}

.a-icon {
    background: #52c41a;
    color: #fff;
}

.faq-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}

.faq-q .faq-text {
    font-weight: 600;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .area-page {
        padding: 20px 0;
    }
    
    .area-page-header {
        padding: 40px 20px;
        border-radius: 12px;
    }
    
    .area-page-title {
        font-size: 24px;
    }
    
    .area-icon {
        font-size: 36px;
    }
    
    .content-card {
        padding: 24px;
    }
    
    .section-heading {
        font-size: 22px;
    }
    
    .treatment-grid {
        grid-template-columns: 1fr;
    }
    
    .clinics-grid {
        grid-template-columns: 1fr;
    }
    
    .child-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .points-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-item {
        padding: 20px;
    }
}

/* ========================================
   エリアページ - 以前のデザイン
======================================== */

.p-area {
    padding: 40px 0;
    background: #fff;
}

.p-area__header {
    text-align: center;
    margin-bottom: 40px;
}

.p-area__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.p-area__count {
    font-size: 16px;
    color: #666;
}

.p-area__subtitle {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #4A90E2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.p-area__subtitle .icon {
    font-size: 28px;
}

/* タブ */
.p-area__tabs {
    margin-bottom: 40px;
}

/* コンテンツボックス */
.p-area__content {
    margin-bottom: 50px;
}

.content-box {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.content-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-title .icon {
    font-size: 28px;
}

.content-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.content-body p {
    margin-bottom: 1.5em;
}

.content-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 15px;
    color: #333;
}

.treatment-list,
.check-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.treatment-list li,
.check-list li {
    padding: 12px 0;
    padding-left: 25px;
    position: relative;
}

.treatment-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #4A90E2;
    font-weight: 700;
}

.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #52c41a;
    font-weight: 700;
}

.point-list {
    counter-reset: point-counter;
    list-style: none;
    padding: 0;
}

.point-list li {
    counter-increment: point-counter;
    padding: 20px 0;
    padding-left: 40px;
    position: relative;
    border-bottom: 1px solid #e0e0e0;
}

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

.point-list li:before {
    content: counter(point-counter);
    position: absolute;
    left: 0;
    top: 20px;
    width: 30px;
    height: 30px;
    background: #4A90E2;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.note {
    padding: 15px;
    background: #fff9e6;
    border-left: 4px solid #ffa500;
    margin-bottom: 20px;
    font-size: 14px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.price-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.price-table td.price {
    text-align: right;
    font-weight: 700;
    color: #4A90E2;
    font-size: 18px;
}

.faq-list {
    margin: 20px 0;
}

.faq-list dt {
    font-weight: 700;
    padding: 15px 0;
    color: #333;
    font-size: 16px;
}

.faq-list dd {
    padding: 0 0 20px 20px;
    margin: 0;
    color: #666;
    line-height: 1.7;
}

/* クリニック一覧 */
.p-area__clinics {
    margin-bottom: 60px;
}

.p-clinicList {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.c-clinicCard {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.c-clinicCard:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.c-clinicCard__thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.c-clinicCard__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.c-clinicCard:hover .c-clinicCard__thumb img {
    transform: scale(1.1);
}

.c-clinicCard__body {
    padding: 20px;
}

.c-clinicCard__area {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.c-clinicCard__area .icon {
    font-size: 16px;
}

.c-clinicCard__name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.c-clinicCard__name a {
    color: #333;
    text-decoration: none;
}

.c-clinicCard__name a:hover {
    color: #4A90E2;
}

.c-clinicCard__tags {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.c-clinicCard__tags .tag {
    padding: 4px 12px;
    background: #f0f7ff;
    color: #4A90E2;
    font-size: 12px;
    border-radius: 12px;
    font-weight: 600;
}

.c-clinicCard__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #4A90E2;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.c-clinicCard__btn:hover {
    background: #357ABD;
}

.c-clinicCard__btn .arrow {
    transition: transform 0.3s;
}

.c-clinicCard__btn:hover .arrow {
    transform: translateX(4px);
}

/* 子エリア */
.p-area__children {
    margin-bottom: 60px;
}

.p-areaList {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.c-areaCard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #fff;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    text-decoration: none;
    transition: all 0.3s;
}

.c-areaCard:hover {
    border-color: #4A90E2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.c-areaCard__name {
    font-weight: 600;
    color: #333;
}

.c-areaCard__count {
    font-size: 14px;
    color: #666;
    background: #f0f7ff;
    padding: 4px 12px;
    border-radius: 12px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .p-area__title {
        font-size: 24px;
    }
    
    .content-box {
        padding: 24px;
    }
    
    .p-clinicList {
        grid-template-columns: 1fr;
    }
    
    .p-areaList {
        grid-template-columns: repeat(2, 1fr);
    }
}


.area-content-section {
    margin-bottom: 50px;
}

.content-box {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.content-box-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 3px solid #4A90E2;
}

.content-box-title .icon {
    font-size: 28px;
}

.content-box-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.content-box-body p {
    margin-bottom: 1.5em;
}

.content-box-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 15px;
    padding-left: 12px;
    border-left: 4px solid #4A90E2;
    color: #333;
}

/* リスト */
.method-list,
.recommend-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.method-list li,
.recommend-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    line-height: 1.7;
}

.method-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #4A90E2;
    font-weight: 700;
    font-size: 18px;
}

.recommend-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #52c41a;
    font-weight: 700;
    font-size: 18px;
}

/* ポイントリスト */
.point-list {
    counter-reset: point-counter;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.point-list li {
    counter-increment: point-counter;
    padding: 20px 0 20px 50px;
    position: relative;
    border-bottom: 1px solid #e0e0e0;
}

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

.point-list li:before {
    content: counter(point-counter);
    position: absolute;
    left: 0;
    top: 20px;
    width: 35px;
    height: 35px;
    background: #4A90E2;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.point-list strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

/* 注意書き */
.note-text {
    padding: 15px 20px;
    background: #fff9e6;
    border-left: 4px solid #ffa500;
    margin-bottom: 25px;
    font-size: 14px;
    color: #666;
    border-radius: 4px;
}

/* 料金表 */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.price-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.price-table tbody tr:last-child {
    border-bottom: none;
}

.price-table td {
    padding: 18px 20px;
}

.price-table td:first-child {
    font-weight: 600;
    color: #333;
}

.price-table td.price {
    text-align: right;
    font-weight: 700;
    color: #4A90E2;
    font-size: 18px;
}

/* FAQ */
.faq-list {
    margin: 20px 0;
}

.faq-list dt {
    font-weight: 700;
    padding: 18px 20px;
    background: #fff;
    color: #333;
    font-size: 16px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid #4A90E2;
}

.faq-list dd {
    padding: 0 20px 25px 24px;
    margin: 0;
    color: #666;
    line-height: 1.8;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .content-box {
        padding: 24px;
    }
    
    .content-box-title {
        font-size: 20px;
    }
    
    .content-box-body h3 {
        font-size: 18px;
    }
    
    .point-list li {
        padding-left: 45px;
    }
    
    .point-list li:before {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .price-table td {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .price-table td.price {
        font-size: 16px;
    }
}



/* ========================================
   パンくずリスト
======================================== */

.breadcrumb {
    margin-bottom: 24px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb-item {
    display: inline;
}

.breadcrumb-item a {
    color: #4A90E2;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: #2d5fa8;
    text-decoration: underline;
}

.breadcrumb-current {
    color: #666;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #ccc;
}

/* タイトル */
.area-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.area-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .area-title {
        font-size: 24px;
    }
}