/*
Theme Name: Talent Personal Theme
Description: タレント個人用特設サイトテーマ
Author: Your Name
Version: 1.0
*/

/* =========================================
全体共通のスタイル
========================================= */
body {
font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
line-height: 1.6;
color: #333;
background-color: #fefefe;
margin: 0;
padding: 0;
}

.container {
max-width: 1000px; /* 個人サイトは少し幅を狭めて集中させる */
margin: 0 auto;
padding: 40px 20px;
}

img {
max-width: 100%;
height: auto;
}

/* =========================================
ヒーローエリア（ファーストビュー）
========================================= /
.hero-section {
position: relative;
width: 100%;
height: 70vh; / 画面の70%の高さ */
background-size: cover;
background-position: center top;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}

/* 写真の上のモヤ（文字を見やすくする） */
.hero-overlay {
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
background: rgba(255, 255, 255, 0.3);
}

.hero-content {
position: relative;
z-index: 1;
color: #333;
text-shadow: 0 2px 4px rgba(255,255,255,0.8);
}

.hero-title {
font-size: 3rem;
margin: 0;
letter-spacing: 2px;
}

.hero-subtitle {
font-size: 1.2rem;
margin-top: 10px;
font-weight: bold;
}

/* =========================================
各セクション共通タイトル
========================================= */
.section-title {
text-align: center;
font-size: 2rem;
margin-bottom: 40px;
letter-spacing: 2px;
position: relative;
}
.section-title::after {
content: '';
display: block;
width: 50px;
height: 3px;
background: #333;
margin: 15px auto 0;
}

/* =========================================
プロフィールセクション
========================================= */
.profile-wrap {
display: flex;
flex-direction: column;
gap: 30px;
align-items: center;
}

@media (min-width: 768px) {
.profile-wrap {
flex-direction: row;
align-items: flex-start;
}
.profile-image {
flex: 1;
}
.profile-text {
flex: 1;
}
}

.profile-image img {
border-radius: 12px;
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.profile-text h3 {
font-size: 1.8rem;
border-bottom: 1px solid #ddd;
padding-bottom: 10px;
margin-top: 0;
}

/* =========================================
ブログ・お知らせリスト
========================================= */
.post-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 25px;
}

.post-card {
display: block;
text-decoration: none;
color: inherit;
background: #fff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
transition: transform 0.2s, box-shadow 0.2s;
}

.post-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 画像の枠を16:9に固定 */
.post-thumb {
width: 100%;
aspect-ratio: 16 / 9;
overflow: hidden;
background-color: #f5f5f5;
}

/* 枠いっぱいに広げてはみ出た部分をトリミング */
.post-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.post-info {
padding: 15px;
}

.post-date {
font-size: 0.85rem;
color: #888;
margin-bottom: 5px;
}

.post-title {
font-size: 1.1rem;
margin: 0;
line-height: 1.4;
}

/* =========================================
フッター
========================================= */
.site-footer {
background: #222;
color: #fff;
text-align: center;
padding: 40px 20px;
margin-top: 60px;
}

.footer-sns {
display: flex;
justify-content: center;
gap: 20px;
margin-bottom: 20px;
}

.footer-sns a {
color: #fff;
text-decoration: none;
font-weight: bold;
transition: opacity 0.2s;
}
.footer-sns a:hover {
opacity: 0.7;
}
/* =========================================
   投稿（ブログ記事）詳細ページのスタイル
========================================= */

/* 記事全体のレイアウト */
.single-post-container {
    max-width: 800px; /* 記事は少し幅を狭めると読みやすくなります */
    margin: 0 auto;
    padding: 40px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* 記事のヘッダー（タイトルや日付） */
.post-header {
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.post-header h1 {
    font-size: 2.2rem;
    margin: 0 0 15px 0;
    line-height: 1.4;
    color: #333;
}

.post-meta {
    font-size: 0.9rem;
    color: #888;
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* 記事内のアイキャッチ画像 */
.post-main-image {
    margin-bottom: 30px;
    text-align: center;
}

.post-main-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 記事本文（ブロックエディタの出力内容）のデザイン */
.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.post-content h2 {
    font-size: 1.5rem;
    color: #333;
    border-left: 5px solid #0073aa; /* アクセントカラー（お好みで変更してください） */
    padding-left: 15px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-content h3 {
    font-size: 1.3rem;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-content p {
    margin-bottom: 25px;
}

/* 記事内の画像（本文に挿入されたもの） */
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 20px 0;
    display: block;
}

/* 引用ブロック */
.post-content blockquote {
    margin: 30px 0;
    padding: 15px 20px;
    background: #f9f9f9;
    border-left: 4px solid #ccc;
    font-style: italic;
    color: #666;
}

/* 前後の記事へのリンク（ナビゲーション） */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-navigation a {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.2s;
}

.post-navigation a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* スマホ用の調整 */
@media (max-width: 767px) {
    .post-header h1 {
        font-size: 1.6rem;
    }
    .post-content {
        font-size: 1rem;
    }
    .post-content h2 {
        font-size: 1.3rem;
    }
    .post-navigation {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}