/*
Theme Name: Cocoon Child - Keina Official
Template: cocoon-master
Description: Keina Yamagishi Official Website Custom Theme
Author: Haruto Yamazaki
Version: 5.2.0 - Design Consistency Update
*/

/* ============================================
   Google Fonts読み込み
============================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500&family=Noto+Sans+JP:wght@300;400;500&family=Noto+Serif+JP:wght@400;500&family=Shippori+Mincho:wght@400;500;600&display=swap');

/* ============================================
   1. CSS変数（カラーパレット）
============================================ */
:root {
    /* メインカラー */
    --primary-blue: #4A6B8A;
    --secondary-blue: #5C7A94;
    --light-blue: #eef2f5;
    --accent-blue: #7A9CB8;

    /* テキストカラー（柔らかく） */
    --text-dark: #1a2634;
    --text-medium: #4a5a6a;
    --text-light: #7b8b9b;

    /* 背景カラー（わずかに温かみのあるオフホワイト） */
    --white: #ffffff;
    --off-white: #f7f8f7;
    --piano-white: #fdfdfd;
    --piano-black: #1a2634;
    --border-color: #dce4ec;
    --required-color: #d9534f;

    /* フォント */
    --font-serif: "Shippori Mincho", "Noto Serif JP", "游明朝", "Yu Mincho", serif;
    --font-sans: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
    --font-english: "Cormorant Garamond", "Times New Roman", serif;

    /* トランジション（よりじんわりと） */
    --transition-fast: 0.25s ease;
    --transition-normal: 0.4s ease;
    --transition-smooth: 0.5s cubic-bezier(0.33, 1, 0.68, 1);
    --transition-pop: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1.1);

    /* シャドウ（繊細で上品に） */
    --shadow-sm: 0 2px 8px rgba(74, 107, 138, 0.04);
    --shadow-md: 0 4px 16px rgba(74, 107, 138, 0.06);
    --shadow-lg: 0 8px 30px rgba(74, 107, 138, 0.08);
    --shadow-pop: 0 4px 20px rgba(74, 107, 138, 0.07);
    --shadow-pop-hover: 0 8px 30px rgba(74, 107, 138, 0.12);

    /* 角丸（控えめでクラシカル） */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 100px;

    /* グリッド統一値 */
    --grid-gap-desktop: 30px;
    --grid-gap-tablet: 25px;
    --grid-gap-mobile: 20px;
}

/* ============================================
   2. リセット・ベース
============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--off-white);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary-blue);
}

/* ============================================
   3. Cocoon既存スタイルの上書き
============================================ */
.sidebar,
#sidebar {
    display: none !important;
}

.main,
#main,
.content,
#content,
.content-in {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    float: none !important;
}

.wrap,
#container,
.container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.header,
#header,
.header-container,
.navi,
#navi,
.footer,
#footer,
.breadcrumb,
#breadcrumb,
.sns-share,
.sns-follow,
.post-meta,
.related-entries,
.widget-area,
.widget,
.go-to-top,
.admin-panel {
    display: none !important;
}

/* ============================================
   4. カスタムヘッダー・ナビゲーション
============================================ */
#global-header-wrapper {
    position: relative;
    width: 100%;
    z-index: 1000;
    pointer-events: none;
}

/* WordPress管理バーが表示されている場合のヘッダー位置調整 */
.admin-bar .keina-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .keina-header {
        top: 46px;
    }
}

.keina-header {
    pointer-events: auto;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

/* ナビゲーションバー（ヘッダー上部） */
.keina-header-nav {
    height: 80px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: none;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 900px) {
    .keina-header-nav {
        height: auto;
        min-height: 60px;
        padding: 10px 20px;
        flex-wrap: nowrap;
    }
}

.keina-logo {
    font-family: var(--font-english);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-blue);
    letter-spacing: 0.08em;
}

.keina-nav {
    display: flex;
    gap: 40px;
}

.keina-nav a {
    font-family: var(--font-english);
    font-size: 0.85rem;
    color: var(--text-medium);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.keina-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--primary-blue));
    transition: width var(--transition-normal);
}

.keina-nav a:hover::after,
.keina-nav a.current::after {
    width: 100%;
}

.keina-nav a:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* カートアイコン（ナビゲーションリンクと同様のスタイル） */
.keina-header-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--text-medium);
    padding-bottom: 5px;
    z-index: 10000;
    text-decoration: none;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.keina-header-cart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--primary-blue));
    transition: width var(--transition-normal);
}

.keina-header-cart:hover::after,
.keina-header-cart.current::after {
    width: 100%;
}

.keina-header-cart:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.keina-header-cart .cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary-blue);
    color: white;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

/* メニュートグル（ハンバーガーボタン） */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10000;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--primary-blue);
    transition: all 0.3s ease-in-out;
}

@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    .keina-nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(255, 255, 255, 0.98);
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
        padding: 80px 40px 40px;
    }

    .keina-nav.nav-active {
        opacity: 1;
        visibility: visible;
    }

    /* Worksサブメニューをモバイルで非表示 */
    .keina-dropdown-menu {
        display: none !important;
    }

    /* dropdownをシンプルなリンクとして表示 */
    .keina-nav-dropdown {
        width: 100%;
        text-align: center;
    }

    .keina-nav>a,
    .keina-nav-dropdown>a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        font-size: 1.15rem;
        letter-spacing: 0.25em;
        color: var(--text-dark);
        border-bottom: 1px solid rgba(220, 228, 236, 0.4);
        transition: color 0.2s ease;
    }

    .keina-nav>a:last-child {
        border-bottom: none;
    }

    .keina-nav>a.current,
    .keina-nav-dropdown>a.current {
        color: var(--primary-blue);
        font-weight: 500;
    }

    .keina-nav>a:hover,
    .keina-nav-dropdown>a:hover {
        transform: none;
        color: var(--primary-blue);
    }

    /* ハンバーガーアニメーション */
    .menu-toggle.active .hamburger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .hamburger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* ============================================
   5. ヒーローセクション
============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, var(--light-blue) 0%, var(--white) 100%);
    margin-top: 0;
    padding-top: 0;
    overflow: hidden;
}

@media (max-width: 900px) {
    .hero-section {
        margin-top: 0;
        padding-top: 0;
    }
}

@media (max-width: 600px) {
    .hero-section {
        margin-top: 0;
        padding-top: 0;
    }
}

/* ピアノ鍵盤装飾 — ヘッダーとコンテンツを繋ぐ存在感のあるアクセント */
.piano-keys-container {
    position: relative;
    width: 100%;
    z-index: 10;
    overflow: hidden;
    pointer-events: auto;
    /* 下端だけ微妙にフェード — ヒーローに自然に繋がる */
    mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
    background: none;
}

.piano-keys {
    display: flex;
    position: relative;
    height: 70px;
    width: 100%;
}

.piano-white-keys {
    display: flex;
    position: relative;
    width: 100%;
}

.white-key {
    width: 20px;
    height: 70px;
    /* 白鍵: クリアな白 + 繊細なセパレーター */
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(250, 251, 253, 0.88) 100%);
    border: none;
    border-right: 1px solid rgba(74, 107, 138, 0.12);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    box-shadow: none;
    transition: background 0.3s ease;
}

.white-key::after {
    display: none;
}

.white-key:last-child {
    border-right: none;
}

.white-key:hover {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(242, 245, 248, 0.95) 100%);
}

.piano-black-keys {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 44px;
    z-index: 20;
    pointer-events: none;
}

.black-key {
    position: absolute;
    width: 14px;
    height: 44px;
    /* サイトのダークブルーを使用し、存在感と調和のバランス */
    background: linear-gradient(180deg,
            rgba(50, 75, 100, 0.6) 0%,
            rgba(74, 107, 138, 0.45) 90%,
            rgba(92, 122, 148, 0.3) 100%);
    border-radius: 0 0 3px 3px;
    box-shadow: none;
    /* display は JS で動的設定 (display: block) */
    transition: background 0.3s ease;
}

.black-key:hover {
    background: linear-gradient(180deg,
            rgba(50, 75, 100, 0.7) 0%,
            rgba(74, 107, 138, 0.55) 90%,
            rgba(92, 122, 148, 0.4) 100%);
}

@media (max-width: 900px) {
    .piano-keys {
        height: 55px;
    }

    .white-key {
        width: 19px;
        height: 55px;
    }

    .piano-black-keys {
        height: 34px;
    }

    .black-key {
        width: 12px;
        height: 34px;
    }
}

