@import 'mobile-nav.css';
@import 'filter-drawer.css';

/* ================================
   リセット & 基本設定
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Formal Academic Mode - Traditional University Design */
    --primary-color: #800000;
    /* Crimson/Maroon */
    --primary-rose: #A52A2A;
    /* Brownish Red */
    --secondary-color: #002147;
    /* Oxford Navy */
    --accent-color: #D4AF37;
    /* Gold */
    --accent-pink: #C0C0C0;
    /* Silver */
    --accent-lavender: #F5F5F5;
    /* Off-white */
    --accent-coral: #800000;
    /* Mapped to Primary */
    --text-color: #333333;
    /* Dark Gray */
    --text-light: #555555;
    /* Medium Gray */
    --text-dark: #111111;
    /* Black */
    --bg-light: #F9F9F9;
    /* Paper White */
    --bg-dark: #FFFFFF;
    /* Pure White */
    --bg-gradient: #F9F9F9;
    /* Flat Paper-like Background */
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #800000 0%, #002147 100%);
    --gradient-vibrant: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    --gradient-pink: linear-gradient(135deg, #800000 0%, #500000 100%);
    --gradient-soft: linear-gradient(135deg, #F5F5F5 0%, #E0E0E0 100%);
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 15px rgba(212, 175, 55, 0.3);
    --shadow-glow-purple: 0 0 15px rgba(0, 33, 71, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 33, 71, 0.1);
    --site-max-width: 1120px;
    --site-wide-width: min(var(--site-max-width), 90vw);
    --site-narrow-width: min(1000px, 88vw);

    /* University Co-op Theme */
    --coop-crimson: #800000;
    --coop-navy: #002147;
    --coop-gold: #D4AF37;
    --coop-gold-light: #F4E5B0;
    --coop-bg: #F5F5F0;
    --coop-card-bg: #FFFFFF;
    --coop-border: #E0E0E0;
    --coop-text-main: #2C2C2C;
    --coop-text-sub: #555555;
    --font-serif: 'Shippori Mincho', 'Yu Mincho', serif;
    --font-sans: 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: 'Shippori Mincho', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', 'HGS明朝E', 'MS PMincho', serif;
    line-height: 1.8;
    color: var(--text-color);
    overflow-x: hidden;
    background: var(--bg-light);
    position: relative;
    /* ページ遷移アニメーション */
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/skb-kosyo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50vh;
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

/* Classic Divider */
.section-divider-classic {
    height: 4px;
    border-top: 1px solid var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
    margin: 4rem auto;
    position: relative;
    width: 100%;
    max-width: 200px;
}

.section-divider-classic::after {
    content: '♦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -53%);
    background: var(--bg-light);
    padding: 0 1rem;
    color: var(--accent-color);
    font-size: 1.2rem;
}

body.mega-menu-open {
    overflow: hidden;
}

/* ページ遷移中のスタイル */
body.page-transitioning {
    opacity: 0;
    pointer-events: none;
}

.container {
    width: var(--site-wide-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ================================
   ヘッダー & ナビゲーション
   ================================ */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(233, 30, 99, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(233, 30, 99, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(233, 30, 99, 0.15);
    padding: 0.25rem 0;
}

.navbar {
    padding: 1rem 0;
    transition: padding 0.3s ease;
    position: relative;
    z-index: 10;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    width: var(--site-wide-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

/* 検索バー */
.search-bar-container {
    position: relative;
    flex: 1;
    max-width: 400px;
    margin-right: 1rem;
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(233, 30, 99, 0.2);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    background: #fff;
}

.search-bar i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    color: var(--text-dark);
    padding: 0;
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-results-bar {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(233, 30, 99, 0.1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    padding: 0.5rem;
}

.search-results-bar.active {
    display: block;
}

.search-result-item-bar {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.search-result-item-bar:hover {
    background: rgba(233, 30, 99, 0.05);
}

.search-result-icon-bar {
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.search-result-content-bar h4 {
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

.search-result-content-bar p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-content-bar mark {
    background: rgba(233, 30, 99, 0.2);
    color: var(--primary-color);
    font-weight: 600;
    padding: 0;
}

.search-more-link {
    display: block;
    padding: 0.75rem;
    text-align: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-top: 1px solid rgba(233, 30, 99, 0.1);
    transition: all 0.2s ease;
}

.search-more-link:hover {
    background: rgba(233, 30, 99, 0.05);
}

/* モバイル: メガメニューの全画面表示 */
@media (max-width: 992px) {
    .mega-menu {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        transform: translate(0, -100%);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mega-menu.open {
        transform: translate(0, 0);
    }

    .mega-menu-inner {
        padding: 1.5rem 1rem;
        min-height: 100vh;
    }

    .mega-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .mega-section {
        padding: 1rem;
    }

    .mega-links a {
        min-height: 44px;
        /* タップしやすい最小サイズ */
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .search-bar-container {
        max-width: 200px;
        margin-right: 0.5rem;
    }

    .search-input {
        font-size: 0.85rem;
    }

    .search-input::placeholder {
        font-size: 0.8rem;
    }
}

.mega-toggle {
    border: 2px solid rgba(233, 30, 99, 0.25);
    background: rgba(255, 255, 255, 0.85);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.mega-toggle i {
    color: var(--primary-color);
}

.mega-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.mega-toggle[aria-expanded="true"] {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ロゴスタイル */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    position: relative;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.logo:hover {
    background: rgba(233, 30, 99, 0.05);
    transform: translateY(-2px);
}

.logo:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

.logo-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image-wrapper img {
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(233, 30, 99, 0.2));
}

.logo:hover .logo-image-wrapper img {
    transform: rotate(-5deg) scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.65rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ナビゲーションメニュー */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link i {
    font-size: 1rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: none;
}

.nav-link span {
    display: inline-flex;
    align-items: center;
}

.nav-link:hover {
    background: rgba(233, 30, 99, 0.08);
    color: var(--primary-color);
}

.nav-link:hover i {
    transform: scale(1.1);
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(156, 39, 176, 0.1) 100%);
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 1.5rem);
}

.nav-link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.mega-menu {
    position: absolute;
    left: 50%;
    top: 100%;
    width: min(var(--site-wide-width), calc(100vw - 20px));
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.18);
    border-radius: 4px;
    padding: 2rem 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: all 0.35s ease;
    z-index: 20;
}

.mega-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.mega-menu-inner {
    width: 100%;
    max-width: var(--site-wide-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mega-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.mega-menu-header h3 {
    font-size: 1.4rem;
    margin: 0.25rem 0 0;
    color: var(--text-dark);
}

.mega-close {
    border: none;
    background: rgba(233, 30, 99, 0.1);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mega-close:hover {
    background: var(--primary-color);
    color: var(--white);
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.mega-section {
    background: rgba(248, 248, 250, 0.9);
    border-radius: 4px;
    padding: 1.25rem;
    border: 1px solid rgba(233, 30, 99, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    will-change: opacity, transform;
}

.mega-kicker {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mega-section h3 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    color: var(--text-dark);
}

.mega-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mega-links a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: var(--white);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(233, 30, 99, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mega-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(128, 0, 0, 0.05), transparent);
    transition: left 0.5s ease;
}

.mega-links a:hover::before {
    left: 100%;
}

.mega-links a:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.12);
    transform: translateY(-2px);
}

.mega-links a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.mega-links a.mega-link-current,
.mega-links a[aria-current="page"] {
    background: rgba(128, 0, 0, 0.08);
    border-color: var(--primary-color);
    border-width: 2px;
    position: relative;
}

.mega-links a.mega-link-current::before,
.mega-links a[aria-current="page"]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    border-radius: 4px 0 0 4px;
}

.mega-links a.mega-link-current .mega-link-title,
.mega-links a[aria-current="page"] .mega-link-title {
    color: var(--primary-color);
    font-weight: 700;
}

.mega-link-title {
    font-weight: 600;
    color: var(--text-dark);
}

.mega-link-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.2rem;
}

.mega-card {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.08), rgba(156, 39, 176, 0.1));
    border-radius: 4px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: 1px solid rgba(233, 30, 99, 0.15);
}

.mega-card h4 {
    margin: 0;
    font-size: 1.2rem;
}

.mega-card p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.mega-card .btn {
    align-self: flex-start;
}

/* ヘッダーCTAボタン */
.header-cta {
    display: flex;
    align-items: center;
}

.btn-header-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.btn-header-cta:active {
    transform: translateY(0);
}

.btn-header-cta i {
    font-size: 1.1rem;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    transition: background 0.3s ease;
    width: 44px;
    height: 44px;
}

.hamburger:hover {
    background: rgba(233, 30, 99, 0.1);
}

.hamburger:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.section-wave {
    width: 100%;
    height: 80px;
    margin: -1px 0 0;
    overflow: hidden;
}

.section-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.section-wave path {
    fill: #fff;
}

.section-wave.flipped path {
    fill: var(--footer-bg, #fff);
}

/* ================================
   ヒーローセクション - シンプルデザイン
   ================================ */
.hero {
    position: relative;
    min-height: 85vh;
    overflow: hidden;
    color: var(--white);
    background: #050510;
    animation: heroPulse 8s ease-in-out infinite;
}

@keyframes heroPulse {

    0%,
    100% {
        background: #050510;
    }

    50% {
        background: #0a0a1a;
    }
}

.hero-video-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    pointer-events: none;
    filter: grayscale(0.2) saturate(1.2);
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(5, 5, 15, 0.4) 25%, rgba(33, 9, 47, 0.35) 70%, rgba(5, 5, 15, 0.4) 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 6rem 1.5rem 4rem;
}

.hero-content {
    max-width: 480px;
    text-align: left;
    background: rgba(5, 5, 15, 0.5);
    border-radius: 4px;
    padding: 2rem;
    box-shadow: 0 25px 60px rgba(233, 30, 99, 0.2), 0 0 40px rgba(233, 30, 99, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(233, 30, 99, 0.3);
    animation: heroContentGlow 3s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 30px 70px rgba(233, 30, 99, 0.3), 0 0 60px rgba(233, 30, 99, 0.15);
    border-color: rgba(233, 30, 99, 0.5);
}

@keyframes heroContentGlow {

    0%,
    100% {
        box-shadow: 0 25px 60px rgba(233, 30, 99, 0.2), 0 0 40px rgba(233, 30, 99, 0.1);
    }

    50% {
        box-shadow: 0 25px 60px rgba(233, 30, 99, 0.3), 0 0 50px rgba(233, 30, 99, 0.15);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.8), rgba(156, 39, 176, 0.8));
    padding: 0.35rem 1.1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: badgeBounce 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

@keyframes badgeBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-main {
    font-size: clamp(2.2rem, 3.5vw, 3.5rem);
    margin-bottom: 0.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4), 0 0 20px rgba(233, 30, 99, 0.3);
    background: linear-gradient(135deg, #fff 0%, rgba(255, 200, 220, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroTitleShine 3s ease-in-out infinite;
}

@keyframes heroTitleShine {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.2);
    }
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    opacity: 0.95;
    line-height: 1.6;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(233, 30, 99, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.3), rgba(156, 39, 176, 0.3));
    backdrop-filter: blur(4px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    animation: pillFloat 3s ease-in-out infinite;
}

.hero-pill:nth-child(1) {
    animation-delay: 0s;
}

.hero-pill:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-pill:nth-child(3) {
    animation-delay: 1s;
}

.hero-pill:hover {
    transform: scale(1.1) translateY(-2px);
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.5), rgba(156, 39, 176, 0.5));
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

/* 縦書きキャッチコピー */
.hero-copy-vertical {
    position: absolute;
    top: 15%;
    right: 8%;
    writing-mode: vertical-rl;
    font-family: var(--font-serif, "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif);
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 10;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
}

.hero-copy-main {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-left: 1.5rem;
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
    /* フォント読み込み前でも表示されるようにフォールバック */
    background: linear-gradient(to bottom, #fff 0%, #ffebee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    /* フォント読み込み完了後に適用 */
    font-display: swap;
}

/* フォント読み込み前のフォールバック */
@supports not (-webkit-background-clip: text) {
    .hero-copy-main {
        -webkit-text-fill-color: #fff;
        color: #fff;
    }
}

.hero-copy-sub {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    font-weight: 500;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.9);
    margin-left: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    padding-right: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .hero-copy-vertical {
        top: 10%;
        right: 5%;
        font-size: clamp(1.5rem, 4vw, 3rem);
    }

    .hero-copy-main {
        font-size: clamp(1.5rem, 4vw, 3rem);
    }
}

@keyframes pillFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}


/* ================================
   サマリー & ブリーフィング
   ================================ */
.home-summary {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.05) 0%, rgba(156, 39, 176, 0.05) 50%, rgba(233, 30, 99, 0.05) 100%);
    position: relative;
    overflow: hidden;
    animation: summaryBgShift 10s ease-in-out infinite;
}

@keyframes summaryBgShift {

    0%,
    100% {
        background: linear-gradient(135deg, rgba(233, 30, 99, 0.05) 0%, rgba(156, 39, 176, 0.05) 50%, rgba(233, 30, 99, 0.05) 100%);
    }

    50% {
        background: linear-gradient(135deg, rgba(156, 39, 176, 0.05) 0%, rgba(233, 30, 99, 0.05) 50%, rgba(156, 39, 176, 0.05) 100%);
    }
}

.home-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(233, 30, 99, 0.2), transparent);
}

.summary-header {
    text-align: center;
    margin-bottom: 3rem;
}

.summary-header .section-kicker {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 0.3rem 1rem;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(156, 39, 176, 0.1));
    border-radius: 4px;
    border: 1px solid rgba(233, 30, 99, 0.2);
    animation: kickerPulse 2s ease-in-out infinite;
}

@keyframes kickerPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.summary-header h2 {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-vibrant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    filter: drop-shadow(0 2px 4px rgba(233, 30, 99, 0.2));
}

.home-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.summary-card {
    background: linear-gradient(135deg, #fff 0%, rgba(255, 245, 250, 0.8) 100%);
    border-radius: 4px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 24px rgba(233, 30, 99, 0.15), 0 0 20px rgba(233, 30, 99, 0.05);
    border: 2px solid rgba(233, 30, 99, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform-style: preserve-3d;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.summary-card:hover::before {
    transform: scaleX(1);
}

.summary-card:hover {
    transform: translateY(-12px) rotateX(5deg) scale(1.03);
    box-shadow: 0 20px 50px rgba(233, 30, 99, 0.3), 0 0 30px rgba(233, 30, 99, 0.15);
    border-color: rgba(233, 30, 99, 0.4);
    background: linear-gradient(135deg, #fff 0%, rgba(255, 240, 248, 1) 100%);
}

.summary-card--students {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
    border-color: rgba(233, 30, 99, 0.2);
}

.summary-card--students:hover {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.15) 0%, rgba(255, 255, 255, 1) 100%);
}

.summary-card--lectures {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
    border-color: rgba(156, 39, 176, 0.2);
}

.summary-card--lectures:hover {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.15) 0%, rgba(255, 255, 255, 1) 100%);
}

.summary-card--works {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
    border-color: rgba(233, 30, 99, 0.2);
}

.summary-card--works:hover {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.15) 0%, rgba(255, 255, 255, 1) 100%);
}

.summary-card--views {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
    border-color: rgba(156, 39, 176, 0.2);
}

.summary-card--views:hover {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.15) 0%, rgba(255, 255, 255, 1) 100%);
}

