@charset "utf-8";
/*--faculty.css-学部紹介ページのスタイルを定義------*/


/* 学部紹介メニュー */
.faculty_menu_section {
    margin-bottom: 4rem;
}

.faculty_menu_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.faculty_menu_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 0.625rem rgba(0, 0, 0, 0.1);
    text-decoration: none;
    border: 2px solid #333;
    color: var(--color-text);
    transition: transform 0.3s, box-shadow 0.3s;
}

.faculty_menu_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.15);
}

.faculty_menu_icon {
    width: 5rem;
    height: 5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faculty_menu_icon img {
    max-width: 100%;
    max-height: 100%;
}

.faculty_menu_title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.faculty_menu_text {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* 学部別セクション */
.faculty_section {
    margin-bottom: 4rem;
}

.faculty_header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.faculty_icon {
    width: 4rem;
    height: 4rem;
    margin-right: 1.5rem;
}

.faculty_icon img {
    width: 100%;
    height: auto;
}

.faculty_name {
    font-size: 1.75rem;
    font-weight: bold;
    color: #333;
}

.faculty_description {
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* 学部特色リスト */
.feature_list {
    margin: 2rem 0;
}

.feature_item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 0.5rem;
    border-left: 5px solid #F6AA00;
}

.feature_title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.feature_content {
    line-height: 1.8;
}

.feature_content p {
    margin-bottom: 1rem;
}

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

/* 教育課程表 */
.curriculum_table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.curriculum_table th,
.curriculum_table td {
    padding: 1rem;
    border: 1px solid #ddd;
    text-align: left;
}

.curriculum_table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.curriculum_table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* 学部別ギャラリー */
.faculty_gallery {
    margin: 2rem 0;
}

.gallery_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery_item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery_item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.gallery_item:hover img {
    transform: scale(1.05);
}

.gallery_caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.75rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.875rem;
}

/* 学部便り一覧 */
/*.gakubu-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.gakubu-menu-item {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 0.625rem rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gakubu-menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.15);
}

.gakubu-menu-thumbnail {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.gakubu-menu-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gakubu-menu-title {
    padding: 1rem;
    font-weight: bold;
    text-align: center;
}

.gakubu-menu-header {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #333;
}
*/
/* コンテンツサイドバー */
.content_sidebar {
    width: 18.75rem;
    flex-shrink: 0;
}

/* アーカイブボックス */
.archive_box {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
}

.archive_title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #F6AA00;
}

.archive_list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.archive_list li {
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 1rem;
}

.archive_list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.archive_list a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.archive_list a:hover .archive_item_title {
    color: #F6AA00;
}

.archive_item_title {
    font-weight: 600;
    margin-bottom: 0.3rem;
    transition: color 0.3s;
}

.archive_item_date {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.archive_item_text {
    font-size: 0.9rem;
    color: #333;
}

/* レスポンシブスタイル */
@media screen and (max-width: 64rem) {
    .faculty_menu_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 48rem) {
    .faculty_header {
        flex-direction: column;
        text-align: center;
    }
    
    .faculty_icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 30rem) {
    .faculty_menu_grid {
        grid-template-columns: 1fr;
    }
    
    .gallery_grid {
        grid-template-columns: 1fr;
    }
}