@media (max-width: 600px) {
    .piano-keys {
        height: 42px;
    }

    .white-key {
        width: 18px;
        height: 42px;
    }

    .piano-black-keys {
        height: 26px;
    }

    .black-key {
        width: 11px;
        height: 26px;
    }
}

/* ヒーローコンテンツ */
.hero-content {
    text-align: center;
    z-index: 10;
}

.hero-title-jp {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 400;
    color: var(--primary-blue);
    letter-spacing: 0.25em;
    margin-bottom: 18px;
    text-shadow: 0 4px 20px rgba(74, 107, 138, 0.15);
}

.hero-title-en {
    font-family: var(--font-english);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.18em;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-family: var(--font-english);
    font-size: 1.1rem;
    color: var(--text-medium);
    letter-spacing: 0.15em;
    font-style: italic;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    padding: 10px 30px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-pill);
}

.treble-clef {
    font-size: 4rem;
    color: var(--accent-blue);
    opacity: 0.2;
    margin-top: 30px;
    text-shadow: none;
}

/* SNSアイコン */
.hero-social {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 35px;
    margin-bottom: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(74, 107, 138, 0.08), rgba(122, 156, 184, 0.12));
    color: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(74, 107, 138, 0.1);
    transition: all var(--transition-pop);
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 15px rgba(74, 107, 138, 0.25);
}

.social-icon svg {
    width: 22px;
    height: 22px;
    transition: transform var(--transition-normal);
}

.social-icon:hover svg {
    transform: scale(1.1);
}

/* スクロールインジケーター */
.scroll-indicator {
    display: none;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    align-items: center;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

body.home .scroll-indicator,
body.front-page .scroll-indicator {
    display: flex;
}

.scroll-indicator span {
    font-family: var(--font-english);
    font-size: 0.7rem;
    color: var(--primary-blue);
    letter-spacing: 0.2em;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 400;
    background: none;
    padding: 0;
    border-radius: 0;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary-blue) 0%, transparent 100%);
    border-radius: 1px;
}

/* ============================================
   6. セクション共通
============================================ */
.keina-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
    overflow-x: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-english);
    font-size: 0.85rem;
    color: var(--primary-blue);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title-jp {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text-dark);
    letter-spacing: 0.15em;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

/* タイトル下の装飾ライン（削除済み） */
.section-title-jp::after {
    content: none;
}

.section-more {
    text-align: center;
    margin-top: 50px;
}

.section-more a {
    font-family: var(--font-english);
    font-size: 0.85rem;
    color: var(--primary-blue);
    letter-spacing: 0.12em;
    padding: 14px 40px;
    border: 1px solid var(--primary-blue);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: none;
    font-weight: 400;
    text-transform: uppercase;
    transition: all var(--transition-normal);
}

.section-more a::after {
    content: '\2192';
    font-size: 1rem;
    transition: transform var(--transition-normal);
}

.section-more a:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 107, 138, 0.2);
    border-color: var(--primary-blue);
}

.section-more a:hover::after {
    transform: translateX(4px);
}

/* ============================================
   7. カード共通スタイル
============================================ */
.news-card,
.work-card,
.shop-card {
    background: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-pop);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-pop), box-shadow var(--transition-pop);
}

.news-card:hover,
.work-card:hover,
.shop-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-pop-hover);
}

/* カード画像 */
.news-card-image,
.work-card-image {
    position: relative;
    width: 100%;
    padding-top: 80%;
    /* 16:9から少し縦長で柔らかい印象の比率に変更 */
    background: var(--light-blue);
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.news-card-image img,
.work-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.news-card:hover .news-card-image img,
.work-card:hover .work-card-image img {
    transform: scale(1.03);
}

/* カテゴリバッジ */
.news-card-category,
.work-card-category {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: var(--font-english);
    font-size: 0.7rem;
    color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 10px rgba(74, 107, 138, 0.15);
    font-weight: 500;
    z-index: 5;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
}

.news-card:hover .news-card-category,
.work-card:hover .work-card-category {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(74, 107, 138, 0.2);
    background: var(--white);
}

/* カードボディ */
.news-card-body,
.work-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-date {
    font-family: var(--font-english);
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

.news-card-title,
.work-card-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--text-dark);
    margin: 10px 0 0;
    line-height: 1.6;
    font-weight: 400;
    transition: color var(--transition-fast);
}

.news-card:hover .news-card-title,
.work-card:hover .work-card-title {
    color: var(--primary-blue);
}

.work-card-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 0;
    flex-shrink: 0;
}

/* カードリンク */
.work-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-english);
    font-size: 0.8rem;
    color: var(--primary-blue);
    letter-spacing: 0.08em;
    border: none;
    background: none;
    padding: 0;
    margin-top: auto;
    padding-top: 12px;
    text-transform: uppercase;
    transition: color var(--transition-normal);
}

.work-card-link::after {
    content: '\2192';
    font-size: 0.9rem;
    transition: transform var(--transition-normal);
}

.work-card:hover .work-card-link {
    color: var(--secondary-blue);
}

.work-card:hover .work-card-link::after {
    transform: translateX(4px);
}

/* カードリンクラッパー */
.news-card-link-wrapper,
.work-card-link-wrapper,
.shop-card-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* ============================================
   8. グリッドレイアウト共通
============================================ */
.news-card-grid,
.works-grid,
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap-desktop);
}

@media (max-width: 900px) {

    .news-card-grid,
    .works-grid,
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--grid-gap-tablet);
    }
}

@media (max-width: 600px) {

    .news-card-grid,
    .works-grid,
    .shop-grid {
        grid-template-columns: 1fr;
        gap: var(--grid-gap-mobile);
    }
}

/* ============================================
   9. Newsセクション
============================================ */
.news-section {
    background: var(--off-white);
    position: relative;
    overflow: visible;
    max-width: none !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    padding: 100px 40px;
    box-sizing: border-box;
}

.news-section>.section-header,
.news-section>.news-card-grid,
.news-section>.section-more,
.news-section>.section-bg-pattern {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Newsフィルター */
.news-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.news-filter button {
    font-family: var(--font-english);
    font-size: 0.85rem;
    color: var(--text-medium);
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    cursor: pointer;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all var(--transition-normal);
}

.news-filter button:hover,
.news-filter button.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* ============================================
   10. Worksセクション
============================================ */
.works-home-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    /* 全幅背景 */
    max-width: none !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    box-sizing: border-box;
}

/* Works Home Categories (Top Page) */
.works-home-categories {
    max-width: 1200px;
    margin: 0 auto;
}

.works-home-cat-section {
    margin-bottom: 60px;
}

.works-home-cat-title {
    font-family: var(--font-english);
    font-size: 1.6rem;
    color: var(--text-dark);
    letter-spacing: 0.3em;
    text-align: center;
    font-weight: 500;
    margin: 0 0 12px;
}

.works-home-cat-subtitle {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--text-medium);
    text-align: center;
    margin: 0 0 30px;
    letter-spacing: 0.05em;
    padding: 0 20px;
}

/* Works Archive Categories (Works Page) */
.works-category-block-item {
    margin-bottom: 0;
}

.works-page-cat-header {
    margin-bottom: 30px;
    padding: 0 20px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.works-page-cat-name {
    font-family: var(--font-english);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.2em;
    margin: 0 0 15px;
    display: inline-block;
}

.works-page-cat-subtext {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
}

.works-content-area {
    margin-bottom: 20px;
}

.works-page-divider {
    border: none;
    margin: 60px auto;
    max-width: 1100px;
}

.works-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .works-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .works-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Worksフィルター */
.works-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.works-filter button {
    font-family: var(--font-english);
    font-size: 0.85rem;
    color: var(--text-medium);
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    cursor: pointer;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all var(--transition-normal);
}

.works-filter button:hover,
.works-filter button.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Works タブUI */
.works-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.works-tab-btn {
    font-family: var(--font-english);
    font-size: 0.9rem;
    color: var(--text-medium);
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 14px 32px;
    cursor: pointer;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all var(--transition-normal);
    font-weight: 500;
}

.works-tab-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 107, 138, 0.1);
}

.works-tab-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(74, 107, 138, 0.2);
    transform: translateY(-1px);
}