.summary-icon-wrapper {
    margin-bottom: 1.5rem;
    position: relative;
}

.summary-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.15) 0%, rgba(156, 39, 176, 0.15) 100%);
    color: var(--primary-color);
    font-size: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.2);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.summary-card:hover .summary-icon {
    transform: scale(1.2) rotate(10deg);
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.4), 0 0 20px rgba(233, 30, 99, 0.2);
    animation: iconSpin 0.6s ease-in-out;
}

@keyframes iconSpin {
    0% {
        transform: scale(1.2) rotate(0deg);
    }

    50% {
        transform: scale(1.3) rotate(180deg);
    }

    100% {
        transform: scale(1.2) rotate(360deg);
    }
}

.summary-card--students .summary-icon {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.15) 0%, rgba(233, 30, 99, 0.05) 100%);
}

.summary-card--lectures .summary-icon {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.15) 0%, rgba(156, 39, 176, 0.05) 100%);
}

.summary-card--works .summary-icon {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.15) 0%, rgba(233, 30, 99, 0.05) 100%);
}

.summary-card--views .summary-icon {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.15) 0%, rgba(156, 39, 176, 0.05) 100%);
}

.summary-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.summary-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    text-transform: none;
    letter-spacing: 0;
}

.summary-value {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    margin: 0 0 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 20px rgba(233, 30, 99, 0.3);
    filter: drop-shadow(0 2px 4px rgba(233, 30, 99, 0.2));
}

.summary-card:hover .summary-value {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(233, 30, 99, 0.4));
    animation: valueGlow 1s ease-in-out infinite;
}

@keyframes valueGlow {

    0%,
    100% {
        filter: drop-shadow(0 4px 8px rgba(233, 30, 99, 0.4));
    }

    50% {
        filter: drop-shadow(0 6px 12px rgba(233, 30, 99, 0.6));
    }
}

.summary-note {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    opacity: 0.8;
}

.home-briefing {
    padding: 3rem 0;
    background: #fff;
}

.home-briefing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.brief-card {
    background: #fff;
    border-radius: 4px;
    padding: 1.75rem;
    border: 1px solid rgba(233, 30, 99, 0.1);
    box-shadow: 0 18px 45px rgba(5, 5, 15, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.brief-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
}

.brief-updated {
    font-size: 0.85rem;
    color: var(--text-light);
}

.brief-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text-light);
}

.brief-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.95rem;
}

.brief-list i {
    color: var(--primary-color);
    margin-top: 0.15rem;
}

.brief-link {
    margin-top: auto;
    font-weight: 600;
    text-decoration: none;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.brief-card--news {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.08), rgba(156, 39, 176, 0.08));
}

.brief-card--news .home-news-card {
    background: #fff;
}

.brief-card--works {
    background: #050510;
    color: #fff;
}

.brief-card--works .brief-list li,
.brief-card--works p {
    color: rgba(255, 255, 255, 0.8);
}

.brief-card--works .brief-link {
    color: #fff;
}

.brief-card--lectures {
    background: #fff7fb;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.hero-carousel {
    width: min(420px, 100%);
    background: rgba(5, 5, 15, 0.55);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(5, 5, 15, 0.55);
    backdrop-filter: blur(14px);
    color: #fff;
}

.hero-carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.hero-carousel-header .section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.75rem;
    opacity: 0.7;
    margin: 0;
}

.hero-carousel-nav {
    display: flex;
    gap: 0.5rem;
}

.hero-carousel-nav button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-carousel-nav button:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero-carousel-track {
    position: relative;
}

.hero-slide {
    display: none;
    gap: 1rem;
    animation: heroSlideFade 0.6s ease;
}

.hero-slide.active {
    display: flex;
    flex-direction: column;
}

