

/* ========================================
   ブログ詳細ページ - single.css
   和風居酒屋テイストに合わせたデザイン
   ======================================== */

/* メインコンテナ */
.news_single {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 投稿詳細ページだけ .key の背景を差し替える */
body.single-post #key {
    background-image: url('../img/index/key.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* タイトル */
main .news {
    margin-bottom: 60px;
}

.news_single__title {
    font-size: 28px;
    line-height: 1.5;
    margin: 0 0 20px;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.02em;
    padding: 50px 0px 0px;
}

/* 日付＋カテゴリエリア */
.news_single__meta {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 14px;
    color: #777;
    margin-bottom: 30px;
}

.news_date {
    display: flex;
    align-items: center;
    gap: 6px;
}




/* サムネイル画像 */
.news_single .thumb {
    margin: 0 0 40px;
    overflow: hidden;
    border-radius: 0 0 8px 8px;
}

.news_single .thumb img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* 本文エリア */
.news_single__content {
    padding: 40px 0px 20px;
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}

.news_single__content p {
    margin-bottom: 1.8em;
    line-height: 1.9;
}

.news_single__content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 2em 0 1em;
    padding-bottom: 0.5em;
    border-bottom: 3px solid #C2185B;
    color: #333;
}

.news_single__content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 1.8em 0 1em;
    padding-left: 12px;
    border-left: 4px solid #C2185B;
    color: #333;
}

.news_single__content ul,
.news_single__content ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.news_single__content li {
    margin-bottom: 0.8em;
    line-height: 1.8;
}

.news_single__content blockquote {
    margin: 2em 0;
    padding: 20px 24px;
    background: #f9f9f9;
    border-left: 4px solid #C2185B;
    font-style: italic;
    color: #555;
}

.news_single__content img {
    max-width: 100%;
    height: auto;
    margin: 2em 0;
    border-radius: 4px;
}

/* 記事下のアクションエリア */
.news_single__footer {
    padding: 30px 40px 40px;
    border-top: 2px solid #f4f4f4;
}

/* シェアボタンエリア */
.news_single__share {
    margin-bottom: 30px;
}

.news_single__share-title {
    font-size: 14px;
    font-weight: 700;
    color: #777;
    margin-bottom: 12px;
    text-align: center;
}

.news_single__share-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn.line {
    background: #00B900;
    padding: 0;
}
/* 追加 11月26日　小河原貫志*/
.wrap,.clearfix {
    display: flex;
    gap: 16px;  
}
/* 追加 11月26日　小河原貫志*/
.wrap,.clearfix .tel,.txt {
    margin: 15px auto; 
}
/* 追加 11月26日　小河原貫志*/
footer .tel {
    margin-top: 45px;
}
/* 前後記事ナビゲーション */
.news_single__nav {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}
.nav-item {
    flex: 1;
    min-width: 0;
}

.nav-item a {
    display: block;
    padding: 16px 20px;
    background: #f9f9f9;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-item a:hover {
    background: #fff;
    border-color: #C2185B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(194, 24, 91, 0.1);
}

.nav-label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
    font-weight: 600;
}

.nav-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 一覧に戻るボタン */
.news_single__back {
    margin: 0;
    text-align: center;
}

.news_single__back a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid #C2185B;
    background: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: #C2185B;
    transition: all 0.3s ease;
}

.news_single__back a::before {
    content: "←";
    font-size: 18px;
}

.news_single__back a:hover {
    background: #C2185B;
    color: #fff;
    transform: translateX(-4px);
    box-shadow: 0 4px 16px rgba(194, 24, 91, 0.2);
}

.nav-inline ul {
	display: flex;
    justify-content: center;
    gap: 10px;
}
/* 追加 12月5日　小河原貫志*/
.nav-inline ul li a {
	color: #8e8e8e;
}
#pagetop.visible {
    position: fixed;
    right: 10px;
    bottom: 10px;
	z-index: 999;
	cursor: pointer;
}
/* ========================================
   レスポンシブデザイン
   ======================================== */

@media screen and (max-width: 768px) {
    .news_single {
        margin-bottom: 40px;
        border-radius: 0;
    }

    .news_single__header {
        padding: 24px 20px 0;
    }

    .news_single__title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .news_single__meta {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .news_single .thumb {
        margin-bottom: 24px;
        border-radius: 0;
    }

    .news_single__content {
        padding: 24px 20px 16px;
        font-size: 15px;
    }

    .news_single__content h2 {
        font-size: 20px;
    }

    .news_single__content h3 {
        font-size: 18px;
    }

    .news_single__footer {
        padding: 20px 20px 30px;
    }

    .news_single__nav {
        flex-direction: column;
        gap: 12px;
    }

    .nav-item a {
        padding: 12px 16px;
    }

    .news_single__back a {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ========================================
   印刷用スタイル
   ======================================== */

@media print {
    .news_single__share,
    .news_single__nav,
    .news_single__back {
        display: none;
    }

    .news_single {
        box-shadow: none;
    }
}