.works-tab-panel {
    display: none;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.works-tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .works-tabs {
        gap: 8px;
    }

    .works-tab-btn {
        font-size: 0.75rem;
        padding: 10px 18px;
    }
}

/* ============================================
   11. Shopセクション
============================================ */
.shop-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-blue) 100%);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.shop-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-pop);
    overflow: hidden;
    transition: transform var(--transition-pop), box-shadow var(--transition-pop);
}

.shop-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-pop-hover);
}

.shop-card-image {
    position: relative;
    width: 100%;
    padding-top: 80%;
    background: var(--light-blue);
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.shop-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.shop-card:hover .shop-card-image img {
    transform: scale(1.03);
}

.shop-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.shop-card-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0 0 8px;
    line-height: 1.4;
}

.shop-card-price {
    font-family: var(--font-english);
    font-size: 1.25rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.shop-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: none;
    color: var(--primary-blue);
    font-family: var(--font-english);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    margin-top: auto;
    padding-top: 12px;
    transition: color var(--transition-normal);
}

.shop-card-btn::after {
    content: '\2192';
    font-size: 0.9rem;
    transition: transform var(--transition-normal);
}

.shop-card:hover .shop-card-btn {
    color: var(--secondary-blue);
}

.shop-card:hover .shop-card-btn::after {
    transform: translateX(4px);
}

/* カードリンクラッパー */
.news-card-link-wrapper,
.work-card-link-wrapper,
.shop-card-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* ============================================
   12. 下層ページ共通
============================================ */
.page-wrapper {
    padding-top: 90px;
    min-height: 100vh;
    background: var(--white);
}

@media (max-width: 900px) {
    .page-wrapper {
        padding-top: 80px;
    }
}

@media (max-width: 600px) {
    .page-wrapper {
        padding-top: 70px;
    }
}

.page-header {
    background: transparent;
    padding: 40px 20px 30px;
    /* 広すぎた余白を削減 */
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-header h1 {
    font-family: var(--font-english);
    font-size: 2.2rem;
    color: var(--primary-blue);
    letter-spacing: 0.2em;
    margin: 0 0 10px;
    text-transform: uppercase;
    font-weight: 500;
    position: relative;
}

.page-header h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    margin: 15px auto 0;
    transition: width var(--transition-smooth);
}

.page-header:hover h1::after {
    width: 100px;
}

.page-header .subtitle {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--text-medium);
    letter-spacing: 0.1em;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* ============================================
   13. プロフィールページ
============================================ */
.profile-page-wrapper {
    padding-top: 110px;
    margin-top: -110px;
}

@media (max-width: 900px) {
    .profile-page-wrapper {
        padding-top: 90px;
        margin-top: -90px;
    }
}

.profile-section {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 70px;
    align-items: start;
    padding: 80px 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.profile-image {
    position: sticky;
    top: 120px;
}

.profile-image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    filter: grayscale(5%);
    border-radius: 2px;
}

.profile-content h1 {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    color: var(--primary-blue);
    letter-spacing: 0.2em;
    margin: 0 0 8px;
}

.profile-content .name-en {
    font-family: var(--font-english);
    font-size: 1.1rem;
    color: var(--text-light);
    letter-spacing: 0.15em;
    margin-bottom: 35px;
}

.profile-content .bio {
    font-size: 0.95rem;
    line-height: 2.2;
    color: var(--text-medium);
}

@media (max-width: 900px) {
    .profile-section {
        grid-template-columns: 1fr;
        padding: 60px 25px;
        gap: 40px;
    }

    .profile-image {
        position: static;
        max-width: 350px;
        margin: 0 auto;
    }
}

/* ============================================
   14. お問い合わせフォーム
============================================ */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 8px;
    margin-top: 25px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-sans);
    background: var(--white);
    transition: border-color var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form .required {
    color: var(--required-color);
}

/* contact-form submitはセクション59の統一スタイルに委譲 */
.contact-form button[type="submit"],
.contact-form input[type="submit"] {
    margin-top: 30px;
    width: 100%;
}

/* ============================================
   15. フッター
============================================ */
.keina-footer {
    background: #2a3a4a;
    color: var(--white);
    padding: 60px 40px 35px;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-english);
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    text-decoration: none;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-social a:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.footer-nav {
    margin-bottom: 25px;
}

.footer-nav a {
    font-family: var(--font-english);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6) !important;
    letter-spacing: 0.1em;
    margin: 0 12px;
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: rgba(255, 255, 255, 0.95) !important;
}

.footer-copyright {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.08em;
}

/* ============================================
   16. ギャラリーページ
============================================ */
.gallery-section .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-pop);
    transition: transform var(--transition-pop), box-shadow var(--transition-pop);
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-pop-hover);
}

.gallery-link {
    display: block;
    width: 100%;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

@media (max-width: 900px) {
    .gallery-section .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .gallery-section .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-item img {
        aspect-ratio: 16/9;
    }
}

/* ============================================
   17. 作品詳細ページ
============================================ */
.single-works-wrapper {
    padding-top: 80px;
    min-height: 100vh;
}

.single-works-hero {
    background: linear-gradient(135deg, var(--light-blue) 0%, #ffffff 100%);
    padding: 60px 40px 80px;
}

.single-works-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.single-works-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 900px) {
    .single-works-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ============================================
   18. 装飾要素
============================================ */
.floating-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-note {
    position: absolute;
    font-size: 2rem;
    color: var(--accent-blue);
    opacity: 0.15;
}

.note-1 {
    top: 20%;
    left: 10%;
    font-size: 2.5rem;
}

.note-2 {
    top: 35%;
    right: 15%;
    font-size: 1.8rem;
}

.note-3 {
    bottom: 30%;
    left: 20%;
    font-size: 2.2rem;
}

.note-4 {
    bottom: 25%;
    right: 10%;
    font-size: 1.5rem;
}

.no-works-message,
.no-posts-message {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 40px 20px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-color);
}

/* ============================================
   19. ユーティリティ
============================================ */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--off-white) 100%);
    color: var(--accent-blue);
    font-size: 3rem;
}

/* ============================================
   20. レスポンシブ調整
============================================ */
@media (max-width: 900px) {
    .keina-section {
        padding: 70px 25px;
    }

    .page-content {
        padding: 50px 25px;
    }

    .page-header {
        padding: 40px 20px 30px;
    }
}

@media (max-width: 600px) {
    .hero-title-jp {
        font-size: 2rem;
        letter-spacing: 0.2em;
    }

    .hero-title-en {
        font-size: 1rem;
    }

    .keina-section {
        padding: 60px 15px;
    }

    .page-content {
        padding: 40px 15px;
    }

    .page-header {
        padding: 30px 15px 25px;
    }

    .page-header h1 {
        font-size: 1.6rem;
        letter-spacing: 0.15em;
    }

    .page-header .subtitle {
        font-size: 0.8rem;
    }

    .page-header h1::after {
        width: 40px;
        margin: 12px auto 0;
    }

    .page-header:hover h1::after {
        width: 70px;
    }

    .news-card-body,
    .work-card-body,
    .shop-card-body {
        padding: 18px;
    }

    .news-card-title,
    .work-card-title,
    .shop-card-title {
        font-size: 0.95rem;
    }
}

/* ============================================
   21. 欠落スタイル補完（front-page.php用）
============================================ */

/* セクション英語タイトル */
.section-title-en {
    font-family: var(--font-english);
    font-size: 0.85rem;
    color: var(--text-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 8px;
}

/* 浮遊ドット装飾 */
.floating-dot {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    opacity: 0.12;
}

.dot-1 {
    top: 25%;
    left: 5%;
    width: 16px;
    height: 16px;
}

.dot-2 {
    top: 60%;
    right: 8%;
    width: 10px;
    height: 10px;
}

.dot-3 {
    bottom: 40%;
    left: 15%;
    width: 8px;
    height: 8px;
}

/* 背景サークル装飾 */
.hero-bg-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    opacity: 0.06;
}

.circle-1 {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -100px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
}

.circle-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 波形装飾 */
.wave-decoration {
    width: 100%;
    height: 80px;
    margin-top: -1px;
    position: relative;
    z-index: 5;
}

.wave-decoration svg {
    width: 100%;
    height: 100%;
    display: block;
}

.wave-decoration.wave-reverse {
    height: 60px;
    margin-bottom: -1px;
    transform: scaleY(-1);
}