.hero-slide-thumb {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.hero-slide-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.hero-slide-duration {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(5, 5, 15, 0.6);
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.hero-slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.hero-slide h3 {
    margin: 0.35rem 0;
    font-size: 1.15rem;
}

.hero-slide p {
    margin: 0 0 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.hero-slide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.hero-carousel-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
}

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

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

@media (max-width: 992px) {
    .hero-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
        padding-top: 5rem;
    }

    .hero-content,
    .hero-carousel {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .hero-content {
        padding: 1.5rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .hero-main {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 0.6rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-pill {
        font-size: 0.7rem;
        padding: 0.25rem 0.65rem;
    }

    .hero-pill-list {
        margin-bottom: 1.2rem;
    }

    .btn-hero {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .hero-slide-thumb img {
        height: 200px;
    }
}

/* ================================
   ボタン - 正統派デザイン
   ================================ */
.btn {
    display: inline-block;
    padding: 12px 32px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    letter-spacing: 1px;
    font-family: 'Garamond', 'Georgia', serif;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--accent-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.2rem;
}

/* ================================
   統計セクション
   ================================ */
.stats {
    background: var(--white);
    color: var(--text-color);
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ================================
   実績＆証言
   ================================ */
.home-trust {
    padding: 4rem 0 2rem;
    background: radial-gradient(circle at 10% 20%, rgba(233, 30, 99, 0.08), transparent 45%),
        radial-gradient(circle at 90% 0%, rgba(156, 39, 176, 0.08), transparent 40%),
        #fff;
}

.home-trust-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.home-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.trust-card {
    background: #fff;
    border-radius: 4px;
    padding: 2rem;
    box-shadow: 0 20px 45px rgba(5, 5, 15, 0.08);
    border: 1px solid rgba(233, 30, 99, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trust-card--quote {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.12), rgba(156, 39, 176, 0.15));
    color: #fff;
    border: none;
}

.trust-quote-icon {
    font-size: 1.5rem;
}

.trust-quote {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.trust-quote-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.trust-card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.trust-label {
    color: var(--text-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.trust-chip {
    background: rgba(233, 30, 99, 0.12);
    color: var(--primary-color);
    border-radius: 999px;
    padding: 0.2rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.trust-card--quote .trust-chip {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.trust-growth-chart {
    width: 100%;
    height: 80px;
    stroke: var(--primary-color);
    stroke-width: 3;
    fill: none;
}

.trust-growth-chart circle {
    fill: var(--accent-color);
}

.trust-metrics {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.trust-metrics span {
    display: block;
    color: var(--text-light);
    font-size: 0.8rem;
}

.trust-logo-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.trust-logo-list li {
    background: rgba(5, 5, 15, 0.04);
    border-radius: 4px;
    padding: 0.65rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

.btn-small {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
}

.home-videos {
    padding: 4rem 0 1rem;
    background: linear-gradient(135deg, rgba(255, 249, 252, 0.85) 0%, rgba(255, 244, 248, 0.9) 100%);
}

.home-videos-header {
    text-align: left;
    margin-bottom: 2rem;
}

.home-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.home-video-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 245, 250, 0.9) 100%);
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid rgba(233, 30, 99, 0.2);
    box-shadow: 0 25px 45px rgba(233, 30, 99, 0.2), 0 0 20px rgba(233, 30, 99, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
}

.home-video-card a {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.home-video-card:hover {
    transform: translateY(-12px) rotateX(3deg) scale(1.02);
    box-shadow: 0 35px 60px rgba(233, 30, 99, 0.3), 0 0 30px rgba(233, 30, 99, 0.15);
    border-color: rgba(233, 30, 99, 0.4);
}

.home-video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.home-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.home-video-card:hover .home-video-thumb img {
    transform: scale(1.08);
}

.home-video-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
}

.home-video-pill {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.95), rgba(156, 39, 176, 0.95));
    color: #fff;
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
    animation: pillPulse 2s ease-in-out infinite;
}

@keyframes pillPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
    }

    50% {
        box-shadow: 0 6px 20px rgba(233, 30, 99, 0.6);
    }
}

.home-video-duration {
    position: absolute;
    bottom: 12px;
    right: 16px;
    color: #fff;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    z-index: 2;
}

.home-video-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.home-video-info h3 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.4;
}

.home-video-info p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.5;
}

.home-video-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.home-video-meta li {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.home-actions {
    padding: 4rem 0 3rem;
    background: linear-gradient(180deg, rgba(255, 245, 247, 0.7) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.home-actions-header {
    text-align: left;
    margin-bottom: 2.5rem;
}

.home-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.home-action-card {
    background: #fff;
    border-radius: 4px;
    padding: 1.75rem;
    box-shadow: 0 20px 40px rgba(233, 30, 99, 0.12);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid rgba(233, 30, 99, 0.08);
}

.home-action-card.highlight {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.12), rgba(156, 39, 176, 0.08));
    border-color: rgba(233, 30, 99, 0.2);
}

.home-action-icon {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    background: rgba(233, 30, 99, 0.1);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.home-action-card h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.home-action-card p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.home-action-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.home-action-meta i {
    color: var(--primary-color);
    margin-right: 0.35rem;
}

.home-action-footer {
    margin-top: auto;
}

.btn-block {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
}

.home-faculty {
    padding: 4rem 0 3rem;
}

.home-faculty-header {
    text-align: left;
    margin-bottom: 2.5rem;
}

.home-faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.home-faculty-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 240, 246, 0.92) 100%);
    border-radius: 4px;
    padding: 1.5rem;
    border: 1px solid rgba(233, 30, 99, 0.12);
    box-shadow: 0 18px 36px rgba(233, 30, 99, 0.08);
    backdrop-filter: blur(6px);
}

.home-faculty-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
}

.home-faculty-card p {
    margin: 0 0 0.75rem;
    color: var(--text-color);
    line-height: 1.5;
}

.home-faculty-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.home-faculty-card li::before {
    content: '•';
    color: var(--primary-color);
    margin-right: 0.4rem;
}

.home-faculty-cta {
    text-align: right;
    margin-top: 1.5rem;
}

.home-news {
    padding: 3.5rem 0;
    background: var(--bg-light);
}

.home-news-header {
    text-align: left;
    margin-bottom: 2rem;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.home-news-updated {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.35rem;
}

.home-news-card {
    background: linear-gradient(180deg, rgba(233, 30, 99, 0.06) 0%, rgba(156, 39, 176, 0.06) 100%);
    border-radius: 4px;
    padding: 1.5rem;
    border: 1px solid rgba(233, 30, 99, 0.12);
    box-shadow: 0 16px 32px rgba(233, 30, 99, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    backdrop-filter: blur(8px);
}

.home-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 48px rgba(233, 30, 99, 0.18);
}

.home-news-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0 0 0.4rem;
}

.home-news-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.home-news-card p {
    margin: 0 0 0.75rem;
    color: var(--text-color);
    line-height: 1.5;
}

.home-news-link {
    font-weight: 600;
    text-decoration: none;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.home-news-link::after {
    content: '→';
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.home-news-link:hover::after {
    transform: translateX(4px);
}

.home-faq {
    padding: 3.5rem 0 4rem;
}

.home-faq-header {
    text-align: left;
    margin-bottom: 1.5rem;
}

.home-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.home-faq-item {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 242, 247, 0.98) 100%);
    border-radius: 4px;
    padding: 1.5rem;
    border: 2px solid rgba(233, 30, 99, 0.15);
    box-shadow: 0 18px 32px rgba(233, 30, 99, 0.12), 0 0 15px rgba(233, 30, 99, 0.05);
    backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.home-faq-item:hover {
    transform: translateY(-5px) rotateX(2deg);
    box-shadow: 0 25px 45px rgba(233, 30, 99, 0.2), 0 0 25px rgba(233, 30, 99, 0.1);
    border-color: rgba(233, 30, 99, 0.3);
}

.home-faq-item h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.home-faq-item p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ================================
   セクション共通
   ================================ */
.section-kicker {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: inline-block;
    padding: 0.3rem 1rem;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(156, 39, 176, 0.1));
    border-radius: 4px;
    border: 1px solid rgba(233, 30, 99, 0.2);
    animation: kickerPulse 2s ease-in-out infinite;
    margin-bottom: 0.5rem;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1.5rem;
    background: var(--gradient-vibrant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    filter: drop-shadow(0 2px 6px rgba(233, 30, 99, 0.3));
    animation: titleShine 3s ease-in-out infinite;
}

@keyframes titleShine {

    0%,
    100% {
        filter: drop-shadow(0 2px 6px rgba(233, 30, 99, 0.3));
    }

    50% {
        filter: drop-shadow(0 4px 10px rgba(233, 30, 99, 0.5));
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: var(--gradient-vibrant);
    border-radius: 4px;
    box-shadow: var(--shadow-glow);
    animation: titleUnderline 2s ease-in-out infinite;
}

@keyframes titleUnderline {

    0%,
    100% {
        width: 120px;
        opacity: 1;
    }

    50% {
        width: 150px;
        opacity: 0.8;
    }
}

/* ================================
   理念セクション
   ================================ */
.philosophy {
    padding: 6rem 0;
    background:
        linear-gradient(135deg, rgba(255, 245, 247, 0.97) 0%, rgba(252, 228, 236, 0.95) 50%, rgba(255, 245, 247, 0.97) 100%),
        url('/images/optimized/philosophy-bg.webp');
    background-size: cover;
    background-position: center;
}

.philosophy-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.philosophy-item {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-color);
}

.philosophy-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

.philosophy-item .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.philosophy-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* ================================
   沿革 - 新しいタイムライン形式
   ================================ */
.history {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(252, 228, 236, 0.5) 0%, rgba(255, 245, 247, 0.5) 100%);
}

/* タイムラインコンテナ */
.timeline-container {
    max-width: 900px;
    margin: 4rem auto 0;
    position: relative;
    padding: 0 20px;
}

/* 縦ライン */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg,
            var(--primary-color) 0%,
            var(--accent-color) 50%,
            var(--primary-color) 100%);
    box-shadow: 0 0 10px rgba(233, 30, 99, 0.3);
}

/* タイムライン項目 */
.timeline-item {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* マーカー部分 */
.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
    border: 4px solid var(--white);
    transition: all 0.3s ease;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 30px rgba(233, 30, 99, 0.6);
    }
}

.timeline-marker.current .timeline-icon {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    }

    50% {
        box-shadow: 0 10px 40px rgba(255, 215, 0, 0.8);
    }
}

.timeline-year {
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-color);
    box-shadow: var(--shadow);
    white-space: nowrap;
    border: 2px solid var(--primary-color);
}

/* コンテンツ部分 */
.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid var(--white);
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.timeline-content.current {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 1) 50%);
    border-color: #FFD700;
}

.timeline-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.timeline-summary {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.timeline-summary strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* アコーディオントグル */
.timeline-toggle {
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.timeline-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.5);
}

.timeline-toggle i {
    transition: transform 0.3s ease;
}

.timeline-toggle.active i {
    transform: rotate(180deg);
}

/* 詳細コンテンツ */
.timeline-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, margin-top 0.5s ease;
    margin-top: 0;
}

.timeline-detail.active {
    max-height: 2000px;
    margin-top: 1.5rem;
}

.timeline-detail p {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.timeline-detail h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
}

/* 教授陣カードグリッド */
.professor-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.professor-mini-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.professor-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    background: var(--white);
}

.professor-mini-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 auto 0.75rem;
    box-shadow: var(--shadow);
}

.professor-mini-info strong {
    display: block;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.professor-mini-info p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

/* 成長統計 */
.growth-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.growth-stat-item {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.08) 0%, rgba(156, 39, 176, 0.08) 100%);
    padding: 1.5rem;
    border-radius: 4px;
    text-align: center;
    border: 2px solid rgba(233, 30, 99, 0.15);
    transition: all 0.3s ease;
}

.growth-stat-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.2);
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.15) 0%, rgba(156, 39, 176, 0.15) 100%);
}

.growth-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.growth-number i {
    font-size: 1.2rem;
    vertical-align: middle;
}

.growth-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* YouTube CTA */
.youtube-cta {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05) 0%, rgba(233, 30, 99, 0.05) 100%);
    border-radius: 4px;
    border: 2px solid rgba(255, 0, 0, 0.2);
    text-align: center;
}

.youtube-cta-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.youtube-cta-text i {
    color: #FF0000;
    font-size: 1.5rem;
}

.btn-youtube {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-youtube:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .timeline-container::before {
        left: 40px;
    }

    .timeline-item {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .timeline-marker {
        flex-direction: row;
        align-items: center;
    }

    .timeline-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .timeline-content::before {
        display: none;
    }

    .professor-cards-grid {
        grid-template-columns: 1fr;
    }

    .growth-stats {
        grid-template-columns: 1fr;
    }

    .timeline-title {
        font-size: 1.3rem;
    }

    .timeline-toggle {
        width: 100%;
        justify-content: center;
    }
}

/* ================================
   学部プレビュー
   ================================ */
.faculties-preview {
    padding: 6rem 0;
}

.faculties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faculty-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(233, 30, 99, 0.15);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.faculty-card:nth-child(1) {
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%),
        url('/images/optimized/faculty-1.webp');
}

.faculty-card:nth-child(2) {
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%),
        url('/images/optimized/faculty-1.webp');
}

.faculty-card:nth-child(3) {
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%),
        url('/images/optimized/faculty-3.webp');
}

.faculty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.5s;
}

.faculty-card:hover::before {
    transform: scaleX(1);
}

