@charset "UTF-8";

/* =========================================
   Single Post Custom Style (Sumi / Ink Design)
   ========================================= */

/* --- 1. レイアウト調整 --- */

/* 記事全体の幅制限 */
.custom-art-article {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 60px;
}

/* --- 2. アイキャッチ画像 (Hero Image) --- */
.art-hero-image {
    text-align: center;
    margin-bottom: 50px;
}

.art-hero-image img {
    width: 70%; /* アイキャッチは70%のまま維持（必要ならここも80%にしてください） */
    height: auto;
    display: inline-block;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-radius: 2px;
}

/* --- 3. メタ情報 (日付) --- */
.art-entry-meta {
    text-align: center;
    margin-bottom: 15px;
    font-family: 'Cormorant Garamond', serif;
    color: #888;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

/* --- 4. タイトル (H1) --- */
h1.art-entry-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: normal;
    margin-bottom: 60px;
    line-height: 1.3;
    color: #333;
    padding: 0 20px;
}

/* --- 5. 本文エリアの調整 --- */
.art-entry-content {
    margin-bottom: 60px;
    padding: 0 40px;
    line-height: 1.9;
    color: #444;
}

/* 本文内の通常画像 (imgタグ) のスタイル */
.art-entry-content img {
    display: block;
    margin: 50px auto; /* 上下に余白、左右中央 */

    /* ★修正: PCでは80% */
    width: 80%;

    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 2px;
}

/* --- 6. 見出しのデザイン --- */

/* H2: 墨のかすれ線をアンダーラインにする */
.art-entry-content h2 {
    font-size: 1.8rem;
    margin-top: 60px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
    border: none;
    font-weight: normal;
}

.art-entry-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(50, 50, 50, 0.8) 15%,
        rgba(0, 0, 0, 1) 50%,
        rgba(50, 50, 50, 0.8) 85%,
        rgba(0, 0, 0, 0) 100%
    );
    transform: rotate(-0.3deg);
    opacity: 0.6;
}

/* H3: 墨のドット（しずく）を先頭につける */
.art-entry-content h3 {
    position: relative;
    padding-left: 0.9em;
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 20px;
    border: none;
    font-weight: normal;
}

.art-entry-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #222;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    filter: blur(0.4px);
}

/* --- 7. 関連記事エリア --- */
.art-related-posts {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    padding-left: 20px;
    padding-right: 20px;
}

.related-title {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-family: sans-serif;
    letter-spacing: 0.1em;
    color: #666;
    text-transform: uppercase;
}

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

.related-item {
    text-align: center;
}

.related-thumb {
    display: block;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 4px;
}

.related-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
    box-shadow: none;
    display: block;
    margin: 0;
}

.related-thumb:hover img {
    transform: scale(1.05);
}

.related-link {
    display: block;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #333;
    text-decoration: none;
    margin-bottom: 5px;
}

.related-link:hover {
    color: #0073aa;
}

.related-date {
    font-size: 0.8rem;
    color: #999;
}

/* --- スマホ対応 (レスポンシブ) --- */
@media (max-width: 768px) {
    /* コンテンツ余白 */
    .art-entry-content {
        padding: 0 20px;
    }

    /* アイキャッチ画像: 90% */
    .art-hero-image img {
        width: 90%;
    }

    /* ★修正: 記事内の画像: 100% */
    .art-entry-content img {
        width: 100%;
    }

    h1.art-entry-title {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    .art-entry-content h2 {
        font-size: 1.5rem;
    }

    .art-entry-content h3 {
        font-size: 1.2rem;
    }

    .related-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