/* セクション背景パターン */
.section-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(circle at 20% 30%, var(--accent-blue) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, var(--accent-blue) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.06;
}

/* ============================================
   22. ギャラリーホームセクション
============================================ */
.gallery-home-section {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, var(--white) 100%);
    padding: 100px 40px;
    position: relative;
    /* 全幅背景 */
    max-width: none !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    box-sizing: border-box;
}

.gallery-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

/* gallery-item はセクション16に統一定義済み */

.no-gallery-message {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 40px;
}

@media (max-width: 900px) {
    .gallery-grid-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-home-section {
        padding: 60px 30px;
    }
}

@media (max-width: 600px) {
    .gallery-grid-home {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-home-section {
        padding: 50px 20px;
    }
}

/* ============================================
   23. Worksホームセクション追加スタイル
============================================ */
.works-category-block {
    margin-bottom: 60px;
    padding: 30px 0;
    position: relative;
}

.works-category-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--primary-blue));
    border-radius: 2px;
}

/* ============================================
   24. プレースホルダーアイコン
============================================ */
.placeholder-icon {
    display: block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--border-color), var(--light-blue));
    border-radius: 8px;
    opacity: 0.5;
}

/* ============================================
   25. スコア装飾（下層ページ用）
============================================ */
.score-decoration-container {
    position: relative;
    width: 100%;
    height: 110px;
    margin-bottom: 0;
    overflow: hidden;
    background: linear-gradient(180deg, var(--light-blue) 0%, var(--white) 100%);
    z-index: 5;
    pointer-events: none;
}

.treble-clef-decoration {
    position: absolute;
    right: 5%;
    top: -30px;
    font-size: 8rem;
    color: var(--primary-blue);
    opacity: 0.08;
    z-index: 1;
    font-family: serif;
    pointer-events: none;
}

@media (max-width: 900px) {
    .score-decoration-container {
        height: 90px;
    }
}

@media (max-width: 600px) {
    .score-decoration-container {
        height: 70px;
    }

    .treble-clef-decoration {
        font-size: 5rem;
        top: -15px;
        right: 2%;
    }
}

/* ============================================
   26. Profileページ - ヒーローセクション
============================================ */
.profile-hero {
    margin-bottom: 60px;
}

.profile-hero-inner {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.profile-hero-image {
    flex: 0 0 200px;
    max-width: 200px;
    width: 100%;
}

.profile-hero-image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 4px;
    filter: grayscale(5%);
}

.profile-image-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    max-height: 200px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.profile-image-placeholder span {
    font-size: 3.5rem;
    color: var(--accent-blue);
    opacity: 0.6;
}

.profile-hero-info {
    flex: 1;
    padding-top: 10px;
}

.profile-name-jp {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--primary-blue);
    letter-spacing: 0.15em;
    margin: 0 0 8px;
}

.profile-name-en {
    font-family: var(--font-english);
    font-size: 1.1rem;
    color: var(--text-light);
    letter-spacing: 0.12em;
    margin: 0 0 20px;
}

.profile-role {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0 0 8px;
    font-weight: 500;
}

.profile-skills {
    font-family: var(--font-english);
    font-size: 0.9rem;
    color: var(--text-medium);
    letter-spacing: 0.08em;
    margin: 0 0 20px;
}

.profile-affiliations {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-affiliations span {
    font-size: 0.8rem;
    color: var(--text-medium);
    background: var(--light-blue);
    padding: 6px 14px;
    border-radius: 16px;
}

@media (max-width: 768px) {
    .profile-hero-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-hero-image {
        flex: 0 0 160px;
        max-width: 160px;
        margin: 0 auto 30px;
    }

    .profile-image-placeholder {
        max-height: 160px;
    }

    .profile-hero-info {
        padding-top: 0;
    }

    .profile-name-jp {
        font-size: 1.8rem;
    }

    .profile-affiliations {
        justify-content: center;
    }
}

/* ============================================
   27. Profileページ - Bio & タイムライン
============================================ */
.profile-bio-section {
    margin-bottom: 60px;
}

.profile-bio {
    font-size: 0.95rem;
    line-height: 2.2;
    color: var(--text-medium);
}

.profile-bio p {
    margin-bottom: 1.5em;
}

.profile-timeline-section {
    margin-bottom: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.timeline-heading {
    font-family: var(--font-english);
    font-size: 0.9rem;
    color: var(--primary-blue);
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--light-blue) 100%);
}

.timeline-item {
    position: relative;
    padding-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 4px;
    width: 10px;
    height: 10px;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
}

.timeline-date {
    font-family: var(--font-english);
    font-size: 0.85rem;
    color: var(--primary-blue);
    font-weight: 500;
    min-width: 80px;
    flex-shrink: 0;
}

.timeline-content {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.profile-contact-section {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.profile-contact-section p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.profile-contact-section a {
    color: var(--primary-blue);
    border-bottom: 1px solid var(--primary-blue);
}

.profile-contact-section small {
    color: var(--text-light);
}

.no-content-message {
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
    padding: 30px;
}

@media (max-width: 600px) {
    .timeline {
        padding-left: 25px;
    }

    .timeline-item {
        flex-direction: column;
        gap: 8px;
    }

    .timeline-item::before {
        left: -29px;
        width: 8px;
        height: 8px;
    }

    .timeline-date {
        font-size: 0.8rem;
        min-width: auto;
    }

    .timeline-content {
        font-size: 0.85rem;
    }
}

/* ============================================
   28. Worksページ - カテゴリセクション
============================================ */
.works-category-section {
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-bottom: 1px solid var(--border-color);
}

.works-category-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.works-category-heading {
    font-family: var(--font-english);
    font-size: 1.2rem;
    color: var(--primary-blue);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.works-category-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* ============================================
   29. 作品詳細ページ（single-works）
============================================ */
.single-works-wrapper {
    padding-top: 80px;
    min-height: 100vh;
}

.single-works-hero {
    background: linear-gradient(135deg, var(--light-blue) 0%, #ffffff 100%);
    padding: 60px 40px 80px;
}

.single-works-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.single-works-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.single-works-no-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-blue) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.works-placeholder-icon {
    display: block;
    width: 80px;
    height: 80px;
    background: var(--border-color);
    border-radius: 8px;
    opacity: 0.5;
}

.single-works-category {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--white);
    background: var(--primary-blue);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.single-works-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text-dark);
    letter-spacing: 0.05em;
    margin: 0 0 15px;
    line-height: 1.4;
}

.single-works-meta {
    margin-bottom: 20px;
}

.single-works-date {
    font-family: var(--font-english);
    font-size: 0.85rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

.single-works-excerpt {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 30px;
}

.single-works-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.single-works-btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    transition: background var(--transition-fast), transform var(--transition-fast);
    font-weight: 500;
}

.single-works-btn.primary {
    background: var(--primary-blue);
    color: var(--white);
}

.single-works-btn.primary:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.single-works-video {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
}

.single-works-section-title {
    font-family: var(--font-english);
    font-size: 1rem;
    color: var(--primary-blue);
    letter-spacing: 0.15em;
    margin: 25px 0px;
    text-transform: uppercase;
}

.single-works-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: var(--piano-black);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.single-works-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.single-works-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px 60px;
}

.single-works-body {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 2.2;
}

.single-works-body p {
    margin-bottom: 1.5em;
}

.single-works-back {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.back-link {
    font-family: var(--font-english);
    font-size: 0.9rem;
    color: var(--primary-blue);
    text-decoration: none;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--secondary-blue);
}

.back-arrow {
    font-size: 1.2rem;
}

@media (max-width: 900px) {
    .single-works-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .single-works-hero {
        padding: 40px 25px 60px;
    }

    .single-works-title {
        font-size: 1.6rem;
    }

    .single-works-video,
    .single-works-content,
    .single-works-back {
        padding-left: 25px;
        padding-right: 25px;
    }
}

/* ============================================
   30. WooCommerce商品ページ
============================================ */
.product-page-wrapper {
    padding-top: 110px;
    margin-top: -110px;
    min-height: 100vh;
}

@media (max-width: 900px) {
    .product-page-wrapper {
        padding-top: 90px;
        margin-top: -90px;
    }
}

@media (max-width: 600px) {
    .product-page-wrapper {
        padding-top: 70px;
        margin-top: -70px;
    }
}