.faculty-card:hover {
    border-color: rgba(220, 20, 60, 0.3);
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 60px rgba(220, 20, 60, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.faculty-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.faculty-card p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* ================================
   学生の声セクション
   ================================ */
.testimonials {
    padding: 6rem 0;
    background: var(--white);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    margin-top: -2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 5px solid transparent;
    border-image: var(--gradient) 1;
    position: relative;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 8rem;
    color: rgba(220, 20, 60, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(220, 20, 60, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 249, 250, 1) 100%);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.student-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.student-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    color: var(--text-color);
}

.student-info p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonial-rating {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
}

/* ================================
   学長セクション
   ================================ */
.president {
    padding: 6rem 0;
    background:
        linear-gradient(135deg, rgba(255, 245, 247, 0.95) 0%, rgba(252, 228, 236, 0.9) 100%),
        url('/images/optimized/president-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.president-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.president-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s;
}

.president-photo:hover {
    transform: scale(1.05) rotate(5deg);
}

.president-text h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.president-title {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.president-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ================================
   ニュースセクション
   ================================ */
.news {
    padding: 6rem 0;
}

.news-grid {
    display: grid;
    gap: 2rem;
}

.news-item {
    background: var(--white);
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateX(10px);
}

.news-date {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.news-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.news-item p {
    color: var(--text-light);
}

/* ================================
   CTAセクション
   ================================ */
.cta {
    background:
        linear-gradient(135deg, rgba(233, 30, 99, 0.95) 0%, rgba(156, 39, 176, 0.9) 100%),
        url('/images/optimized/cta-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
    animation: ctaGlow 4s ease-in-out infinite;
}

@keyframes ctaGlow {

    0%,
    100% {
        box-shadow: inset 0 0 50px rgba(233, 30, 99, 0.3);
    }

    50% {
        box-shadow: inset 0 0 80px rgba(233, 30, 99, 0.5);
    }
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.2);
    animation: ctaTitleFloat 3s ease-in-out infinite;
}

@keyframes ctaTitleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.cta::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.1), transparent 60%);
}

/* ================================
   フッター
   ================================ */
.footer {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.95) 0%, rgba(156, 39, 176, 0.9) 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ================================
   アニメーション
   ================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

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

/* ================================
   レスポンシブ
   ================================ */
@media (max-width: 992px) {

    /* タブレット向けナビゲーション調整 */
    .nav-menu {
        gap: 0.25rem;
    }

    .nav-controls {
        margin-left: auto;
    }

    .mega-toggle {
        padding: 0.4rem 0.85rem;
        font-size: 0.85rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .mega-menu {
        padding: 1.5rem 0;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .header-cta {
        margin-left: 0.5rem;
    }

    .btn-header-cta {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .logo-title {
        font-size: 1.3rem;
    }

    .home-faculty-cta {
        text-align: center;
    }
}

@media (max-width: 768px) {

    /* モバイルナビゲーション */
    .navbar .container {
        gap: 1rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        height: 100vh;
        text-align: left;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
        padding: 5rem 2rem 2rem;
        gap: 0;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-link {
        justify-content: flex-start;
        gap: 0.75rem;
    }

    .nav-link i {
        display: inline-block;
        font-size: 1.25rem;
        opacity: 0.9;
    }

    .nav-link span {
        display: none;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-controls {
        width: 100%;
        justify-content: flex-end;
    }

    .mega-toggle {
        font-size: 0.85rem;
        padding: 0.35rem 0.75rem;
    }

    .mega-menu {
        position: fixed;
        inset: 0;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 0;
        padding: 4.5rem 1.5rem 2rem;
        box-shadow: none;
        overflow-y: auto;
    }

    .mega-menu-inner {
        padding: 0;
    }

    .mega-menu-header {
        flex-direction: column;
    }

    .mega-grid {
        grid-template-columns: 1fr;
    }

    .mega-card {
        order: -1;
    }

    .nav-link {
        padding: 1rem 1.5rem;
        border-radius: 4px;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }

    .nav-link i {
        font-size: 1.2rem;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .header-cta {
        display: none;
    }

    .logo {
        padding: 0.25rem;
    }

    .logo-image-wrapper img {
        width: 40px;
        height: 40px;
    }

    .logo-title {
        font-size: 1.2rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
    }

    .header.scrolled {
        padding: 0.125rem 0;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    /* ヒーローセクション */
    .hero-main {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    /* セクション共通 */
    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* 学長セクション */
    .president-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .president-placeholder {
        margin: 0 auto;
    }

    /* カリキュラム */
    .year-header {
        flex-direction: column;
        text-align: center;
    }

    .semester-grid {
        grid-template-columns: 1fr;
    }

    .path-timeline::before {
        left: 20px;
    }

    .path-item,
    .path-item:nth-child(even) {
        flex-direction: column;
    }

    .path-content {
        width: 100%;
        margin-left: 3rem;
    }

    .path-dot {
        left: 20px;
    }

    /* ブログ */
    .featured-post {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* 入学案内 */
    .tuition-table {
        overflow-x: auto;
    }

    .process-step {
        flex-direction: column;
    }

    .form-container {
        padding: 2rem;
    }

    /* お問い合わせ */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form-container {
        padding: 2rem;
    }

    .map-placeholder {
        height: 300px;
    }

    .home-action-grid {
        grid-template-columns: 1fr;
    }

    .home-action-card {
        padding: 1.25rem;
    }

    .home-faculty-grid,
    .home-news-grid,
    .home-faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   Page Header (Subpages)
   ================================ */
.page-header {
    background: var(--gradient);
    color: var(--white);
    padding: 3rem 0 4rem 0;
    text-align: center;
    margin-top: 0;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* ================================
   Common Section Styles
   ================================ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
}

.info-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--bg-light);
    display: flex;
    align-items: flex-start;
}

.info-card li:last-child {
    border-bottom: none;
}

.info-card li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.8rem;
    flex-shrink: 0;
}

/* ================================
   Form Styles
   ================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--bg-light);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.required {
    color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ================================
   Blog Styles
   ================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-category {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.blog-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    text-decoration: underline;
}

.featured-post {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.featured-post .blog-image {
    height: 100%;
    min-height: 400px;
}

/* ================================
   Curriculum Styles
   ================================ */
.curriculum-section {
    padding: 6rem 0;
}

.year-section {
    margin-bottom: 5rem;
}

.year-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.year-badge {
    background: var(--gradient);
    color: var(--white);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.year-number {
    font-size: 2rem;
}

.year-label {
    font-size: 1rem;
}

.year-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.year-info p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.semester-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.semester-card {
    background: var(--white);
    border-radius: 4px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.semester-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.course-list {
    list-style: none;
}

.course-item {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: var(--bg-light);
    border-radius: 5px;
    transition: all 0.3s;
}

.course-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.course-code {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: bold;
}

.course-name {
    font-weight: bold;
    margin-top: 0.3rem;
}

.course-credits {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.3rem;
}

.graduation-requirements {
    background: var(--bg-light);
    padding: 4rem 0;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.requirement-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
    box-shadow: var(--shadow);
}

.requirement-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.requirement-label {
    font-size: 1.1rem;
    color: var(--text-light);
}

.learning-path {
    padding: 4rem 0;
}

.path-timeline {
    position: relative;
    padding: 2rem 0;
}

.path-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient);
}

.path-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.path-item:nth-child(even) {
    flex-direction: row-reverse;
}

.path-content {
    width: 45%;
    background: var(--white);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.path-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--primary-color);
}

/* ================================
   Faculties Detail Styles
   ================================ */
.faculties-detail {
    padding: 6rem 0;
}

.faculty-section {
    margin-bottom: 6rem;
    scroll-margin-top: 100px;
}

.faculty-header {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 4px;
    margin-bottom: 3rem;
}

.faculty-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.faculty-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.course-card {
    background: var(--white);
    border-radius: 4px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.course-number {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.course-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.course-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.features {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 4px;
    margin-top: 2rem;
}

.features h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.features ul {
    list-style: none;
    padding-left: 0;
}

.features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ================================
   Admission Styles
   ================================ */
.admission-section {
    padding: 6rem 0;
}

.tuition-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

.tuition-table {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.tuition-table table {
    width: 100%;
    border-collapse: collapse;
}

.tuition-table th,
.tuition-table td {
    padding: 1.5rem;
    text-align: left;
}

.tuition-table th {
    background: var(--gradient);
    color: var(--white);
    font-weight: bold;
}

.tuition-table tr:nth-child(even) {
    background: var(--bg-light);
}

.tuition-highlight {
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
    margin-top: 2rem;
    font-size: 1.3rem;
    font-weight: bold;
}

.application-process {
    padding: 4rem 0;
}

.process-steps {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.process-step:hover {
    transform: translateX(10px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.application-form {
    background: var(--bg-light);
    padding: 4rem 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.faq-section {
    padding: 4rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    background: var(--bg-light);
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--white);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-item.active .faq-question::after {
    content: '−';
}

/* ================================
   Contact Page Styles
   ================================ */
.contact-section {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 4px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.info-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-content a:hover {
    text-decoration: underline;
}

.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.contact-form-container h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.map-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

.map-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow);
    text-align: center;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-light);
}

.office-hours {
    padding: 4rem 0;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.hours-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow);
    text-align: center;
}

.hours-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hours-card .time {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.hours-card .note {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ================================
   Blog Section Styles
   ================================ */
.blog-section {
    padding: 6rem 0;
}

/* ================================
   Knowledge Base Styles
   ================================ */

/* ナレッジベース イントロ */
.knowledge-intro {
    background: linear-gradient(135deg, #FFF5F7 0%, #F8E8EE 50%, #FFF5F7 100%);
    padding: 4rem 0;
    text-align: center;
}

.knowledge-intro .intro-content {
    margin-bottom: 3rem;
}

.knowledge-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.knowledge-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.popular-keywords {
    max-width: 800px;
    margin: 0 auto;
}

.popular-keywords h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.keyword-tag {
    padding: 0.6rem 1.5rem;
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.keyword-tag:hover {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 検索セクション */
.knowledge-search {
    background: var(--bg-light);
    padding: 3rem 0;
    border-bottom: 2px solid var(--glass-border);
}

.search-box {
    display: flex;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.search-box input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid var(--glass-border);
    border-radius: 4px;
    background: var(--white);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.search-box button {
    padding: 1rem 2rem;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.search-stats {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

.search-stats strong {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* 講義リスト */
.knowledge-list {
    padding: 4rem 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-duration {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
}

.video-content {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.video-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.video-title a:hover {
    color: var(--primary-color);
}

.video-excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-outline:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.2);
}

/* モーダル */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--white);
    border-radius: 4px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.transcript-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.transcript-text {
    line-height: 2;
    color: var(--text-color);
    font-size: 1rem;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* メッセージ */
.loading,
.no-results,
.error-message {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.loading p,
.no-results p,
.error-message p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.no-results p:first-child,
.error-message p:first-child {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ヒーローセクション（小） */
.hero-small {
    padding: 4rem 0 3rem;
    min-height: auto;
}

.hero-small .hero-content {
    text-align: center;
}

.hero-small .hero-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-small .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box button {
        width: 100%;
    }

    .video-actions {
        flex-direction: column;
    }

    .video-actions .btn {
        width: 100%;
    }

    .modal-content {
        max-height: 95vh;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .transcript-meta {
        flex-direction: column;
    }

    .transcript-meta .btn {
        width: 100%;
    }
}

/* ================================
   Professors Page Styles
   ================================ */

/* スポットライトセクション（学長） */
.professor-spotlight {
    padding: 6rem 0;
    background: var(--bg-light);
}

.spotlight-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.spotlight-image {
    position: relative;
    text-align: center;
}

.spotlight-photo {
    max-width: 100%;
    margin: 0 auto;
}

.spotlight-photo img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.professor-avatar {
    width: 120px;
    height: 120px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
    transition: all 0.3s ease;
}

.professor-avatar:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

.professor-avatar.large {
    width: 250px;
    height: 250px;
    font-size: 3.5rem;
}

.spotlight-badge {
    display: inline-block;
    background: var(--gradient-vibrant);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-md);
}

.spotlight-text h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.professor-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.professor-specialty {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.professor-bio {
    background: var(--white);
    padding: 2rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.professor-bio p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.professor-bio p:last-child {
    margin-bottom: 0;
}

.professor-achievements {
    background: var(--white);
    padding: 2rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.professor-achievements h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.professor-achievements ul {
    list-style: none;
    padding: 0;
}

.professor-achievements li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    color: var(--text-color);
}

.professor-achievements li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.professor-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* 教授陣グリッド */
.professors-section {
    padding: 6rem 0;
}

.professors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.professor-card {
    background: var(--white);
    border-radius: 4px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.professor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.professor-card.upcoming {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(252, 228, 236, 0.3) 100%);
    border: 2px dashed var(--glass-border);
}

.professor-card.upcoming:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(252, 228, 236, 0.5) 100%);
}

.professor-info {
    width: 100%;
    margin-top: 1.5rem;
}

.professor-info h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.professor-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.professor-description {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 4px;
    text-align: left;
}

.professor-description p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 0.95rem;
}

.professor-courses {
    margin-top: 1.5rem;
    text-align: left;
}

.professor-courses h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.professor-courses ul {
    list-style: none;
    padding: 0;
}

.professor-courses li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--text-color);
    font-size: 0.9rem;
}

.professor-courses li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ゲスト講師セクション */
.guest-lecturers {
    padding: 6rem 0;
    background: var(--bg-light);
}

.guest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.guest-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 4px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.guest-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.guest-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(128, 0, 0, 0.1) 0%, rgba(0, 33, 71, 0.1) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.guest-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    display: inline-block;
}

.guest-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.guest-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .spotlight-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .spotlight-photo img {
        max-width: 300px;
    }

    .professor-avatar.large {
        width: 180px;
        height: 180px;
        font-size: 2.5rem;
    }

    .spotlight-text h2 {
        font-size: 2rem;
    }

    .professor-bio,
    .professor-achievements {
        text-align: left;
    }

    .professor-links {
        justify-content: center;
    }

    .professors-grid {
        grid-template-columns: 1fr;
    }

    .guest-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   新規追加スタイル
   ================================ */

/* ヒーローセクション - 追加要素（シンプル版） */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
}

.btn-secondary-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.btn-secondary-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s;
    z-index: -1;
}

.btn-secondary-outline:hover::before {
    left: 0;
}

.btn-secondary-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* ================================
   年表/ギャラリー
   ================================ */
.home-chronicle {
    padding: 4.5rem 0;
    background: linear-gradient(180deg, rgba(254, 247, 255, 0.9), #fff);
}

.home-chronicle-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.chronicle-layout {
    display: grid;
    grid-template-columns: minmax(280px, 35%) minmax(0, 1fr);
    gap: 2rem;
}

.chronicle-timeline {
    position: relative;
    padding-left: 1.75rem;
}

.chronicle-timeline::before {
    content: '';
    position: absolute;
    left: 0.4rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(233, 30, 99, 0.6), rgba(156, 39, 176, 0.6));
    border-radius: 999px;
}

.chronicle-node {
    margin-bottom: 2rem;
    padding-left: 1rem;
    position: relative;
}

.chronicle-node:last-child {
    margin-bottom: 0;
}

.chronicle-node h3 {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
}

.chronicle-node p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

.chronicle-node::before {
    content: '';
    position: absolute;
    left: -1.4rem;
    top: 0.35rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 6px rgba(233, 30, 99, 0.15);
}

.chronicle-node ul {
    margin: 0.5rem 0 0;
    padding-left: 1rem;
    color: var(--text-light);
}

.chronicle-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.chronicle-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 35px rgba(5, 5, 15, 0.12);
    border: 1px solid rgba(233, 30, 99, 0.08);
    display: flex;
    flex-direction: column;
}

.chronicle-card figure {
    margin: 0;
    position: relative;
}

.chronicle-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.chronicle-card figcaption {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background: rgba(5, 5, 15, 0.6);
    color: #fff;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
}

.chronicle-card-content {
    padding: 1rem;
}

.chronicle-card-content h3 {
    margin: 0 0 0.35rem;
}

.chronicle-card-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .chronicle-layout {
        grid-template-columns: 1fr;
    }

    .chronicle-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

.trust-timeline-badge.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.trust-timeline-badge.crimson {
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
}

.trust-timeline-badge.melon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.trust-timeline-badge.community {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* 現在進行中マーカー */
.trust-timeline-marker.current .trust-timeline-icon {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(245, 158, 11, 0.8);
    }
}

/* タイムラインコンテンツ */
.trust-timeline-content {
    background: var(--white);
    padding: 2rem 2.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.trust-timeline-content:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.trust-timeline-content.current {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(252, 211, 77, 0.05) 100%);
}

.trust-timeline-title {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.trust-timeline-summary {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* 統計表示 */
.trust-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 4px;
}

.trust-stat-item {
    text-align: center;
}

.trust-stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.trust-stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

/* 実績表示 */
.trust-achievement {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 4px;
    margin-top: 1.5rem;
}

.trust-achievement-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.trust-achievement-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-start;
}

.trust-achievement-label {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
}

.trust-achievement-meta {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
}

.trust-achievement-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* ソーシャルリンク */
.trust-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.trust-social-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    color: var(--white);
    transition: all 0.3s ease;
}

.trust-social-link.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.trust-social-link.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.trust-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.trust-social-link i {
    font-size: 1.3rem;
}

.trust-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.trust-links .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.trust-video {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
    border: 1px solid rgba(233, 30, 99, 0.15);
}

.trust-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.trust-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.trust-video-caption {
    padding: 1.5rem;
}

.trust-video-caption h4 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.trust-video-caption p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

/* 人気講義動画セクション */
.featured-videos {
    padding: 6rem 0;
    background: var(--white);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.video-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.video-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.youtube-cta-center {
    text-align: center;
    margin-top: 3rem;
}

.btn-youtube-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-youtube-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 0, 0, 0.4);
}

/* FAQセクション */
.faq {
    padding: 6rem 0;
    background: var(--bg-light);
}

.faq-grid {
    max-width: 900px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-soft);
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.faq-text {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-toggle {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-question[aria-expanded="true"]+.faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    padding-left: 3.5rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-social-proof {
        gap: 1rem;
    }

    .proof-number {
        font-size: 1.5rem;
    }

    .proof-label {
        font-size: 0.75rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero {
        width: 100%;
        max-width: 300px;
    }

    .hero-trust {
        flex-direction: column;
        gap: 1rem;
    }

    .trust-timeline-container::before {
        left: 20px;
    }

    .trust-timeline-item {
        padding-left: 70px;
    }

    .trust-timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .trust-timeline-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
        top: 50px;
    }

    .trust-timeline-content {
        padding: 1.5rem;
    }

    .trust-timeline-title {
        font-size: 1.3rem;
    }

    .trust-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .trust-stat-number {
        font-size: 1.5rem;
    }

    .trust-achievement {
        flex-direction: column;
        text-align: center;
    }

    .trust-achievement-text {
        align-items: center;
    }

    .trust-social-links {
        flex-direction: column;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .faq-answer p {
        padding-left: 1rem;
    }

    .faq-text {
        font-size: 1rem;
    }
}

/* ================================
   パンくずリスト
   ================================ */
.breadcrumb {
    background: rgba(255, 255, 255, 0.5);
    padding: 1rem 0;
    margin: 0 auto 1.5rem auto;
    width: var(--site-narrow-width);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--text-light);
    font-size: 1.2rem;
}

.breadcrumb-list a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.breadcrumb-list li[aria-current="page"] {
    color: var(--text-light);
    font-weight: 500;
}

/* ================================
   学部ナビゲーション
   ================================ */
.faculties-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(233, 30, 99, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(233, 30, 99, 0.08);
}

.nav-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.faculty-filter {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.filter-btn.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.faculty-jump-menu {
    position: relative;
}

.jump-menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.jump-menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.jump-menu-toggle svg {
    transition: transform 0.3s ease;
}

.jump-menu-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.jump-menu-list {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    list-style: none;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.jump-menu-list.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.jump-menu-list li {
    margin: 0;
}

.jump-menu-list a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.jump-menu-list a:hover {
    background: var(--gradient-soft);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* 学部セクションのフィルタリング */
.faculty-section {
    transition: all 0.3s ease;
}

.faculty-section.hidden {
    display: none;
    opacity: 0;
}

/* 学部カラー */
.faculty-section[data-year-type="required-1-2"] .faculty-header h2::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-right: 0.5rem;
}

.faculty-section[data-year-type="required-3-4"] .faculty-header h2::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    margin-right: 0.5rem;
}

.faculty-section[data-year-type="elective"] .faculty-header h2::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--accent-coral);
    border-radius: 50%;
    margin-right: 0.5rem;
}

/* 学科カードのアコーディオン */
.course-card[data-expandable] {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* パフォーマンス最適化 */
    will-change: transform, box-shadow;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.course-card-header {
    position: relative;
}

.course-expand-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-soft);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.course-expand-btn:hover {
    background: var(--gradient);
    color: white;
    transform: scale(1.1);
}

.course-expand-btn svg {
    transition: transform 0.3s ease;
}

.course-expand-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.course-card-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
    margin-top: 0;
    /* パフォーマンス最適化 */
    will-change: max-height, opacity;
}

.course-card[data-expandable].expanded .course-card-details {
    max-height: 500px;
    opacity: 1;
    padding: 1.5rem;
    margin-top: 1rem;
    border-top: 2px solid var(--gradient-soft);
}

.course-card-details h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    margin-top: 1rem;
}

.course-card-details h4:first-child {
    margin-top: 0;
}

.course-card-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-card-details ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.course-card-details ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.course-card-details p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ホバーエフェクト */
.course-card[data-expandable]:hover {
    transform: translateY(-5px) translateZ(0);
    box-shadow: var(--shadow-lg);
}

.course-card[data-expandable].expanded {
    box-shadow: var(--shadow-xl);
}

/* レンダリング最適化 */
.course-card:not(.rendered) {
    content-visibility: auto;
    contain-intrinsic-size: 0 400px;
}

.course-card.rendered {
    content-visibility: visible;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .faculties-nav {
        padding: 0.75rem 0;
    }

    .nav-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .faculty-filter {
        justify-content: center;
    }

    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    .faculty-jump-menu {
        width: 100%;
    }

    .jump-menu-toggle {
        width: 100%;
        justify-content: center;
    }

    .jump-menu-list {
        right: auto;
        left: 0;
        width: 100%;
        min-width: auto;
    }

    .course-expand-btn {
        width: 28px;
        height: 28px;
    }

    .course-card[data-expandable].expanded .course-card-details {
        padding: 1rem;
    }

    /* グリッドを1カラムに */
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* 学部セクションの余白を調整 */
    .faculty-section {
        padding: 2rem 0;
    }

    .faculty-header h2 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* タブレット対応 */
@media (max-width: 1024px) and (min-width: 769px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

/* ================================
   書籍セクション
   ================================ */
.books-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #FFF5F7 0%, #FCE4EC 50%, #FFF5F7 100%);
}

.book-showcase {
    max-width: 900px;
    margin: 0 auto;
}

.book-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    transition: all 0.4s ease;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* 書籍画像部分 */
.book-image-wrapper {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, #F8BBD0 0%, #FCE4EC 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: var(--shadow);
    z-index: 2;
}

.book-image-link {
    display: block;
    transition: transform 0.3s ease;
}

.book-image-link:hover {
    transform: scale(1.05);
}

.book-cover-placeholder {
    width: 250px;
    height: 350px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.book-cover-placeholder:hover {
    box-shadow: var(--shadow-xl);
}

.book-cover-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.book-cover-placeholder p {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    padding: 0 1rem;
    line-height: 1.5;
}

/* 実際の書籍画像 */
.book-cover-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    object-fit: cover;
}

.book-cover-image:hover {
    box-shadow: var(--shadow-xl);
}

/* 書籍コンテンツ部分 */
.book-content {
    padding: 2rem 2rem 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.book-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.book-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 1rem;
}

.book-author i {
    color: var(--primary-color);
}

.book-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.book-rating .stars {
    display: flex;
    gap: 0.2rem;
    color: #FFB300;
    font-size: 1.1rem;
}

.rating-text {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
}

.book-price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin: 0.5rem 0;
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.price-value {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.book-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0.5rem 0;
}

.book-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.book-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.book-detail-item i {
    color: var(--primary-color);
    width: 20px;
}

.book-cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-amazon {
    background: linear-gradient(135deg, #FF9900 0%, #FF6600 100%);
    color: var(--white);
    padding: 0.9rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
    flex: 1;
    justify-content: center;
}

.btn-amazon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
}

.btn-secondary-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.9rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.btn-secondary-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.book-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 4px;
}

.book-note i {
    color: var(--primary-color);
}

/* ================================
   トップページ 書籍プロモーション
   ================================ */
.home-book-promo {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(255, 242, 247, 0.5) 0%, rgba(255, 255, 255, 1) 50%, rgba(248, 251, 255, 0.5) 100%);
    position: relative;
    overflow: hidden;
}

.home-book-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(233, 30, 99, 0.2), transparent);
}

.book-promo-header {
    text-align: center;
    margin-bottom: 3rem;
}

.book-promo-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.book-promo-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(233, 30, 99, 0.1);
    transition: all 0.3s ease;
    max-width: 1000px;
    margin: 0 auto;
}

.book-promo-card:hover {
    box-shadow: 0 12px 48px rgba(233, 30, 99, 0.15);
    transform: translateY(-4px);
}

.book-promo-image-wrapper {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(135deg, #F8BBD0 0%, #FCE4EC 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-promo-image-link {
    display: block;
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
}

.book-promo-image-link:hover {
    transform: scale(1.05);
}

.book-promo-cover-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    min-height: 200px;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: block;
    object-fit: contain;
}

.book-promo-cover-image:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.book-promo-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.5rem 0;
}

.book-promo-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.book-promo-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.book-promo-author i {
    color: var(--primary-color);
}

.book-promo-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.25rem 0;
}

.book-promo-rating .stars {
    display: flex;
    gap: 0.2rem;
    color: #FFB300;
    font-size: 1rem;
}

.book-promo-price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin: 0.5rem 0;
}

.book-promo-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0.5rem 0;
}

.book-promo-cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.book-promo-cta-group .btn {
    flex: 1;
    min-width: 200px;
}

.book-promo-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: var(--bg-light);
    border-radius: 4px;
}

.book-promo-note i {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .book-promo-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }

    .book-promo-image-wrapper {
        padding: 1rem;
    }

    .book-promo-cover-image {
        max-width: 200px;
    }

    .book-promo-title {
        font-size: 1.5rem;
    }

    .book-promo-cta-group {
        flex-direction: column;
    }

    .book-promo-cta-group .btn {
        width: 100%;
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .book-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .book-image-wrapper {
        padding: 1.5rem;
    }

    .book-cover-placeholder {
        width: 200px;
        height: 280px;
    }

    .book-cover-placeholder i {
        font-size: 3rem;
    }

    .book-cover-placeholder p {
        font-size: 1.1rem;
    }

    .book-cover-image {
        max-width: 220px;
    }

    .book-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    .book-title {
        font-size: 1.5rem;
    }

    .price-value {
        font-size: 1.5rem;
    }

    .book-cta-group {
        flex-direction: column;
    }

    .btn-amazon,
    .btn-secondary-outline {
        width: 100%;
    }
}

/* ================================
   推奨作品セクション（FANZA/DLsite）
   ================================ */

.works-hero {
    padding: 5rem 0 3rem;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.08) 0%, rgba(156, 39, 176, 0.08) 100%), url('/images/optimized/cta-bg.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.works-hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3), transparent 40%), radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.25), transparent 45%);
    pointer-events: none;
}

.works-hero>.container {
    position: relative;
}

.works-hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

/* タブレット対応 */
@media (max-width: 1024px) and (min-width: 769px) {
    .works-hero-grid {
        gap: 2rem;
    }
}

.works-hero-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 4px;
    padding: 2.5rem;
    box-shadow: 0 30px 60px rgba(233, 30, 99, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.works-hero-points {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    color: var(--text-dark);
}

.works-hero-points li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.works-hero-points i {
    color: var(--primary-color);
}

.works-hero-highlight {
    background: rgba(15, 23, 42, 0.95);
    color: #fff;
    border-radius: 4px;
    padding: 2rem;
    box-shadow: 0 40px 70px rgba(15, 23, 42, 0.4);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Works Content Section */
.works-content {
    padding: 4rem 0 5rem;
    background: #fff;
    position: relative;
    overflow: visible;
}

.works-hero-highlight figure {
    margin: 0;
    border-radius: 4px;
    overflow: hidden;
}

.works-hero-highlight img {
    width: 100%;
    display: block;
}

.highlight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.highlight-stepper {
    display: inline-flex;
    gap: 0.5rem;
}

.highlight-nav {
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
}

.highlight-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.highlight-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.highlight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.highlight-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.highlight-figure {
    margin: 0;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.highlight-figure figcaption {
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    color: rgba(255, 255, 255, 0.85);
}

.recommended-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    min-width: 0;
    flex-wrap: wrap;
}

.works-refresh-control {
    flex-shrink: 0;
}

.works-search-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.works-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    border: 1px solid rgba(233, 30, 99, 0.2);
    box-shadow: 0 12px 25px rgba(233, 30, 99, 0.15);
    width: 100%;
    max-width: 500px;
}

.works-search input {
    border: none;
    background: transparent;
    font-size: 0.95rem;
    padding: 0.6rem 0.3rem;
    flex: 1;
    min-width: 0;
}

.works-search input:focus {
    outline: none;
}

.works-search-hint {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
    padding-left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.works-search-hint i {
    color: var(--primary-color);
    opacity: 0.7;
    font-size: 0.75rem;
}

.works-filter-toolbar {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.works-filter-toolbar::-webkit-scrollbar {
    height: 6px;
}

.works-filter-toolbar::-webkit-scrollbar-track {
    background: rgba(233, 30, 99, 0.05);
    border-radius: 3px;
}

.works-filter-toolbar::-webkit-scrollbar-thumb {
    background: rgba(233, 30, 99, 0.2);
    border-radius: 3px;
}

.works-filter-toolbar::-webkit-scrollbar-thumb:hover {
    background: rgba(233, 30, 99, 0.3);
}

.works-toolbar {
    position: static;
    top: auto;
    z-index: 15;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 4px;
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(233, 30, 99, 0.12);
    backdrop-filter: blur(10px);
    margin-top: 0;
}

@media (min-width: 1024px) {
    .works-toolbar {
        position: static;
        top: auto;
        margin-top: 0;
    }
}

.recommended-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

@media (max-width: 768px) {

    .recommended-filter,
    .platform-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding-bottom: 0.5rem;
    }

    .recommended-filter::-webkit-scrollbar,
    .platform-filter::-webkit-scrollbar {
        height: 4px;
    }

    .recommended-filter::-webkit-scrollbar-track,
    .platform-filter::-webkit-scrollbar-track {
        background: rgba(233, 30, 99, 0.05);
        border-radius: 2px;
    }

    .recommended-filter::-webkit-scrollbar-thumb,
    .platform-filter::-webkit-scrollbar-thumb {
        background: rgba(233, 30, 99, 0.2);
        border-radius: 2px;
    }

    .filter-pill,
    .platform-pill {
        flex-shrink: 0;
    }
}

.platform-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.works-state {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(233, 30, 99, 0.1);
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.works-state-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
    flex: 1;
}

.works-sort-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.works-sort-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    flex-shrink: 0;
}

.works-sort-label i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.works-sort-select {
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(233, 30, 99, 0.3);
    border-radius: 6px;
    background: white;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 0;
    max-width: 100%;
}

.works-sort-select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.15);
}

