/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* モダンカラーパレット */
    --primary-color: #1a365d;
    --primary-light: #2c5282;
    --secondary-color: #319795;
    --secondary-light: #38b2ac;
    --accent-color: #ed8936;
    --accent-light: #f6ad55;
    --text-color: #2d3748;
    --text-light: #718096;
    --text-muted: #a0aec0;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #319795 100%);
    --gradient-accent: linear-gradient(135deg, #319795 0%, #38b2ac 100%);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    overflow-x: hidden;
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ナビゲーション */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    text-decoration: none;
}

.nav-brand h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    position: relative;
}

.nav-menu a:hover {
    color: var(--secondary-color);
    background: rgba(49, 151, 149, 0.08);
}

.nav-menu a.active {
    color: var(--secondary-color);
    background: rgba(49, 151, 149, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.hamburger:hover {
    background: var(--bg-light);
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* メインビジュアル */
.hero {
    background: var(--gradient-primary);
    color: white;
    padding: 120px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content .hero-affiliation {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.hero-content .hero-tagline {
    font-size: 1.25rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    font-weight: 400;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ページヘッダー */
.page-header {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.page-header p {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
}

/* セクション共通 */
.section {
    padding: 100px 24px;
}

.bg-light {
    background: var(--bg-light);
}

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

/* ボタン */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 14px rgba(49, 151, 149, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 151, 149, 0.45);
}

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

.btn-outline:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* カード共通スタイル */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

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

/* 研究室について */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 2;
    color: var(--text-color);
    font-size: 1.05rem;
}

.about-link {
    text-align: center;
    margin-top: 2.5rem;
}

.greeting-content {
    max-width: 800px;
    margin: 0 auto;
}

.greeting-content p {
    margin-bottom: 1.5rem;
    line-height: 2;
    font-size: 1.05rem;
}

/* メンバー */
.members-category {
    margin-bottom: 4rem;
}

.members-category h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.members-category h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

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

.faculty-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.faculty-grid .member-photo {
    width: 180px;
    height: 180px;
}

.student-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.member-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.member-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.member-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--border-color) 100%);
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.member-title {
    color: var(--secondary-color);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-weight: 500;
    background: rgba(49, 151, 149, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
}

.member-comment {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.member-theme {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.member-theme::before {
    content: '研究テーマ：';
    font-weight: 600;
    color: var(--primary-color);
}

.researchmap-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.25rem;
    background: var(--gradient-accent);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(49, 151, 149, 0.3);
}

.researchmap-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 151, 149, 0.4);
}

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

.members-list li {
    padding: 1.25rem 1.5rem;
    background: var(--bg-white);
    margin-bottom: 0.75rem;
    border-left: 4px solid var(--secondary-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.members-list li:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.student-name {
    font-weight: 600;
    margin-right: 1rem;
    color: var(--primary-color);
}

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

/* 研究テーマ */
.research-themes {
    max-width: 800px;
    margin: 0 auto;
}

.theme-year {
    margin-bottom: 3rem;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.theme-year h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--secondary-color);
    font-weight: 600;
}

.theme-year h4 {
    color: var(--text-color);
    font-size: 1rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

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

.theme-list li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
    padding-left: 1.5rem;
    position: relative;
}

.theme-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
}

/* 研究業績 */
.researchmap-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.researchmap-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.researchmap-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.researchmap-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.researchmap-card .position {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.publications-year {
    margin-bottom: 3rem;
}

.publications-year h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.publications-year h3::before {
    content: '';
    width: 4px;
    height: 28px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.publications-year h4 {
    color: var(--text-color);
    font-size: 1rem;
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--secondary-color);
    font-weight: 600;
}

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

.publications-list li {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--bg-white);
    border-radius: var(--radius);
    line-height: 1.8;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.publications-list li:hover {
    box-shadow: var(--shadow);
    border-color: transparent;
}

.pub-authors {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.pub-title {
    display: block;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.pub-venue {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
}

.books-list li {
    background: linear-gradient(135deg, rgba(49, 151, 149, 0.05) 0%, rgba(56, 178, 172, 0.05) 100%);
}

.links-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.links-list li {
    margin-bottom: 0.75rem;
}

.links-list a {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--bg-white);
    color: var(--text-color);
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    font-weight: 500;
}

.links-list a::after {
    content: '→';
    margin-left: auto;
    color: var(--secondary-color);
    transition: var(--transition);
}

.links-list a:hover {
    background: var(--secondary-color);
    color: white;
    border-color: transparent;
    transform: translateX(4px);
}

.links-list a:hover::after {
    color: white;
    transform: translateX(4px);
}

/* 受験生へ */
.feature-list {
    list-style: none;
    max-width: 600px;
    margin: 2.5rem auto 0;
}

.feature-list li {
    padding: 1.25rem 1.25rem 1.25rem 3.5rem;
    margin-bottom: 0.75rem;
    background: var(--bg-white);
    border-radius: var(--radius);
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-list li:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    width: 24px;
    height: 24px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.info-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.info-card p {
    margin-bottom: 1.25rem;
    color: var(--text-color);
    line-height: 1.8;
}

.notice-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-left: 4px solid var(--accent-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.notice-box p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.notice-box p:last-child {
    margin-bottom: 0;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-card .position {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-card .email {
    color: var(--text-color);
    font-size: 0.9rem;
}

.email-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 1.5rem;
}

/* 活動の紹介 */
.activities-list {
    max-width: 900px;
    margin: 0 auto;
}

.activity-item {
    display: flex;
    gap: 2.5rem;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.activity-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.activity-date {
    min-width: 80px;
    text-align: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    align-self: flex-start;
}

.activity-date .date-year {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.activity-date .date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
}

.activity-content {
    flex: 1;
}

.activity-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.activity-images {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.activity-images img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.activity-content p {
    color: var(--text-color);
    line-height: 1.8;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.page-info {
    color: var(--text-muted);
    font-weight: 500;
}

.page-links {
    display: flex;
    gap: 0.5rem;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 1rem;
    background: var(--bg-white);
    color: var(--text-color);
    text-decoration: none;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    font-weight: 500;
}

.page-link:hover,
.page-link.current {
    background: var(--secondary-color);
    color: white;
    border-color: transparent;
}

.page-link.next {
    padding: 0 1.5rem;
}

/* アクセス */
.access-info {
    text-align: center;
}

.address-block {
    margin-bottom: 2rem;
    padding: 2.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.postal-code {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.address {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.building {
    color: var(--text-color);
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--border-color) 100%);
    border: 2px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border-radius: var(--radius-lg);
}

.map-note {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.location-note {
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #ebf8ff 0%, #e6fffa 100%);
    border-radius: var(--radius);
    border-left: 4px solid var(--secondary-color);
}

.campus-map {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.campus-map-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--border-color) 100%);
    border: 2px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border-radius: var(--radius-lg);
}

.campus-directions {
    max-width: 800px;
    margin: 0 auto;
}

.campus-directions h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

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

.direction-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.direction-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.direction-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.direction-item p {
    color: var(--text-color);
    line-height: 1.7;
}

/* お問合せ */
.contact-method {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-method h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.email-info {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.email-address {
    font-size: 1.1rem;
}

.email-address .email {
    color: var(--secondary-color);
    font-weight: 600;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-placeholder {
    padding: 4rem;
    background: var(--bg-white);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
}

.form-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 1rem 0;
}

.form-items {
    list-style: none;
    display: inline-block;
    text-align: left;
}

.form-items li {
    padding: 0.4rem 0;
    color: var(--text-color);
}

.form-items li::before {
    content: '•';
    color: var(--secondary-color);
    margin-right: 0.5rem;
    font-weight: bold;
}

/* ニュース */
.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    background: var(--bg-white);
    border-radius: var(--radius);
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.news-date {
    font-weight: 600;
    color: var(--secondary-color);
    min-width: 100px;
    font-size: 0.95rem;
}

.news-content {
    flex: 1;
    color: var(--text-color);
}

.news-more {
    text-align: center;
    margin-top: 3rem;
}

/* Homeの連絡先 */
.contact-simple {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-simple p {
    margin-bottom: 1.5rem;
    line-height: 2;
    color: var(--text-color);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* フッター */
footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-top: auto;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-en {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.hero-en {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-top: 1rem;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.01em;
}

/* 英語表記 */
.section-title-en {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.page-header-en {
    font-size: 0.5em;
    font-weight: 400;
    opacity: 0.7;
    letter-spacing: 2px;
    margin-left: 0.5rem;
}

.member-name-en {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 0.2rem;
}

/* 現在の研究 */
.current-research-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.current-research-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.current-research-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.current-research-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.current-research-card .position {
    color: var(--secondary-color);
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
    background: rgba(49, 151, 149, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
}

.current-research-card .research-description {
    color: var(--text-color);
    line-height: 1.8;
}

/* 教育ページ */
.education-year {
    margin-top: 3rem;
}

.education-year h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.education-year h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

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

.education-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.education-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.education-card h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* 大学院受験案内バナー */
.admission-banner {
    text-align: center;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, #ebf8ff 0%, #e6fffa 100%);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--shadow);
}

.admission-banner p {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

.admission-banner a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: underline;
}

.admission-banner a:hover {
    color: var(--primary-color);
}

/* Instagram QRコード */
.instagram-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.instagram-qr .qr-code {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: var(--radius);
}

/* 研究詳細ページリンク */
.current-research-link {
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.current-research-link:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.current-research-link:hover .read-more {
    transform: translateX(4px);
}

/* 研究者プロフィール（詳細ページ） */
.researcher-profile {
    text-align: center;
    margin-bottom: 3rem;
}

.researcher-info {
    display: inline-block;
    text-align: center;
}

.researcher-info .member-photo {
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--border-color) 100%);
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow);
}

.researcher-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.researcher-info .position {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.research-detail {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.research-detail h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--secondary-color);
    font-weight: 600;
}

.research-detail p {
    line-height: 2;
    color: var(--text-color);
    font-size: 1.05rem;
}

.back-link {
    text-align: center;
    margin-top: 2rem;
}

/* 研究倫理情報公開 */
.ethics-docs-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.ethics-section {
    background: linear-gradient(135deg, #fff9f0 0%, #fff3e0 100%);
    border-left: 4px solid var(--accent-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.ethics-section p {
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.ethics-section .btn-wrapper {
    text-align: center;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu li {
        padding: 0.5rem 1rem;
    }

    .nav-menu a {
        display: block;
        padding: 0.8rem 1rem;
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero {
        padding: 80px 20px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content .hero-affiliation {
        font-size: 0.85rem;
    }

    .hero-content .hero-tagline {
        font-size: 1.1rem;
    }

    .page-header {
        padding: 50px 20px;
    }

    .page-header h2 {
        font-size: 1.8rem;
    }

    .section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .activity-item {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
    }

    .activity-date {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        min-width: auto;
        padding: 0.75rem 1rem;
        align-self: flex-start;
    }

    .activity-date .date-year,
    .activity-date .date-day {
        font-size: 1rem;
    }

    .activity-images img {
        width: 100%;
        height: auto;
    }

    .news-item {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.25rem 1.5rem;
    }

    .news-date {
        min-width: auto;
    }

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

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

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

    .direction-list {
        grid-template-columns: 1fr;
    }

    .address-block {
        padding: 2rem;
    }

    .address {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .nav-brand h1 {
        font-size: 1rem;
    }

    .hero {
        padding: 60px 16px;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }

    .section {
        padding: 50px 16px;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .member-card {
        padding: 2rem 1.5rem;
    }

    .info-card {
        padding: 2rem;
    }

    .contact-card {
        padding: 2rem;
    }
}