.product-hero {
    background: linear-gradient(135deg, var(--light-blue) 0%, #ffffff 100%);
    padding: 80px 40px 60px;
}

.product-hero-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.product-no-image {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-blue) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--border-color);
}

.product-category-badge {
    display: inline-block;
    font-family: var(--font-english);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--white);
    background: var(--primary-blue);
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.product-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--text-dark);
    letter-spacing: 0.05em;
    margin: 0 0 15px;
    line-height: 1.5;
}

.product-price {
    font-family: var(--font-english);
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 15px;
}

@media (max-width: 900px) {
    .product-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-hero {
        padding: 40px 25px 60px;
    }
}

/* ============================================
   31. ヒーローセクション背景写真
============================================ */
/* 背景写真レイヤー（右側配置、透かし効果） */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-image: url('images/hero-bg-photo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    filter: blur(2px);
    z-index: 1;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0) 100%);
}

/* コンテンツを前面に配置 */
.hero-content {
    position: relative;
    z-index: 10;
}

/* 装飾要素も前面に */
.floating-decorations,
.hero-bg-circles {
    z-index: 5;
}

/* レスポンシブ: モバイルでは背景を控えめに */
@media (max-width: 768px) {
    .hero-section::before {
        width: 100%;
        opacity: 0.2;
        filter: blur(4px);
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
    }
}

/* ============================================
   32. ギャラリーページ
============================================ */
.gallery-page-wrapper {
    min-height: 100vh;
    padding-top: 80px;
}

.gallery-section {
    padding: 80px 50px 120px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ギャラリーグリッド: 3列レイアウト */
.gallery-section .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 900px) {
    .gallery-section .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .gallery-section {
        padding: 60px 30px 80px;
    }
}

@media (max-width: 600px) {
    .gallery-section .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-section {
        padding: 40px 20px 60px;
    }
}

/* ============================================
   33. News詳細ページ（single.php）
============================================ */
.single-news-wrapper {
    padding-top: 80px;
    min-height: 100vh;
}

.single-news-hero {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.single-news-hero-inner {
    display: flex;
    flex-direction: column;
}

.single-news-image {
    margin-bottom: 30px;
}

.single-news-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.single-news-info {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

.single-news-date {
    font-family: var(--font-english);
    font-size: 0.85rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

.single-news-category {
    font-size: 0.75rem;
    color: var(--white);
    background: var(--primary-blue);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}

.single-news-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0;
}

.single-news-content {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 0 40px 60px;
}

.single-news-body {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 2.2;
}

.single-news-body p {
    margin-bottom: 1.5em;
}

.single-news-back {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.back-to-news {
    font-family: var(--font-english);
    font-size: 0.9rem;
    color: var(--primary-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.back-to-news:hover {
    color: var(--secondary-blue);
}

@media (max-width: 768px) {

    .single-news-hero,
    .single-news-content,
    .single-news-back {
        padding-left: 25px;
        padding-right: 25px;
    }

    .single-news-title {
        font-size: 1.4rem;
    }
}

/* ============================================
   34. お問い合わせフォーム（page-contact.php）
============================================ */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form .required {
    color: var(--required-color);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-sans);
    background: var(--white);
    margin-bottom: 20px;
    transition: border-color var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236C7A89' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 16px 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.contact-form button[type="submit"]:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   35. Shopページ情報セクション（page-shop.php）
============================================ */
.shop-intro {
    margin-bottom: 40px;
}

.shop-intro-text {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.9;
}

.no-posts-message {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 40px 20px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-color);
}

.shop-info-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.shop-info-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.shop-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.shop-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-info-bullet {
    width: 6px;
    height: 6px;
    background: var(--primary-blue);
    border-radius: 50%;
    flex-shrink: 0;
}

.shop-info-item p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin: 0;
}

.shop-info-contact {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.shop-info-contact a {
    color: var(--primary-blue);
    border-bottom: 1px solid var(--primary-blue);
    transition: color var(--transition-fast);
}

.shop-info-contact a:hover {
    color: var(--secondary-blue);
}

/* ============================================
   36. カルーセル共通スタイル
============================================ */

/* カルーセルラッパー */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    isolation: isolate;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    position: relative;
    z-index: 1;
}

.carousel-slide {
    flex: 0 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

/* カルーセル矢印ボタン */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--primary-blue);
    border: 1px solid var(--primary-blue);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 10px rgba(74, 107, 138, 0.18);
}

.carousel-arrow:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-50%) scale(1.05);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow.prev {
    left: 8px;
}

.carousel-arrow.next {
    right: 8px;
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-arrow:disabled:hover {
    background: transparent;
    border-color: var(--border-color);
    transform: translateY(-50%);
}

/* カルーセルインジケーター（ドット） */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    padding: 0;
}

.carousel-indicator:hover {
    background: var(--accent-blue);
    transform: scale(1.2);
}

.carousel-indicator.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    width: 28px;
    border-radius: 10px;
}

@media (max-width: 900px) {
    .carousel-arrow {
        width: 44px;
        height: 44px;
    }

    .carousel-arrow svg {
        width: 16px;
        height: 16px;
    }

    .carousel-arrow.prev {
        left: 4px;
    }

    .carousel-arrow.next {
        right: 4px;
    }
}

@media (max-width: 600px) {
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .carousel-arrow svg {
        width: 14px;
        height: 14px;
    }

    .carousel-arrow.prev {
        left: 2px;
    }

    .carousel-arrow.next {
        right: 2px;
    }
}

/* ============================================
   37. Newsカルーセル
============================================ */
.news-carousel-wrapper {
    position: relative;
    padding: 0 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-carousel-slide {
    flex: 0 0 calc(33.333% - 20px);
    padding: 0 10px;
    box-sizing: border-box;
}

.news-carousel-slide .news-card {
    height: 100%;
}

@media (max-width: 900px) {
    .news-carousel-wrapper {
        padding: 0 50px;
    }

    .news-carousel-slide {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .news-carousel-wrapper {
        padding: 0 45px;
    }

    .news-carousel-slide {
        flex: 0 0 calc(100% - 20px);
    }
}

/* ============================================
   38. Works統合カルーセル
============================================ */
.works-carousel-wrapper {
    position: relative;
    padding: 0 60px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.works-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.works-carousel-slide {
    flex: 0 0 calc(33.333% - 20px);
    padding: 0 10px;
    box-sizing: border-box;
}

.works-carousel-slide .work-card {
    height: 100%;
}

@media (max-width: 900px) {
    .works-carousel-wrapper {
        padding: 0 45px;
    }

    .works-carousel-slide {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .works-carousel-wrapper {
        padding: 0 40px;
    }

    .works-carousel-slide {
        flex: 0 0 calc(100% - 10px);
    }
}

/* ============================================
   39. Galleryカルーセル
============================================ */
.gallery-carousel-wrapper {
    position: relative;
    padding: 0 60px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.gallery-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-carousel-slide {
    flex: 0 0 calc(33.333% - 16px);
    padding: 0 8px;
    box-sizing: border-box;
}

.gallery-carousel-slide .gallery-item {
    margin: 0;
}

@media (max-width: 900px) {
    .gallery-carousel-wrapper {
        padding: 0 50px;
    }

    .gallery-carousel-slide {
        flex: 0 0 calc(50% - 16px);
    }
}

@media (max-width: 600px) {
    .gallery-carousel-wrapper {
        padding: 0 45px;
    }

    .gallery-carousel-slide {
        flex: 0 0 calc(100% - 16px);
    }
}

/* ============================================
   40. ポップUIアニメーション
============================================ */

/* セクションタイトル装飾強化 */
.section-title-jp::before,
.section-title-jp::after {
    transition: width var(--transition-normal);
}

.section-header:hover .section-title-jp::before,
.section-header:hover .section-title-jp::after {
    width: 60px;
}

/* ソフトグラデーション背景（より淡く自然に） */
.works-home-section {
    background: linear-gradient(180deg,
            var(--off-white) 0%,
            var(--white) 50%,
            var(--off-white) 100%);
}

.gallery-home-section {
    background: linear-gradient(180deg,
            var(--white) 0%,
            rgba(246, 248, 249, 0.8) 50%,
            var(--off-white) 100%);
}

/* View All ボタンのパルスアニメーション */
@keyframes subtlePulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(74, 107, 138, 0.15);
    }

    50% {
        box-shadow: 0 6px 20px rgba(74, 107, 138, 0.25);
    }
}

.section-more a {
    animation: none;
}

/* カルーセル再生/停止ボタン */
.carousel-control-btn {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 6px;
}

.carousel-control-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.carousel-control-btn svg {
    width: 12px;
    height: 12px;
}

/* ============================================
   41. カルーセル内カードサイズ統一
============================================ */
.news-carousel-slide .news-card,
.works-carousel-slide .work-card,
.gallery-carousel-slide .gallery-item {
    margin: 0;
    width: 100%;
}

/* カルーセル内の画像アスペクト比統一 */
.news-carousel-slide .news-card-image,
.works-carousel-slide .work-card-image {
    padding-top: 60%;
}

/* タッチデバイス用スクロールヒント */
@media (max-width: 900px) {
    .carousel-wrapper::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 40px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8));
        pointer-events: none;
        z-index: 5;
        opacity: 0;
        transition: opacity var(--transition-normal);
    }

    .carousel-wrapper:not(.at-end)::after {
        opacity: 1;
    }
}