.works-sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.works-summary {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.works-active-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.works-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(233, 30, 99, 0.3);
    background: rgba(233, 30, 99, 0.08);
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    font-size: 0.85rem;
    color: var(--primary-color);
    cursor: pointer;
}

.works-chip button {
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.work-card.hidden {
    display: none;
}

.work-card--fallback {
    border: 1px dashed rgba(233, 30, 99, 0.3);
}

.filter-pill {
    border: 1px solid rgba(233, 30, 99, 0.2);
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    background: #fff;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-pill:hover {
    border-color: rgba(233, 30, 99, 0.4);
    background: rgba(233, 30, 99, 0.05);
    transform: translateY(-1px);
}

.filter-pill.active {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(233, 30, 99, 0.3);
    font-weight: 600;
    transform: translateY(-1px);
}

.filter-pill:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.2);
}

.platform-pill {
    border: 1px solid rgba(233, 30, 99, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(5, 5, 15, 0.03);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.platform-pill:hover {
    border-color: rgba(233, 30, 99, 0.3);
    background: rgba(233, 30, 99, 0.08);
    transform: translateY(-1px);
}

.platform-pill.active {
    background: rgba(233, 30, 99, 0.15);
    color: var(--primary-color);
    border-color: rgba(233, 30, 99, 0.5);
    box-shadow: 0 8px 18px rgba(233, 30, 99, 0.2);
    font-weight: 600;
    transform: translateY(-1px);
}

.platform-pill:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.2);
}

