@charset "UTF-8";

/* ==================================================
   1. 全体設定 (Base)
================================================== */
body { margin: 0; padding: 0; font-family: 'Noto Sans JP', sans-serif; color: #333333; background-color: #fcfcfc; line-height: 1.8; overflow-x: hidden; box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

/* ==================================================
   2. ヘッダー (Header)
================================================== */
header { display: flex; justify-content: space-between; align-items: center; padding: 10px 5%; background-color: rgba(255, 255, 255, 0.95); position: fixed; width: 100%; box-sizing: border-box; box-shadow: 0 2px 10px rgba(0,0,0,0.05); z-index: 1000; left: 0; top: 0; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; max-width: 70%; }
.logo img { height: 40px; width: auto; mix-blend-mode: multiply; }
.logo-text { font-family: 'Noto Serif JP', serif; font-size: 14px; font-weight: 700; color: #2c3e50; line-height: 1.2; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { text-decoration: none; color: #555; font-size: 14px; transition: color 0.3s ease; }
.nav-links a:hover { color: #bfa173; }
.btn-reserve { background-color: #bfa173; color: #ffffff !important; padding: 10px 20px; border-radius: 30px; font-weight: 500; }
.btn-line { background-color: #06C755; color: #ffffff !important; padding: 10px 20px; border-radius: 30px; font-weight: bold; }
.menu-toggle { display: none; flex-direction: column; cursor: pointer; gap: 5px; padding: 5px; }
.menu-toggle span { width: 24px; height: 2px; background-color: #2c3e50; transition: all 0.3s; }

/* ==================================================
   3. コラム一覧ページ (index.php)
================================================== */
.page-header { background-color: #2c3e50; padding: 120px 5% 50px; text-align: center; color: #fff; }
.page-header h1 { font-family: 'Noto Serif JP', serif; font-size: 28px; margin: 0 0 8px 0; }
.page-header p { color: #bfa173; font-size: 13px; letter-spacing: 2px; margin: 0; }

.column-container { max-width: 900px; margin: 40px auto 80px; padding: 0 5%; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }
.column-card { background: #ffffff; border: 1px solid #eaeaea; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.02); display: flex; flex-direction: column; }
.column-img { height: 160px; background-color: #f0ebe1; display: flex; align-items: center; justify-content: center; color: #888; font-size: 13px; overflow: hidden; }
.column-img img { width: 100%; height: 100%; object-fit: cover; }
.column-body { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.column-date { font-size: 12px; color: #888; margin-bottom: 6px; }
.column-title { font-family: 'Noto Serif JP', serif; font-size: 16px; color: #2c3e50; margin: 0 0 10px 0; line-height: 1.5; }
.column-title a { color: #2c3e50; text-decoration: none; }
.column-title a:hover { opacity: 0.8; }
.column-desc { font-size: 13px; color: #666; margin-bottom: 15px; flex-grow: 1; }
.column-link { color: #bfa173; font-size: 13px; font-weight: bold; text-decoration: none; }
.pagination { text-align: center; margin-bottom: 80px; }
.pagination .nav-links { display: inline-flex; justify-content: center; gap: 10px; }

/* ==================================================
   4. コラム詳細ページ (single.php)
================================================== */
.article-container { max-width: 800px; margin: 120px auto 80px; padding: 0 5%; background-color: #fff; border-radius: 8px; box-shadow: 0 2px 15px rgba(0,0,0,0.02); padding-bottom: 50px; }
.article-header { border-bottom: 1px solid #eee; padding: 40px 0 20px; margin-bottom: 30px; }
.article-date { color: #888; font-size: 13px; display: block; margin-bottom: 10px; }
.article-title { font-family: 'Noto Serif JP', serif; font-size: 24px; color: #2c3e50; margin: 0 0 20px 0; line-height: 1.5; }
.article-eyecatch { width: 100%; height: auto; max-height: 400px; object-fit: cover; border-radius: 8px; margin-bottom: 30px; background-color: #f0ebe1; }
.article-content { font-size: 15px; color: #444; }
.article-content img, .article-content figure { max-width: 100% !important; height: auto !important; }
.article-content h2 { font-family: 'Noto Serif JP', serif; font-size: 20px; color: #2c3e50; border-left: 4px solid #bfa173; padding-left: 12px; margin: 40px 0 20px; }
.article-content h3 { font-size: 18px; color: #2c3e50; margin: 30px 0 15px; }
.article-content p { margin-bottom: 20px; }
.article-content ul { padding-left: 20px; margin-bottom: 20px; }
.article-content li { margin-bottom: 10px; }
.article-content strong { color: #d9534f; font-weight: bold; }

/* ==================================================
   5. 予約CTA (記事下)
================================================== */
.reservation-cta { background-color: #fcf9f5; border: 1px solid #f0ebe1; padding: 40px 30px; text-align: center; border-radius: 8px; margin-top: 50px; }
.reservation-cta h3 { font-family: 'Noto Serif JP', serif; font-size: 18px; color: #2c3e50; margin-top: 0; margin-bottom: 20px; }
.cta-btn-group { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.cta-btn { display: inline-block; padding: 15px 40px; border-radius: 30px; text-decoration: none; font-weight: bold; font-size: 15px; transition: opacity 0.3s; min-width: 200px; }
.cta-btn:hover { opacity: 0.8; }
.cta-btn-web { background-color: #bfa173; color: #fff; box-shadow: 0 4px 10px rgba(191,161,115,0.3); }
.cta-btn-line { background-color: #06C755; color: #fff; box-shadow: 0 4px 10px rgba(6,199,85,0.3); }

/* ==================================================
   6. フッター (Footer)
================================================== */
footer { background-color: #2c3e50; color: #ffffff; text-align: center; padding: 30px 5%; font-size: 12px; padding-bottom: 90px; }
.footer-logo { font-family: 'Noto Serif JP', serif; font-size: 18px; margin-bottom: 12px; display: inline-flex; justify-content: center; align-items: center; gap: 15px; }
.footer-links { margin-bottom: 15px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.footer-links a { color: #ffffff; text-decoration: none; opacity: 0.8; font-size: 12px; }
.floating-line { position: fixed; bottom: 15px; right: 15px; background-color: #06C755; color: #ffffff; padding: 12px 20px; border-radius: 50px; text-decoration: none; font-size: 14px; font-weight: bold; box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4); z-index: 999; display: flex; align-items: center; gap: 6px; }

/* ==================================================
   7. スマホ用レスポンシブ (タブレット・スマホ対応)
================================================== */
@media (max-width: 768px) {
    /* ハンバーガーメニュー */
    .menu-toggle { display: flex !important; }
    
    /* ロゴ縮小 */
    .logo img { height: 32px !important; }
    .logo-text { font-size: 11px !important; }
    
    /* ヘッダーのナビゲーションのみを折りたたむ (header を明示してページネーションへの巻き込みを防止) */
    header .nav-links {
        position: fixed !important;
        top: 61px !important;
        left: 0 !important;
        width: 100% !important;
        background-color: rgba(255, 255, 255, 0.98) !important;
        flex-direction: column !important;
        padding: 10px 0 !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
        display: none !important;
        z-index: 999 !important;
    }
    
    /* 開閉用のクラス */
    header .nav-links.active { display: flex !important; }
    header .nav-links a {
        padding: 12px 20px !important;
        width: 100% !important;
        text-align: center !important;
        border-bottom: 1px solid #f0f0f0 !important;
        font-size: 15px !important;
    }
    
    /* ヘッダー帯調整 */
    .page-header { padding: 100px 5% 40px !important; }
    .page-header h1 { font-size: 22px !important; }

    /* コラム一覧を縦1列に */
    .column-container { display: block !important; }
    .column-card { margin-bottom: 25px !important; }

    /* ページネーション／もっと見るボタンのスマホ表示を確保 */
    .pagination {
        display: block !important;
        margin-bottom: 50px !important;
    }
    .pagination .nav-links {
        display: flex !important;
        position: static !important;
        width: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        flex-direction: row !important;
        justify-content: center !important;
        padding: 0 !important;
    }

    /* 記事詳細のレイアウト微調整 */
    .article-container { margin-top: 90px; padding: 0 20px 30px; }
    .article-title { font-size: 20px; }
    
    /* 記事下のボタンを横幅いっぱいにする */
    .cta-btn { width: 100%; margin-bottom: 10px; }
}