/* ============================================
   42. ドロップダウンメニュー（ヘッダーWorks）
============================================ */
.keina-nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.keina-dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(74, 107, 138, 0.1);
    padding: 10px 0;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 1001;
}

.keina-nav-dropdown:hover .keina-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(2px);
}

.keina-dropdown-menu a {
    display: block;
    padding: 8px 20px;
    font-family: var(--font-english);
    font-size: 0.8rem;
    color: var(--text-medium) !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.keina-dropdown-menu a:hover {
    background: var(--light-blue);
    color: var(--primary-blue) !important;
}

/* ============================================
   43. Worksトップページ常時表示（always-open - 不要になったため削除）
============================================ */

/* ============================================
   44. 商品ページUI統一
============================================ */
.product-add-to-cart .single_add_to_cart_button,
.product-add-to-cart .button {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    background: var(--primary-blue) !important;
    color: var(--white) !important;
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.product-add-to-cart .single_add_to_cart_button:hover,
.product-add-to-cart .button:hover {
    background: var(--secondary-blue) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.product-meta {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.product-meta .meta-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
}

.product-meta .meta-value {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.product-section-title {
    font-family: var(--font-english);
    font-size: 1rem;
    color: var(--primary-blue);
    letter-spacing: 0.15em;
    margin: 25px 0;
    text-transform: uppercase;
}

.product-description {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 40px 50px;
}

.product-description-body {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 2.2;
}

.product-description-body p {
    margin-bottom: 1.5em;
}

.product-back {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px 60px;
}

.product-short-description {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 25px;
}

.product-placeholder-icon {
    display: block;
    width: 80px;
    height: 80px;
    background: var(--border-color);
    border-radius: 8px;
    opacity: 0.5;
}

.product-add-to-cart .quantity input {
    width: 60px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    text-align: center;
    margin-right: 10px;
}

@media (max-width: 900px) {

    .product-description,
    .product-back {
        padding-left: 25px;
        padding-right: 25px;
    }
}


/* ============================================
   45. SNSアイコンリンク修正
============================================ */
/* YouTube等がhomeに戻る問題を防止 — href="#"の場合は非表示 */
.social-icon[href="#"],
.footer-social a[href="#"] {
    display: none !important;
}

/* ============================================
   46. Newsカード上方向のクリップ防止
============================================ */
.news-card-grid {
    padding-top: 10px;
}

.news-section>.news-carousel-wrapper {
    overflow: visible;
}

/* ============================================
   47. Worksセクション表示改善（トップページ）
============================================ */
.works-category-block-item.always-open {
    margin-bottom: 35px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(74, 107, 138, 0.08);
    overflow: hidden;
}

.works-category-block-item.always-open:last-child {
    margin-bottom: 0;
}

.works-category-label-static {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    border-radius: 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(232, 238, 242, 0.6) 100%);
    border: none;
    border-bottom: 1px solid rgba(74, 107, 138, 0.1);
}

/* セクション48: セクション44に統合済み。追加のカートボタンレイアウトのみ残す */
.product-add-to-cart {
    margin-top: 20px;
    margin-bottom: 10px;
}

.product-add-to-cart form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.product-add-to-cart .quantity {
    display: flex;
    align-items: center;
}

.product-back .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-medium);
    transition: color var(--transition-fast);
}

.product-back .back-link:hover {
    color: var(--primary-blue);
}

.product-back .back-arrow {
    font-size: 1.1rem;
}

/* ============================================
   49. Newsカルーセルオーバーフロー修正
============================================ */
.news-carousel-wrapper {
    overflow: visible !important;
}

.news-carousel-wrapper .carousel-track {
    overflow: visible;
}


/* ============================================
   50. WooCommerceデフォルトスタイル上書き
============================================ */
/* WooCommerceが追加するデフォルトのカートボタン・タブを非表示 */
.woocommerce-tabs,
.product-page-wrapper .woocommerce-tabs,
.product-page-wrapper .related.products,
.product-page-wrapper .up-sells,
.woocommerce div.product form.cart:not(.product-add-to-cart form.cart) {
    display: none !important;
}

/* WooCommerceカートボタンの色統一 */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: var(--primary-blue) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 4px !important;
    font-family: var(--font-sans) !important;
    font-size: 0.9rem !important;
    padding: 14px 32px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background var(--transition-fast), transform var(--transition-fast) !important;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background-color: var(--secondary-blue) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-md) !important;
}

/* WooCommerce数量入力 */
.woocommerce .quantity .qty {
    width: 60px !important;
    padding: 10px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 6px !important;
    font-size: 1rem !important;
    text-align: center !important;
}

/* ============================================
   51. ボタンスタイル統一（全ページ共通）
============================================ */
/* More / View All 系ボタンのスタイル統一 */
.section-more a,
.work-card-link,
.shop-card-btn {
    font-family: var(--font-english);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   52. News日付・テキスト改善
============================================ */
.news-card-date {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

/* ============================================
   53. Profileページ余白改善
============================================ */
.profile-page-wrapper .profile-content {
    padding-top: 30px;
}

.profile-page-wrapper .profile-section {
    margin-bottom: 50px;
}

/* ============================================
   54. 商品ページ追加微調整
============================================ */
/* 商品画像なし - SVGアイコン */
.product-no-image svg {
    color: var(--text-light);
    opacity: 0.4;
}

/* カートフォーム内レイアウト統一 */
.product-add-to-cart .cart {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.product-add-to-cart .cart .quantity {
    margin: 0 !important;
}

/* WooCommerceメッセージの位置調整 */
.product-page-wrapper .woocommerce-message,
.product-page-wrapper .woocommerce-error,
.product-page-wrapper .woocommerce-info {
    max-width: 1000px;
    margin: 20px auto;
    border-radius: var(--radius-sm);
}

/* 空のdescription用のマージン制御 */
.product-description:empty {
    display: none;
}

/* ============================================
   55. Works アーカイブページ - View Moreボタン色統一
============================================ */
/* archive-worksページの各カード内View More */
.works-archive-wrapper .work-card-link {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* ============================================
   56. Contact フォーム改善
============================================ */
.contact-page-wrapper .contact-form input[type="text"],
.contact-page-wrapper .contact-form input[type="email"],
.contact-page-wrapper .contact-form textarea {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: border-color var(--transition-fast);
}

.contact-page-wrapper .contact-form input:focus,
.contact-page-wrapper .contact-form textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 107, 138, 0.1);
}

/* セクション57: 統合済み（セクション12に統合。下記は追加のbody背景のみ残す） */
body.keina-custom-page {
    background-color: var(--white);
}

/* セクション58: ギャラリーはセクション16に統合済み */

/* ============================================
   59. ボタン・ラベル類の視認性・統一感の向上
============================================ */
.contact-form label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
}

button[type="submit"],
input[type="submit"] {
    background: transparent;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 14px 40px;
    border-radius: 4px;
    font-weight: 400;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all var(--transition-normal);
}

button[type="submit"]:hover,
input[type="submit"]:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 107, 138, 0.2);
}

/* ============================================
   60. カードホバー時のリッチなエフェクト
============================================ */
.work-card,
.news-card {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.work-card:hover,
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 107, 138, 0.1);
}

/* ============================================
   61. セクションセパレーター
============================================ */
.section-separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 20%, var(--border-color) 80%, transparent 100%);
    margin: 0 auto;
    max-width: 800px;
    opacity: 0.6;
}