/* プラットフォームタブ */
.platform-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.platform-tab {
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.platform-tab:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.platform-tab.active {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow);
}

/* 作品グリッド */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 0;
}

/* タブレット対応 */
@media (max-width: 1024px) and (min-width: 769px) {
    .works-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

/* 年齢確認通知 */
.recommended-notice {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 1.75rem 2rem;
    margin: 2.5rem 0 2rem;
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.08);
    border: 1px solid rgba(233, 30, 99, 0.12);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.recommended-notice-icon {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.15), rgba(156, 39, 176, 0.15));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recommended-notice-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.recommended-notice>div:nth-child(2) {
    flex: 1;
    min-width: 200px;
}

.recommended-notice h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.recommended-notice p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

.recommended-notice-cta {
    flex-shrink: 0;
}

.recommended-notice-cta .btn {
    white-space: nowrap;
}

/* 最新情報紹介 */
.featured-actress-intro {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.05), rgba(156, 39, 176, 0.05));
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin: 2rem 0 2.5rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 12px rgba(233, 30, 99, 0.06);
}

.featured-actress-intro p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.7;
}

.featured-actress-intro strong {
    color: var(--text-dark);
    font-weight: 600;
}

@media (max-width: 768px) {
    .recommended-notice {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }

    .recommended-notice-icon {
        width: 3rem;
        height: 3rem;
    }

    .recommended-notice-icon i {
        font-size: 1.5rem;
    }

    .recommended-notice-cta {
        width: 100%;
    }

    .recommended-notice-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .featured-actress-intro {
        padding: 1.25rem 1.5rem;
    }
}

.works-empty {
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 228, 236, 0.4) 100%);
    box-shadow: 0 8px 32px rgba(233, 30, 99, 0.12), inset 0 0 0 1px rgba(233, 30, 99, 0.15);
    color: var(--text-color);
    max-width: 600px;
    margin: 3rem auto;
    border: 1px solid rgba(233, 30, 99, 0.1);
}

