/* 出版物ページ専用のスタイル */

.publication-page-main {
    display: flex;
    align-items: center;
    min-height: 100vh;
    gap: 100px;
    box-sizing: border-box;
    width: 100%;
    padding: 40px 40px 40px 15%; 
}

/* 左カラム */
.left-column {
    flex: 0 0 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.publication-main-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* ↓↓【修正3】アニメーションを滑らかにする設定 ↓↓ */
    transition: transform 0.3s ease-in-out;
}

/* ↓↓【修正3】カーソルが乗ったら画像を拡大する ↓↓ */
.publication-image-link:hover .publication-main-image {
    transform: scale(1.05);
}


/* 右カラム */
.right-column {
    flex-basis: 45%;
}

.publication-title {
    font-family: 'Senobi Gothic Regular', sans-serif;
    font-size: 48px;
    font-weight: normal;
    /* ↓↓【修正1】著者名との間隔を調整 */
    margin: 0 0 10px 0; 
    text-align: left;
}

/* ↓↓【修正1】著者名のスタイルを追加 ↓↓ */
.publication-author {
    font-family: 'Senobi Gothic Regular', sans-serif;
    font-size: 16px; /* 説明文と同じサイズ */
    text-align: left;
    margin: 0 0 40px 0; /* 説明文との間隔 */
}

.publication-description {
    font-family: 'Noto Sans JP', sans-serif;
    text-align: left;
    line-height: 2.0;
    font-size: 16px;
}

.publication-description p {
    margin: 0 0 1.5em 0;
}
.publication-description p:last-child {
    margin-bottom: 0;
}

/* publications-style.css に追記 */

/* 【追加】著者名リンクのスタイル */
.publication-author a {
    color: inherit; /* 親要素の色（黒）を継承する */
    text-decoration: none; /* リンクの下線を消す */
    display: inline-block; /* アニメーションのために必要 */
    transition: transform 0.3s ease-in-out; /* アニメーションを滑らかに */
}

/* 【追加】著者名リンクにカーソルが乗ったら、1.05倍に拡大する */
.publication-author a:hover {
    transform: scale(1.05);
}

/* --- レスポンシブ対応 --- */
@media (max-width: 1100px) {
    .publication-page-main {
        flex-direction: column;
        gap: 40px;
        padding: 40px 20px;
    }

    .left-column,
    .right-column {
        flex: auto;
        width: 100%;
        max-width: 500px;
    }

    .right-column {
        padding: 0 20px;
        text-align: center;
    }

    .publication-title,
    .publication-author, /* ← 著者名も中央揃えに */
    .publication-description {
        text-align: center;
    }
}

@media (max-width: 450px) {
    .publication-title {
        font-size: 32px;
    }
    .publication-author {
        font-size: 14px; /* 説明文に合わせて調整 */
    }
    .publication-description {
        font-size: 14px;
    }
}