.section-separator.footer-separator {
    max-width: 100%;
    margin-top: 20px;
    opacity: 0.3;
}

/* ============================================
   62. WordPress管理バー対応
============================================ */
.admin-bar .keina-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .keina-header {
        top: 46px;
    }
}

/* ============================================
   63. ドロップダウンメニュー
============================================ */
.keina-nav-dropdown {
    position: relative;
}

.keina-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    min-width: 120px;
    padding: 8px 0;
    border-radius: 6px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
    z-index: 100;
}

.keina-nav-dropdown:hover .keina-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.keina-dropdown-menu a {
    display: block;
    padding: 6px 16px;
    font-size: 0.7rem;
    white-space: nowrap;
}

@media screen and (max-width: 900px) {
    .keina-nav-dropdown {
        text-align: center;
        flex-direction: column;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid rgba(220, 228, 236, 0.5);
    }

    .keina-nav-dropdown>a {
        display: block;
        padding: 18px 0 10px;
        font-size: 1.1rem !important;
        letter-spacing: 0.2em;
        color: var(--text-dark) !important;
    }

    .keina-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        opacity: 1;
        visibility: visible;
        padding: 0 0 14px;
        min-width: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 16px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .keina-dropdown-menu a {
        font-size: 0.75rem !important;
        padding: 6px 14px;
        color: var(--text-light) !important;
        display: inline-block;
        border: 1px solid var(--border-color);
        border-radius: 20px;
        letter-spacing: 0.08em;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .keina-dropdown-menu a:hover {
        background: var(--light-blue) !important;
        color: var(--primary-blue) !important;
        border-color: var(--primary-blue);
    }
}

/* ============================================
   64. [UIブラッシュアップ] ピアノ鍵盤の洗練
   白鍵の透明感アップ、黒鍵を柔らかく、
   鍵盤下端〜コンテンツへの遷移グラデーション追加
============================================ */
.piano-keys-container {
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.white-key {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(248, 250, 253, 0.95) 60%,
            rgba(238, 242, 245, 0.85) 100%) !important;
    border-right: 1px solid rgba(74, 107, 138, 0.08) !important;
}

.white-key:hover {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(245, 248, 252, 1) 100%) !important;
}

.black-key {
    background: linear-gradient(180deg,
            rgba(61, 81, 102, 0.55) 0%,
            rgba(74, 107, 138, 0.40) 85%,
            rgba(92, 122, 148, 0.25) 100%) !important;
    border-radius: 0 0 4px 4px !important;
}

.black-key:hover {
    background: linear-gradient(180deg,
            rgba(61, 81, 102, 0.65) 0%,
            rgba(74, 107, 138, 0.50) 85%,
            rgba(92, 122, 148, 0.35) 100%) !important;
}

/* 鍵盤コンテナ下部に微妙なシャドウ遷移 */
.piano-keys-container::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(180deg, rgba(74, 107, 138, 0.04) 0%, transparent 100%);
    pointer-events: none;
    z-index: 11;
}

/* ヘッダーナビにスクロール時の微妙なシャドウ */
.keina-header-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    transition: box-shadow 0.4s ease;
}


/* ============================================
   65. [UIブラッシュアップ] ヒーローセクション改善
   背景写真のプレゼンス向上、SNSアイコン強化
============================================ */
.hero-section::before {
    opacity: 0.5 !important;
    filter: blur(1.5px) !important;
}

/* ヒーローの高さを拡大 */
.hero-section {
    min-height: 92vh !important;
}

/* SNSアイコンにリッチなガラスモーフィズム */
.social-icon {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(74, 107, 138, 0.1);
    box-shadow: 0 2px 12px rgba(74, 107, 138, 0.08) !important;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue)) !important;
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(74, 107, 138, 0.3) !important;
}

/* スクロールインジケーター：スクロール時フェードアウト用 */
.scroll-indicator {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-indicator.hidden {
    opacity: 0 !important;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
}


/* ============================================
   66. [UIブラッシュアップ] Newsセクション改善
   プレースホルダー改善、カード統一、矢印拡大
============================================ */
/* 画像なしプレースホルダー: シンプルな背景のみ */
.no-image-placeholder {
    background: linear-gradient(135deg,
            rgba(238, 242, 245, 0.9) 0%,
            rgba(220, 228, 236, 0.6) 50%,
            rgba(238, 242, 245, 0.9) 100%) !important;
    position: relative;
    overflow: hidden;
}

.no-image-placeholder::before {
    content: none;
}

.no-image-placeholder::after {
    content: none;
}

/* カルーセル内画像比率統一 */
.news-carousel-slide .news-card-image,
.works-carousel-slide .work-card-image {
    padding-top: 56.25% !important;
}


/* ============================================
   67. [UIブラッシュアップ] 下層ページヘッダー余白改善
   スコア装飾を控えめに、ページタイトル余白をコンパクトに
============================================ */
.score-decoration-container {
    height: 70px !important;
}

.page-header {
    padding: 28px 20px 22px !important;
}

.page-header h1 {
    font-size: 2rem !important;
    letter-spacing: 0.18em !important;
}

@media (max-width: 900px) {
    .score-decoration-container {
        height: 55px !important;
    }

    .page-header {
        padding: 24px 20px 18px !important;
    }
}

@media (max-width: 600px) {
    .score-decoration-container {
        height: 40px !important;
    }

    .page-header {
        padding: 20px 15px 15px !important;
    }

    .page-header h1 {
        font-size: 1.5rem !important;
    }
}


/* ============================================
   68. [UIブラッシュアップ] フッター遷移改善
   コンテンツ→フッターの自然なグラデーション遷移
============================================ */
.keina-footer {
    position: relative;
    background: linear-gradient(180deg, #2e4458 0%, #243648 40%, #1e2f3f 100%) !important;
    padding: 60px 40px 40px !important;
}

/* フッター上部の遷移グラデーション — 削除済み（ユーザー要望） */

/* フッターロゴ */
.footer-logo {
    font-size: 1.3rem !important;
    letter-spacing: 0.2em !important;
    margin-bottom: 25px !important;
    position: relative;
}

.footer-logo::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 18px auto 0;
}

/* フッターSNSアイコン強化 */
.footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.4s ease !important;
}

.footer-social a:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* フッターナビのセパレーター */
.footer-nav a {
    position: relative;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    transition: width 0.3s ease, left 0.3s ease;
}

.footer-nav a:hover::after {
    width: 100%;
    left: 0;
}

/* コピーライト */
.footer-copyright {
    margin-top: 30px !important;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}