.empty-state-icon {
    margin-bottom: 1.5rem;
}

.empty-state-icon i {
    font-size: 4.5rem;
    color: var(--primary-color);
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.works-empty:hover .empty-state-icon i {
    transform: scale(1.1);
}

.empty-state-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.empty-state-message {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.empty-state-suggestions {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    border: 1px solid rgba(233, 30, 99, 0.1);
}

.empty-state-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.empty-state-tips {
    list-style: none;
    padding: 0;
    margin: 0;
}

.empty-state-tips li {
    padding: 0.6rem 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: color 0.2s ease;
}

.empty-state-tips li:hover {
    color: var(--text-dark);
}

.empty-state-tips li i {
    color: var(--primary-color);
    font-size: 1rem;
    opacity: 0.9;
}

.works-empty .btn {
    margin-top: 0.5rem;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
}

.work-card.hidden {
    display: none;
}

.work-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.work-card[data-platform="fanza"] {
    display: block;
}

.work-card[data-platform="dlsite"] {
    display: block;
}

/* 作品画像部分 */
.work-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #F8BBD0 0%, #FCE4EC 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.work-image-link {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 4px;
    overflow: hidden;
}

.work-feature-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.work-platform-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: var(--shadow);
    z-index: 2;
}

.work-platform-badge.fanza {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
}

.work-platform-badge.dlsite {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
}

.work-platform-badge.amazon {
    background: linear-gradient(135deg, #FFAF00 0%, #FF9100 100%);
}

.work-platform-badge.general {
    background: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 100%);
}

.work-age-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(245, 0, 87, 0.85);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    z-index: 2;
}

.work-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.work-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.work-placeholder p {
    font-size: 0.9rem;
    font-weight: 600;
}

/* 作品コンテンツ */
.work-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.work-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
}

.work-description {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.work-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 0.75rem 0;
    border-top: 1px solid rgba(233, 30, 99, 0.1);
    border-bottom: 1px solid rgba(233, 30, 99, 0.1);
}

.work-genre,
.work-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.work-rating i {
    color: #FFB300;
}

.work-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* 作品ボタン */
.btn-work-fanza,
.btn-work-dlsite {
    padding: 0.9rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-work-fanza {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.btn-work-fanza:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-work-dlsite {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

.btn-work-dlsite:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.btn-work-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(233, 30, 99, 0.15);
    color: var(--text-color);
    transition: all 0.2s ease;
}

.btn-work-action.action-video {
    background: rgba(233, 30, 99, 0.1);
    color: var(--primary-color);
    border-color: transparent;
}

.btn-work-action.action-amazon {
    color: #ff9900;
}

.btn-work-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

/* アフィリエイト通知 */
.affiliate-notice {
    margin: 3rem 0;
    padding: 1.5rem;
    background: rgba(233, 30, 99, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

.affiliate-notice-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.affiliate-notice-content i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.affiliate-notice h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.affiliate-notice p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* プラットフォーム情報カード */
.platform-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.platform-info-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.platform-info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.platform-info-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
}

.fanza-card .platform-info-header {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
}

.dlsite-card .platform-info-header {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
}

.platform-info-header i {
    font-size: 1.8rem;
}

.platform-info-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.platform-info-body {
    padding: 1.5rem;
}

.platform-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(233, 30, 99, 0.1);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platform-description {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .works-hero {
        padding: 3rem 0 2rem;
    }

    .works-content {
        padding: 2.5rem 0 3rem;
    }

    .works-hero-content,
    .works-hero-highlight {
        padding: 1.75rem;
    }

    .works-hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .works-search-wrapper {
        width: 100%;
    }

    .works-search {
        width: 100%;
        max-width: 100%;
    }

    .works-search input {
        width: 100%;
    }

    .works-search-hint {
        font-size: 0.75rem;
        padding-left: 0.5rem;
    }

    .works-state {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .works-sort-control {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .works-sort-select {
        width: 100%;
    }


    .works-toolbar {
        position: static;
        box-shadow: none;
        background: transparent;
        padding: 0;
        backdrop-filter: none;
        margin-top: 0;
    }

    .works-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .platform-tabs {
        gap: 0.5rem;
    }

    .platform-tab {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .work-image-wrapper {
        height: 180px;
    }

    .platform-info-cards {
        grid-template-columns: 1fr;
    }
}

/* ================================
   学部紹介ページ専用スタイル
   ================================ */

/* ページヘッダーの統計情報 */
.page-header-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 2rem;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 120px;
}

.stat-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(233, 30, 99, 0.2);
}

.stat-badge .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-badge .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

/* 学科カードの詳細情報 */
.course-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(255, 107, 107, 0.1) 100%);
    border-left: 3px solid var(--primary);
    border-radius: 4px;
}

.course-highlight i {
    color: var(--primary);
    font-size: 1.1rem;
}

.course-highlight span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

/* YouTube講義セクション */
.youtube-lectures {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fff5f7 0%, #fef0f3 100%);
}

.lecture-cta-box {
    background: white;
    border-radius: 4px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
}

.lecture-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lecture-icon i {
    font-size: 2.5rem;
    color: white;
}

.lecture-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.lecture-content p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.lecture-features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.lecture-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-color);
}

.lecture-features i {
    color: #4CAF50;
    font-size: 1.1rem;
}

.lecture-cta {
    display: flex;
    align-items: center;
}

.btn-youtube-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap;
}

/* 関連コンテンツセクション */
.related-content {
    padding: 5rem 0;
    background: white;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.content-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(233, 30, 99, 0.15);
}

.content-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(233, 30, 99, 0.95);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    z-index: 10;
}

.content-badge.fanza {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
}

.content-badge.dlsite {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
}

.book-card-mini img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.work-card-mini .work-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(255, 107, 107, 0.1) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.work-card-mini .work-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.content-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 1rem 1.5rem 0.5rem;
    line-height: 1.4;
}

.content-card .author,
.content-card .description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0 1.5rem 0.5rem;
}

.content-card .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.5rem 1.5rem 1rem;
}

.content-card .btn-small {
    margin: 0 1.5rem 1.5rem;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    width: calc(100% - 3rem);
}

/* CTA複数ボタン */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .lecture-cta-box {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .lecture-icon {
        margin: 0 auto;
    }

    .lecture-features {
        grid-template-columns: 1fr;
    }

    .lecture-cta {
        justify-content: center;
    }

    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header-stats {
        gap: 1rem;
    }

    .stat-badge {
        padding: 1rem 1.5rem;
        min-width: 100px;
    }

    .stat-badge .stat-number {
        font-size: 2rem;
    }

    .lecture-cta-box {
        padding: 2rem 1.5rem;
    }

    .lecture-content h3 {
        font-size: 1.2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* プリント用スタイル */
@media print {

    .page-header-stats,
    .youtube-lectures,
    .related-content,
    .header-cta,
    .course-expand-btn,
    .cta {
        display: none !important;
    }

    .course-card-details {
        display: block !important;
        max-height: none !important;
    }

    .faculty-section {
        page-break-inside: avoid;
    }
}

/* ================================
   初心者向けガイドセクション
   ================================ */
.intro-guide {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fff5f7 0%, rgba(255, 250, 252, 0.8) 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.intro-guide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(233, 30, 99, 0.03), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(156, 39, 176, 0.03), transparent 50%);
    pointer-events: none;
    animation: introBgFloat 12s ease-in-out infinite;
}

@keyframes introBgFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

.intro-header {
    text-align: center;
    margin-bottom: 4rem;
}

.intro-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    counter-reset: step;
}

.intro-step-card {
    background: linear-gradient(135deg, white 0%, rgba(255, 245, 250, 0.9) 100%);
    padding: 2.5rem 2rem;
    border-radius: 4px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.15), 0 0 15px rgba(233, 30, 99, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(233, 30, 99, 0.15);
    transform-style: preserve-3d;
}

.intro-step-card:hover {
    transform: translateY(-10px) rotateY(5deg) scale(1.03);
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.25), 0 0 25px rgba(233, 30, 99, 0.1);
    border-color: rgba(233, 30, 99, 0.3);
    background: linear-gradient(135deg, white 0%, rgba(255, 240, 248, 1) 100%);
}

.intro-step-card::before {
    counter-increment: step;
    content: "STEP " counter(step);
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4), 0 0 10px rgba(233, 30, 99, 0.2);
    animation: stepBadgeFloat 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes stepBadgeFloat {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-3px);
    }
}

.intro-icon {
    width: 90px;
    height: 90px;
    margin: 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(156, 39, 176, 0.1));
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 2.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.2);
    animation: introIconFloat 3s ease-in-out infinite;
}

.intro-step-card:hover .intro-icon {
    transform: scale(1.15) rotate(360deg);
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

@keyframes introIconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.intro-step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.intro-step-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ヒーローセクション調整 */
.hero-main {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* クイックリンクカード */
.intro-quick-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, white 0%, rgba(255, 245, 250, 0.9) 100%);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-dark);
    border: 2px solid rgba(233, 30, 99, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 140px;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.1);
    position: relative;
    overflow: hidden;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(156, 39, 176, 0.1));
    transition: left 0.4s;
    z-index: -1;
}

.quick-link-card:hover::before {
    left: 0;
}

.quick-link-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px) scale(1.05) rotate(2deg);
    box-shadow: 0 12px 30px rgba(233, 30, 99, 0.25), 0 0 20px rgba(233, 30, 99, 0.15);
    color: var(--primary-color);
    background: linear-gradient(135deg, white 0%, rgba(255, 240, 248, 1) 100%);
}

.quick-link-card i {
    font-size: 2.2rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(233, 30, 99, 0.2));
}

.quick-link-card:hover i {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 4px 8px rgba(233, 30, 99, 0.4));
}

.quick-link-card span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* 簡略化された実績セクション */
.home-trust-simple {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(255, 250, 252, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.home-trust-simple::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.03) 0%, transparent 70%);
    animation: trustBgRotate 20s linear infinite;
    pointer-events: none;
}

@keyframes trustBgRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.trust-simple-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.trust-simple-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.trust-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 4px;
}

.trust-stat:hover {
    transform: scale(1.1);
    background: rgba(233, 30, 99, 0.05);
    border-radius: 4px;
}

.trust-stat strong {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(233, 30, 99, 0.3));
    transition: all 0.3s ease;
    background-clip: text;
}

.trust-stat span {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
}

.trust-simple-note {
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* 簡略化された学部セクション */
.home-faculty-simple {
    padding: 5rem 0;
    background: linear-gradient(135deg, white 0%, rgba(255, 245, 250, 0.5) 100%);
    position: relative;
    overflow: hidden;
}

.home-faculty-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(233, 30, 99, 0.05), transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(156, 39, 176, 0.05), transparent 50%);
    pointer-events: none;
    animation: facultyBgMove 15s ease-in-out infinite;
}

@keyframes facultyBgMove {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

.faculty-simple-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.faculty-simple-content h2 {
    margin: 1rem 0 1.5rem;
    font-size: 2rem;
}

.faculty-simple-content p {
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* 学部ハイライト（カード形式） */
.home-faculty-highlight {
    padding: 5rem 0;
    background: linear-gradient(135deg, white 0%, rgba(255, 245, 250, 0.5) 100%);
    position: relative;
    overflow: hidden;
}

.home-faculty-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(233, 30, 99, 0.05), transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(156, 39, 176, 0.05), transparent 50%);
    pointer-events: none;
    animation: facultyBgMove 15s ease-in-out infinite;
}

