/*
Theme Name: Yasuaki Oshika Official
Author: (Your Name)
Description: A custom theme for Yasuaki Oshika's official website.
Version: 1.0
*/

/* ==========================================================================
   完全統合版 style.css
   ジャーナリスト・ミニマリズムスタイル
   ========================================================================== */
/* 1. フォント・基本設定
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600;700&family=Noto+Sans+JP:wght@400;700&display=swap');

html {
    scroll-behavior: smooth; /* スムーススクロール */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-white: #ffffff;
    --bg-soft: #fcfcfc;      /* セクション背景用 */
    --text-main: #222222;    /* 濃いグレー（知的な黒） */
    --text-sub: #777777;     /* 補助テキスト・日付用 */
    --link-color: #333333;   /* 落ち着いたリンク色 */
    --link-hover: #999999;   /* ホバー時の淡いグレー */
    --border-color: #eeeeee; /* 区切り線 */
    --accent-note: #2cb696;  /* noteブランドカラー（バッジ用） */
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
}

body {
    background-color: var(--bg-white);
    color: var(--text-main);
    font-family: var(--font-serif);
    line-height: 2.2;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

/* 2. リンク設定 (すべてのページで共通)
   -------------------------------------------------------------------------- */
a, a:link, a:visited {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover, a:active {
    color: var(--link-hover);
    text-decoration: none;
}

/* 3. レイアウト
   -------------------------------------------------------------------------- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px; /* 左右の十分な余白 */
}

.container-read {
    max-width: 760px; /* 読書に最適な幅 */
    margin: 0 auto;
    padding: 0 40px;
}

.section-wrap {
    padding: 100px 0;
}

.bg-soft {
    background-color: var(--bg-soft);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* 4. ヘッダー・ナビゲーション
   -------------------------------------------------------------------------- */
.site-header {
    padding: 80px 0 40px;
    text-align: center;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5em;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.site-title a {
    color: var(--text-main) !important;
}

.site-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
}

.site-nav a {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-sub) !important;
}

.site-nav a:hover {
    color: var(--link-color) !important;
}

/* 5. ヒーロー・画像設定
   -------------------------------------------------------------------------- */
.hero-section {
    width: 100%;
}

.hero-image {
    width: 100%;
    /* height: 50vh; */
    object-fit: cover;
    filter: grayscale(15%);
    display: block;
}

figure {
    margin: 60px 0;
    text-align: center;
}

figure img {
    width: 100%;
    border: 1px solid #f0f0f0;
}

figcaption {
    margin-top: 15px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: #999;
}

/* 6. コンテンツパーツ
   -------------------------------------------------------------------------- */
.section-label {
    display: block;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    margin-bottom: 50px;
    color: #aaa;
    text-transform: uppercase;
}

/* 活動リストアイテム */
.activity-item {
    margin-bottom: 60px;
    position: relative;
    padding-left: 25px;
    border-left: 1px solid #333;
}

.date {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--text-sub);
    display: block;
    margin-bottom: 10px;
}

/* バッジ類 */
.pickup-badge {
    position: absolute;
    top: -30px;
    left: 0;
    background: #333;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.6rem;
    padding: 2px 10px;
    font-weight: 700;
}

.note-badge {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    color: var(--accent-note);
    border: 1px solid var(--accent-note);
    padding: 0 5px;
    margin-left: 10px;
    font-weight: 700;
    vertical-align: middle;
}

/* 7. グリッド (Index用)
   -------------------------------------------------------------------------- */
.grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

/* 8. プロフィール特有のデザイン
   -------------------------------------------------------------------------- */
.profile-intro {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.profile-face {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%; /* ここで丸く切り抜き */
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

/* 9. 著書紹介 (Books用)
   -------------------------------------------------------------------------- */
.book-item {
    display: flex;
    gap: 50px;
    margin-bottom: 100px;
    align-items: flex-start;
}

.book-cover-img {
    /* width: 180px; */
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
}

/* 10. ボタンデザイン
   -------------------------------------------------------------------------- */
.amazon-btn, .submit-btn {
    display: inline-block;
    background: #333;
    color: #ffffff !important;
    padding: 12px 35px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid #333;
    transition: 0.3s;
    cursor: pointer;
    text-align: center;
    text-decoration: none !important;
}

.amazon-btn:hover, .submit-btn:hover {
    background: #777;
    border-color: #777;
    opacity: 1;
}

/* 11. フォーム (Contact用)
   -------------------------------------------------------------------------- */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 35px;
}

.form-group label {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--text-sub);
    display: block;
    margin-bottom: 10px;
}

.input-field {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    font-family: var(--font-serif);
    font-size: 1rem;
    background: transparent;
    border-radius: 0;
}

.input-field:focus {
    outline: none;
    border-bottom: 1px solid var(--text-main);
}

textarea.input-field {
    border: 1px solid #eee;
    padding: 15px;
}

/* 12. フローティングTOPボタン
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: #333;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    z-index: 1000;
    opacity: 0.7;
    transition: 0.3s;
}

.back-to-top:hover {
    opacity: 1;
    transform: translateY(-5px);
}

/* 13. フッター
   -------------------------------------------------------------------------- */
.site-footer {
    padding: 100px 0 60px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
    background-color: var(--bg-white);
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-nav a {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--text-sub) !important;
}

.footer-nav a:hover {
    color: var(--text-main) !important;
}

.copyright {
    font-size: 0.7rem;
    color: #bbb;
    font-family: var(--font-sans);
}

/* 14. レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 850px) {
    .container, .container-read {
        padding: 0 25px;
    }
    .grid-row {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .profile-intro, .book-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .profile-face {
        width: 180px;
        height: 180px;
        margin-bottom: 20px;
    }
    .book-cover-img {
        /* width: 150px; */
        margin-bottom: 20px;
    }
    .site-nav ul {
        gap: 15px;
        flex-wrap: wrap;
    }
    .site-title {
        font-size: 1.5rem;
        letter-spacing: 0.3em;
    }
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    .footer-nav ul {
        flex-direction: column;
        gap: 10px;
    }
}
/* 260326 追記 */
.site-subtitle {
    display: block;
    font-size: 1rem;
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
    color: var(--text-sub);
    margin-top: -30px;
    margin-bottom: 40px;
}

.contact-info {
    text-align: center;
	font-size: small;
	margin-bottom: 40px;
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
}
.contact-info span{font-size: initial;}

/* ==========================================================================
   15. 追加スタイル (サムネイル付き活動情報リスト)
   ========================================================================== */
.activity-item-list {
    display: flex;
    gap: 25px; /* 画像とテキストの間隔 */
    align-items: flex-start;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--border-color);
}

.activity-list-thumb {
    flex-shrink: 0;
}

.activity-list-thumb img {
    width: 140px;
    height: 90px;
    object-fit: cover;
    display: block;
    border: 1px solid var(--border-color);
}

.activity-list-content {
    flex-grow: 1;
}

.activity-list-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.7;
}

/* ページネーションのスタイル */
.pagination {
    margin-top: 60px;
    font-family: var(--font-sans);
}
.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.pagination .page-numbers {
    display: block;
    padding: 5px 12px;
    border: 1px solid var(--border-color);
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background-color: var(--text-main);
    color: var(--bg-white);
    border-color: var(--text-main);
}
.wpcf7-form input{
	width:90%;
}
.wpcf7-form textarea{
	width:90%;
}
.profile-image-wrapper{text-align: center;}
.profile-image-wrapper p{font-size:x-small;}