/* ============================================
   69. [UIブラッシュアップ] スクロールRevealアニメーション
   IntersectionObserverと連動するCSS定義
============================================ */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealScale {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(15px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Reveal対象の初期状態 */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* カード用のReveal（少し遅延を付けてカスケード効果） */
.reveal-card {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-card.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* カスケード遅延 */
.reveal-card:nth-child(1) {
    transition-delay: 0s;
}

.reveal-card:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal-card:nth-child(3) {
    transition-delay: 0.2s;
}

.reveal-card:nth-child(4) {
    transition-delay: 0.3s;
}

.reveal-card:nth-child(5) {
    transition-delay: 0.4s;
}

.reveal-card:nth-child(6) {
    transition-delay: 0.5s;
}

/* セクションヘッダー用Reveal */
.section-header {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-header.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Section More ボタン用Reveal */
.section-more {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s,
        transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.section-more.revealed {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================
   70. [UIブラッシュアップ] モバイル対応強化
============================================ */
/* モバイルでのカルーセル矢印タッチターゲット拡大 */
@media (max-width: 900px) {
    .carousel-arrow {
        width: 46px !important;
        height: 46px !important;
    }
}

@media (max-width: 600px) {
    .carousel-arrow {
        width: 42px !important;
        height: 42px !important;
    }

    /* ヒーローの高さを調整 */
    .hero-section {
        min-height: 85vh !important;
    }

    .hero-title-jp {
        font-size: 1.9rem !important;
        letter-spacing: 0.18em !important;
    }

    .hero-title-en {
        font-size: 0.95rem !important;
    }

    /* モバイルでSNSアイコンサイズ最適化 */
    .social-icon {
        width: 46px !important;
        height: 46px !important;
    }

    .social-icon svg {
        width: 19px;
        height: 19px;
    }

    /* フッターのモバイル余白 */
    .keina-footer {
        padding: 50px 25px 30px !important;
    }
}

/* モバイルナビゲーション改善 */
@media (max-width: 900px) {
    .keina-nav.nav-active {
        background: rgba(255, 255, 255, 0.97) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
    }

    .keina-nav a {
        font-size: 1.1rem !important;
        padding: 12px 0;
        transition: color 0.3s ease, letter-spacing 0.3s ease;
    }

    .keina-nav a:hover,
    .keina-nav a.current {
        letter-spacing: 0.2em;
    }
}


/* ============================================
   71. [UIブラッシュアップ] プロフィールページ視覚強化
============================================ */
.profile-hero-image img {
    border-radius: 6px !important;
    box-shadow: 0 8px 30px rgba(74, 107, 138, 0.12) !important;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.profile-hero-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(74, 107, 138, 0.18) !important;
}

/* タイムラインのドットをグラデーション化 */
.timeline-item::before {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue)) !important;
    border: 2px solid var(--white) !important;
    box-shadow: 0 0 0 3px rgba(74, 107, 138, 0.15);
}

/* 所属タグにホバーエフェクト */
.profile-affiliations span {
    transition: all 0.3s ease;
    cursor: default;
}

.profile-affiliations span:hover {
    background: var(--primary-blue) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(74, 107, 138, 0.2);
}


/* ============================================
   72. [UIブラッシュアップ] カード・ボタン マイクロインタラクション
============================================ */
/* カードホバー強化 */
.work-card:hover,
.news-card:hover,
.shop-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 35px rgba(74, 107, 138, 0.15) !important;
}

/* カード画像のズームをよりダイナミックに */
.news-card:hover .news-card-image img,
.work-card:hover .work-card-image img,
.shop-card:hover .shop-card-image img {
    transform: scale(1.06) !important;
}

/* View More ボタン改善 */
.section-more a {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.section-more a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    transition: left 0.4s ease;
    z-index: -1;
}

.section-more a:hover {
    color: var(--white) !important;
    border-color: var(--primary-blue) !important;
}

.section-more a:hover::before {
    left: 0;
}

/* View More矢印のアニメーション改善 */
.section-more a:hover::after {
    transform: translateX(6px) !important;
}

/* フォーム入力フィールドのフォーカスリング */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    box-shadow: 0 0 0 4px rgba(74, 107, 138, 0.08) !important;
    border-color: var(--primary-blue) !important;
}


/* ============================================
   73. [UIブラッシュアップ] 全体的な余白・リズム統一
============================================ */
/* セクション間の余白を拡張（ゆとりを持たせる） */
.keina-section {
    padding: 120px 40px !important;
}

.news-section {
    padding: 120px 40px !important;
}

.works-home-section {
    padding: 120px 0 !important;
}

.gallery-home-section {
    padding: 120px 40px !important;
}

@media (max-width: 900px) {
    .keina-section {
        padding: 80px 25px !important;
    }

    .news-section {
        padding: 80px 25px !important;
    }

    .works-home-section {
        padding: 80px 0 !important;
    }

    .gallery-home-section {
        padding: 80px 30px !important;
    }
}

@media (max-width: 600px) {
    .keina-section {
        padding: 70px 15px !important;
    }

    .news-section {
        padding: 70px 15px !important;
    }

    .works-home-section {
        padding: 70px 0 !important;
    }

    .gallery-home-section {
        padding: 60px 20px !important;
    }
}

/* セクションセパレーターの改善 */
.section-separator {
    height: 1px !important;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(74, 107, 138, 0.08) 15%,
            rgba(74, 107, 138, 0.15) 50%,
            rgba(74, 107, 138, 0.08) 85%,
            transparent 100%) !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

/* ト音記号をより繊細に */
.treble-clef {
    font-size: 3.5rem !important;
    opacity: 0.15 !important;
    margin-top: 25px !important;
}

/* Worksカテゴリヘッダーの装飾改善 */
.works-category-block::before {
    background: linear-gradient(90deg, transparent, var(--accent-blue), var(--primary-blue), var(--accent-blue), transparent) !important;
    height: 1px !important;
    width: 100px !important;
}

/* カルーセルインジケーターをより繊細に */
.carousel-indicator {
    width: 8px !important;
    height: 8px !important;
    transition: all 0.4s ease !important;
}

.carousel-indicator.active {
    width: 24px !important;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue)) !important;
}

/* Shopカードの画像エリアに微妙なオーバーレイ */
.shop-card-image {
    position: relative;
}

.shop-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.3));
    pointer-events: none;
}

/* ============================================
   74. [修正] Contact送信ボタン上に余白追加
   Contact Form 7のDOM構造: <form class="wpcf7-form">
   内で送信ボタンは <p> でラップされている。
   また .contact-form (テンプレート直書きフォーム) にも対応。
============================================ */
/* CF7フォーム内の送信ボタン */
.wpcf7-form .wpcf7-submit,
.wpcf7-form input[type="submit"] {
    margin-top: 30px !important;
}

/* CF7の送信ボタンを囲む <p> タグにも余白 */
.wpcf7-form p:last-of-type {
    margin-top: 25px !important;
}

/* テンプレート直書きフォーム（デモフォーム） */
.contact-form button[type="submit"],
.contact-form input[type="submit"] {
    margin-top: 30px !important;
}

/* page-content内の汎用フォーム送信ボタン */
.page-content input[type="submit"],
.page-content button[type="submit"] {
    margin-top: 30px !important;
}

/* ============================================
   76. [UIブラッシュアップ] モバイル表示総合改善
============================================ */
@media (max-width: 600px) {

    /* セクション余白の最適化 */
    .keina-section {
        padding: 50px 12px;
    }

    /* セクションタイトルの余白改善 */
    .section-title-jp {
        font-size: 1.6rem;
        letter-spacing: 0.15em;
    }

    .section-title-en {
        font-size: 0.75rem;
    }

    /* カード内余白の拡大 */
    .news-card-body,
    .work-card-body,
    .shop-card-body {
        padding: 20px 18px;
    }

    /* カードタイトルのフォント調整 */
    .news-card-title,
    .work-card-title,
    .shop-card-title {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* 詳細文のフォント調整 */
    .work-card-desc {
        font-size: 0.8rem;
        line-height: 1.6;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    /* VIEW MORE リンクをタップしやすく */
    .work-card-link,
    .shop-card-btn {
        font-size: 0.75rem;
        padding-top: 14px;
    }

    /* VIEW ALL系ボタンの改善 */
    .section-more a {
        display: inline-block;
        padding: 14px 36px;
        font-size: 0.8rem;
    }

    /* カルーセル矢印のモバイル対応 */
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .carousel-arrow svg {
        width: 16px;
        height: 16px;
    }

    /* ヒーローセクション */
    .hero-title-jp {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        padding: 0 20px;
    }

    /* Works/Shopグリッドの改善 */
    .works-grid-3,
    .shop-grid {
        gap: 20px;
        padding: 0 8px;
    }

    /* Worksカテゴリヘッダー */
    .works-page-cat-name {
        font-size: 1.6rem;
    }

    .works-page-cat-subtext {
        font-size: 0.85rem;
    }

    /* ギャラリーグリッド */
    .gallery-grid {
        gap: 12px;
    }

    /* ギャラリーオーバーレイをモバイルで常に半透明表示 */
    .gallery-card .gallery-overlay {
        opacity: 0.85;
        background: linear-gradient(to top, rgba(26, 38, 52, 0.75) 0%, transparent 70%);
    }

    .gallery-card .gallery-overlay-text {
        font-size: 0.7rem;
    }

    /* プロフィールページ */
    .profile-hero-inner {
        gap: 24px;
    }

    .profile-name-jp {
        font-size: 1.6rem;
    }

    .profile-bio {
        font-size: 0.9rem;
        line-height: 2;
    }

    /* コンタクトフォーム */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
        /* iOS zoomを防止 */
    }

    /* フッター改善 */
    .footer-nav {
        flex-wrap: wrap;
        gap: 8px 20px;
    }

    .footer-nav a {
        font-size: 0.7rem;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
    }

    /* ページヘッダー */
    .page-header {
        padding: 25px 12px 20px;
    }

    .page-header h1 {
        font-size: 1.4rem;
    }

    /* セクション区切り余白 */
    .works-page-divider {
        margin: 40px auto;
    }
}