.home-faculty-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.home-faculty-header h2 {
    margin: 1rem 0 1.5rem;
    font-size: 2rem;
}

.home-faculty-header p {
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.8;
}

.home-faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.home-faculty-card {
    background: white;
    border: 2px solid rgba(233, 30, 99, 0.1);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.1);
}

.home-faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.2);
    border-color: rgba(233, 30, 99, 0.3);
}

.faculty-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(156, 39, 176, 0.1) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.faculty-card-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.home-faculty-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.faculty-card-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 500;
}

.faculty-card-desc {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.faculty-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.faculty-card-link:hover {
    color: var(--primary-rose);
    gap: 0.75rem;
}

.faculty-card-link i {
    transition: transform 0.3s ease;
}

.faculty-card-link:hover i {
    transform: translateX(3px);
}

.home-faculty-footer {
    text-align: center;
    margin-top: 2rem;
}

/* 最新講義ハイライトのフッター */
.home-videos-footer {
    text-align: center;
    margin-top: 3rem;
}

/* 折りたたみ可能なFAQ */
.home-faq-collapsible {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(255, 248, 250, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.home-faq-collapsible::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(233, 30, 99, 0.3), transparent);
    animation: faqLineMove 3s ease-in-out infinite;
}

@keyframes faqLineMove {

    0%,
    100% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }
}

.faq-toggle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.faq-toggle-all {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid rgba(233, 30, 99, 0.2);
    border-radius: 4px;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-toggle-all:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.faq-toggle-all[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-toggle-all i {
    transition: transform 0.3s ease;
}

.faq-question-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, white 0%, rgba(255, 245, 250, 0.8) 100%);
    border: 2px solid rgba(233, 30, 99, 0.1);
    border-radius: 4px;
    text-align: left;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.1);
}

.faq-question-toggle:hover {
    background: linear-gradient(135deg, rgba(255, 245, 250, 1) 0%, rgba(255, 240, 248, 1) 100%);
    border-color: rgba(233, 30, 99, 0.3);
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.15);
}

.faq-question-toggle h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.faq-question-toggle i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-question-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer-collapsed {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-question-toggle[aria-expanded="true"]+.faq-answer-collapsed {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer-collapsed p {
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
}

/* セクション間の余白を増やす */
.hero {
    padding-bottom: 8rem;
}

.home-summary {
    padding: 5rem 0;
}

.intro-guide {
    padding: 8rem 0;
}

.home-videos {
    padding: 8rem 0;
}

.home-faculty-simple,
.home-faculty-highlight {
    padding: 8rem 0;
}

.home-faq-collapsible {
    padding: 8rem 0;
}

.cta {
    padding: 8rem 0;
}

@media (max-width: 768px) {
    .intro-guide {
        padding: 4rem 0;
    }

    .intro-step-card {
        padding: 2rem 1.5rem;
    }

    .intro-quick-links {
        flex-direction: column;
        align-items: stretch;
    }

    .quick-link-card {
        width: 100%;
    }

    .trust-simple-stats {
        gap: 2rem;
    }

    .trust-stat strong {
        font-size: 2rem;
    }

    .faq-toggle-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .faq-toggle-all {
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding-bottom: 5rem;
    }

    .home-summary {
        padding: 3rem 0;
    }

    .summary-header {
        margin-bottom: 2rem;
    }

    .summary-header h2 {
        font-size: 1.5rem;
    }

    .home-summary-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .summary-card {
        padding: 1.5rem 1rem;
    }

    .summary-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .summary-value {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .intro-guide,
    .home-videos,
    .home-faculty-simple,
    .home-faculty-highlight,
    .home-faq-collapsible,
    .cta {
        padding: 5rem 0;
    }

    .home-faculty-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .home-faculty-card {
        padding: 1.5rem;
    }

    @media (max-width: 480px) {
        .home-summary-grid {
            grid-template-columns: 1fr;
        }
    }
}

/* ================================
   Formal Card Styles (Added for Redesign)
   ================================ */
.summary-card,
.course-card,
.professor-card,
.home-video-card,
.home-action-card,
.home-faculty-card,
.mega-card,
.intro-step-card,
.quick-link-card,
.content-card,
.blog-card,
.guest-card,
.book-card {
    border: 1px solid rgba(0, 33, 71, 0.15);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    background: #fff;
    border-radius: 4px;
    /* Ensure override */
}

.summary-card:hover,
.course-card:hover,
.professor-card:hover,
.home-video-card:hover,
.home-action-card:hover,
.home-faculty-card:hover,
.intro-step-card:hover,
.quick-link-card:hover,
.content-card:hover,
.blog-card:hover,
.guest-card:hover,
.book-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* ================================
   University Co-op Theme Components
   ================================ */

/* Background Pattern */
.bg-academic-pattern {
    background-color: var(--coop-bg);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.5) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.5) 2px, transparent 2px),
        linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
}

/* OPAC Panel (Search & Filter) */
.opac-panel {
    background: var(--coop-card-bg);
    border: 1px solid var(--coop-gold);
    border-radius: 8px;
    padding: 1.5rem;
    padding-top: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 33, 71, 0.1);
    margin: 0 0 3rem 0;
    margin-top: 2.5rem;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.opac-panel::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 1.5rem;
    width: 180px;
    height: 2px;
    background: var(--coop-gold);
    z-index: 2;
}

.opac-panel::after {
    content: 'OPAC SYSTEM';
    position: absolute;
    top: -14px;
    left: 1.5rem;
    background: var(--coop-navy);
    color: var(--coop-gold);
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 0;
    border-top: 2px solid var(--coop-gold);
    border-left: 2px solid var(--coop-gold);
    border-right: 2px solid var(--coop-gold);
    border-bottom: none;
    font-weight: 700;
    letter-spacing: 2px;
    z-index: 3;
    line-height: 1.4;
    text-transform: uppercase;
    font-family: var(--font-sans);
    white-space: nowrap;
}

/* Academic Card (Syllabus Style) */
.card-academic {
    background: var(--coop-card-bg);
    border: 1px solid var(--coop-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column !important;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card-academic:hover {
    border-color: var(--coop-gold);
    box-shadow: 0 8px 24px rgba(0, 33, 71, 0.15);
    transform: translateY(-4px);
}

.card-academic::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--coop-navy);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-academic:hover::after {
    opacity: 1;
}

/* Syllabus Button */
.btn-syllabus {
    background: var(--coop-navy);
    color: var(--white);
    border: 1px solid var(--coop-navy);
    padding: 0.625rem 1.25rem;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.btn-syllabus:hover {
    background: var(--coop-crimson);
    border-color: var(--coop-crimson);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 33, 71, 0.2);
}

.btn-syllabus i {
    color: var(--coop-gold);
    font-size: 1rem;
}

.btn-syllabus.action-video {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    border-color: rgba(255, 0, 0, 0.2);
}

.btn-syllabus.action-video:hover {
    background: rgba(255, 0, 0, 0.15);
    border-color: rgba(255, 0, 0, 0.3);
    color: #cc0000;
}

.btn-syllabus.action-video i {
    color: #ff0000;
}

.btn-syllabus.action-fanza {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
    border-color: transparent;
    color: var(--white);
}

.btn-syllabus.action-fanza:hover {
    background: linear-gradient(135deg, #FF5252 0%, #E53935 100%);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
    color: var(--white);
}

.btn-syllabus.action-fanza i {
    color: var(--white);
}

.btn-syllabus.action-amazon {
    background: rgba(255, 153, 0, 0.1);
    color: #ff9900;
    border-color: rgba(255, 153, 0, 0.2);
}

.btn-syllabus.action-amazon:hover {
    background: rgba(255, 153, 0, 0.15);
    border-color: rgba(255, 153, 0, 0.3);
    color: #cc7700;
}

.btn-syllabus.action-amazon i {
    color: #ff9900;
}

/* Academic Card Details */

@media (max-width: 768px) {
    .card-academic {
        flex-direction: column;
    }

    .card-academic .work-content {
        padding: 1.25rem;
        gap: 0.875rem;
    }

    .card-academic .work-title {
        font-size: 1.1rem;
    }

    .card-academic .work-meta-list {
        font-size: 0.85rem;
    }

    .card-academic .work-actions {
        flex-direction: column;
    }

    .btn-syllabus {
        width: 100%;
    }
}

.card-academic .work-image-wrapper {
    width: 100%;
    position: relative;
    aspect-ratio: 4/3;
    /* DMM動画ジャケットの実際のアスペクト比（横長）に合わせて調整 */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: block;
    overflow: hidden;
}

.card-academic .work-image-link {
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

.work-feature-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease, opacity 0.3s ease;
    border-radius: 2px;
}

.card-academic:hover .work-feature-image {
    transform: scale(1.05);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .card-academic .work-image-wrapper {
        width: 100%;
        aspect-ratio: 4/3;
        /* デスクトップと同じアスペクト比 */
    }
}

.card-academic .work-content {
    padding: 1.5rem 1.5rem 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.work-course-id {
    font-family: monospace;
    color: var(--coop-text-sub);
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    opacity: 0.7;
    letter-spacing: 0.5px;
}

.card-academic .work-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--coop-text-main);
    line-height: 1.5;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-academic .work-meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--coop-text-sub);
    line-height: 1.5;
}

.card-academic .meta-label {
    font-weight: 600;
    color: var(--coop-navy);
    margin-right: 0.5rem;
    min-width: 80px;
    display: inline-block;
}

.card-academic .work-actions {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid rgba(0, 33, 71, 0.08);
}

.card-academic .work-actions .btn-syllabus {
    width: 100%;
    flex: none;
}

.card-academic .work-tag-list {
    margin: 0.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.card-academic .work-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 33, 71, 0.05);
    border: 1px solid rgba(0, 33, 71, 0.1);
    border-radius: 12px;
    color: var(--coop-text-sub);
    font-weight: 500;
    transition: all 0.2s ease;
}

.card-academic:hover .work-tag {
    background: rgba(0, 33, 71, 0.08);
    border-color: rgba(0, 33, 71, 0.15);
}

.card-academic .work-tag:hover {
    background: rgba(0, 33, 71, 0.12);
    border-color: rgba(0, 33, 71, 0.25);
    transform: translateY(-1px);
}
/* ================================
   Mobile Footer Optimization
   ================================ */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 6rem; /* Increase bottom padding for mobile nav */
        text-align: center;
    }

    .footer-content {
        gap: 2.5rem;
    }

    .footer-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-section h4 {
        width: 100%;
        text-align: center;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 0.5rem;
        max-width: 200px;
        margin-bottom: 1.5rem;
    }

    /* Sitemap 2-column grid */
    nav.footer-section ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem 1.5rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        text-align: left;
    }

    nav.footer-section ul li {
        margin-bottom: 0;
        display: flex;
        align-items: center;
    }

    nav.footer-section ul li a {
        display: block;
        width: 100%;
        padding: 0.25rem 0;
        font-size: 0.95rem;
    }

    .footer-bottom {
        padding-bottom: env(safe-area-inset-bottom);
    }
}
