@charset "UTF-8";

/* =========================================
   Global Styles (Header, Footer, Common)
   ========================================= */

/* 1. 変数定義 (トンマナ) */
:root {
    --primary-color: #0E4C5E; /* 濃いティールブルー */
    --primary-dark: #083240;
    --accent-color: #F39C12;  /* オレンジ */
    --text-main: #333333;
    --text-light: #666666;
    --bg-light: #F4F8FA;
    --white: #ffffff;
    --max-width: 1200px;
}

/* 2. 共通ユーティリティ */
.lp-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ボタン (Header/Footerで共通使用) */
.lp-btn, .lp-btn-outline, .lp-btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font-weight: 700;
    transition: all 0.3s ease;
    border-radius: 50px;
    line-height: 1;
    cursor: pointer;
}

/* アウトラインボタン（記事一覧など） */
.lp-btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 10px 25px;
    font-size: 0.9rem;
}
.lp-btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* アクセントボタン（CTAなど） */
.lp-btn-accent {
    background: var(--accent-color);
    color: var(--white);
    padding: 15px 40px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    border: none;
}
.lp-btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.4);
}


/* =========================================
   3. Header Styles (全ページ共通)
   ========================================= */
.lp-header {
    width: 100%;
    z-index: 1000;
    /* PHP側で position: relative; bg: #fff が指定されていますが、念のため */
    background: var(--white);
}

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

/* ロゴ */
.header-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%; /* 高さの中央揃え用 */
}

/* 画像サイズの制御 */
.header-logo img {
    height: 50px; /* PCでのロゴの高さ（ヘッダー80pxに対して適度なサイズ） */
    width: auto;  /* 横幅は比率を保って自動 */
    object-fit: contain;
}

/* スマホでのサイズ調整 */
@media (max-width: 991px) {
    .header-logo img {
        height: 40px; /* スマホヘッダー60pxに合わせて少し小さく */
    }
}

/* ナビゲーション (PC) */
.header-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.header-nav ul li a {
	color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.header-nav ul li a:hover {
    color: var(--primary-dark);
}

/* ナビのアクティブ/ホバー時の下線アニメーション */
.header-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}
.header-nav ul li a:hover::after {
    width: 100%;
}

/* ヘッダー右側のアクションボタンエリア */
.header-action {
    display: block;
}

.header-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 30px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}


/* =========================================
   4. Footer Styles (全ページ共通)
   ========================================= */
.custom-footer {
    background: var(--primary-dark);
    color: #e0e0e0;
	padding: 80px 0 30px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* 左を広く、右2つを等分 */
    gap: 60px;
    margin-bottom: 60px;
}

/* ブランドエリア */
.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-logo a {
	color: var(--white);
}
.footer-desc {
    opacity: 0.7;
    line-height: 1.8;
    font-size: 0.9rem;
}

/* リンクエリア */
.footer-links h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 700;
}
.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-links ul li {
    margin-bottom: 12px;
}
.footer-links ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateX(5px);
}
.footer-links ul li a i {
    font-size: 0.8em;
    color: var(--accent-color);
}

/* コピーライト */
.footer-copyright {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
}


/* =========================================
   5. Responsive (スマホ対応)
   ========================================= */
@media (max-width: 991px) {
    /* PC用ナビを隠す（必要に応じてハンバーガーメニュー実装が必要ですが、ひとまず隠します） */
    .header-nav {
        display: none;
    }
    
    /* ヘッダーの高さを少し縮める */
    .header-inner {
        height: 60px;
    }
    
    /* フッターを1カラムに */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}




/* -----------------------------------------
   記事詳細ページ(Single)の投稿者・By・/ を消す設定
----------------------------------------- */

/* 1. メタ情報エリア全体の文字を一旦「無」にする */
.single .entry-meta {
    font-size: 0 !important;
}

/* 2. 日付(.posted-on)だけ文字サイズを復活させる */
.single .entry-meta .posted-on {
    font-size: 0.8rem !important; /* 元のサイズに合わせて調整(0.8〜1rem) */
    display: inline-block;
}

/* 3. 投稿者名(.posted-by)は念のため非表示 */
.single .entry-meta .posted-by {
    display: none !important;
}

/* 4. もし日付の前に「/」等がくっついている場合の対策 */
.single .entry-meta .posted-on::before {
    content: none !important;
    display: none !important;
}





.ast-post-format-.blog-layout-4.ast-article-inner {
	background-color: var(--white);
}