body {
    font-family: 'Noto Serif JP', serif;
    /* メインを明朝体に */
    color: #1a1a1a;
    background-color: #fcfcfc;
    letter-spacing: 0.08em;
    line-height: 2;
}

h1 {
    width: 150px;
}
/* PCサイズ用（mdスクリーン以上） */
@media (min-width: 768px) {
    h1 {
        width: 200px;
    }
}

#mobile-menu {
    background-color: #fff;
}


.sans-serif {
    font-family: 'Noto Sans JP', sans-serif;
}

.en-font {
    font-family: 'Cormorant Garamond', serif;
}

/* 縦書き設定 */
.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.25em;
}

/* アニメーション */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* コラムの開閉アニメーション */
.column-hidden-content {
    display: none;
    overflow: hidden;
}

.column-hidden-content.expanded {
    display: block;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 続きを読むボタンのスタイル調整 */
.read-more-btn {
    position: relative;
    padding-bottom: 5px;
    cursor: pointer;
}

.read-more-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #4b5563;
    transition: width 0.3s;
}

.read-more-btn:hover::after {
    width: 100%;
}

/* モバイルメニューのアニメーション */
#mobile-menu {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#mobile-menu.hidden {
    display: none;
    /* Tailwindのhiddenクラスと重複しますが明示 */
}

/* ギャラリー画像のフェードアニメーション */
.gallery-fade {
    animation: fadeInImage 0.5s ease-in-out;
}

@keyframes fadeInImage {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

.thumbnail-active {
    border-color: #1a1a1a;
    opacity: 1;
}

.thumbnail {
    transition: all 0.3s;
    cursor: pointer;
}

.thumbnail:hover {
    opacity: 0.8;
}

/* --------------------------------------------------
   追従CVボタン（PC/SP）のスタイル
   -------------------------------------------------- */

/* PC用フローティングバナー */
.pc-floating-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 280px;
    z-index: 40;
    /* Headerより下、コンテンツより上 */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    padding: 16px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s ease-out;
    pointer-events: none;
    /* 非表示時はクリック無効 */
}

.pc-floating-banner.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.pc-floating-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* SP用ボトム固定ボタン */
.sp-fixed-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: #EE7B1C;
    color: white;
    padding: 16px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.sp-fixed-btn.visible {
    transform: translateY(0);
}