/* ========================================
   岩手県教育研究連盟 メインスタイルシート
   ======================================== */

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

body {
    font-family: 'Helvetica Neue', 'Arial', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* ========================================
   共通レイアウト
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    height: auto !important;
    min-height: auto !important;
    padding: initial !important;
    margin: initial !important;
    overflow: visible !important;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    flex-wrap: wrap;
}

/* ========================================
   ロゴ
   ======================================== */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.2rem;
}

.logo-text p {
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* ロゴリンクのスタイル */
.logo-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
    text-decoration: none !important;
    color: inherit !important;
}

.logo-link:visited,
.logo-link:active {
    color: inherit !important;
    text-decoration: none !important;
}

.logo-link h1,
.logo-link p {
    margin: 0;
    padding: 0;
}

.logo-link h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

.logo-link p {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 0.2rem;
}

/* ========================================
   ナビゲーション（デスクトップ）
   ======================================== */
.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ドロップダウン矢印 */
.nav-item > a::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-item.no-dropdown > a::after {
    display: none;
}

.nav-item:hover > a::after {
    transform: rotate(180deg);
}

.nav-item > a:hover {
    background: #667eea;
    color: #f8f9fa;
    transform: translateY(-2px);
}

/* ========================================
   ドロップダウンメニュー（デスクトップ）
   ======================================== */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e1e8ed;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    margin: 0.3rem;
    transition: all 0.3s ease;
    font-weight: 400;
}

.dropdown-menu a:hover {
    background: #f8f9ff;
    color: #667eea;
    transform: translateX(5px);
}

.dropdown-menu a:first-child {
    margin-top: 0.5rem;
}

.dropdown-menu a:last-child {
    margin-bottom: 0.5rem;
}

.dropdown-menu a.active {
    background: #667eea;
    color: white;
}

.dropdown-menu a.active:hover {
    background: #5a67d8;
    transform: none;
}

/* ========================================
   ページヘッダー
   ======================================== */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
    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,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* ========================================
   パンくずナビゲーション
   ======================================== */
.breadcrumb {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid #e1e8ed;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #7f8c8d;
}

.breadcrumb-current {
    color: #2c3e50;
    font-weight: 500;
}

/* ========================================
   ヒーローセクション
   ======================================== */
.hero {
    padding: 3rem 0 4rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ========================================
   フォトギャラリー
   ======================================== */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

/* 研修会ページ専用のフォトギャラリー */
.training-card + .photo-gallery {
    margin-top: 3rem;
    margin-bottom: 2rem;
    display: block; /* グリッドを一旦解除 */
}

.training-card + .photo-gallery .gallery-title {
    text-align: center;
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    width: 100%;
    display: block;
    clear: both;
}

.training-card + .photo-gallery .photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    margin: 0 auto;
    max-width: 1000px;
}

.photo-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.photo-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.1);
}
/*===============================
    研修会ページチラシ写真用CSS
================================*/
.photo-item-flyer {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.photo-item-flyer:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.photo-item-flyer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item-flyer:hover img {
    transform: scale(1.1);
}
.photo-item-flyer:hover .photo-overlay {
    transform: translateY(0);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1.5rem 1rem 1rem;
    z-index: 2;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-overlay {
    transform: translateY(0);
}

.photo-overlay h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.photo-overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.4;
}

.photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ========================================
   メインコンテンツ
   ======================================== */
.main-content {
    background: white;
    margin: -2rem 0 0 0;
    border-radius: 20px 20px 0 0;
    padding: 3rem 0;
    min-height: 70vh;
}

/* ========================================
   ニュースセクション
   ======================================== */
.news-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

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

.news-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.news-date {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-title {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.news-content {
    color: #7f8c8d;
    line-height: 1.6;
}

/* ========================================
   クイックリンク
   ======================================== */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.quick-link {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.quick-link:hover::before {
    left: 100%;
}

.quick-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.quick-link h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.quick-link p {
    opacity: 0.9;
}

/* ========================================
   情報カード
   ======================================== */
.info-section {
    margin-top: 4rem;
}

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

.info-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    border-left: 5px solid #667eea;
}

.info-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.info-card li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.info-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    opacity: 0.8;
}

/* ========================================
   レスポンシブデザイン
   ======================================== */

/* タブレット・モバイル用のコンパクトナビゲーション */
@media (max-width: 1024px) {
    
    /* ヘッダー全体のコンパクト化 */
    .header-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 0.8rem 0;
    }
    
    /* ロゴ部分のコンパクト化 */
    .logo-text h1 {
        font-size: 1.4rem;
        margin-bottom: 0.1rem;
    }
    
    .logo-text p {
        font-size: 0.8rem;
        margin-top: 0.1rem;
    }

    /* ナビゲーション全体のコンパクト化 */
    .nav {
        flex-direction: column;
        gap: 0;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        height: auto !important;
        min-height: auto !important;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(102, 126, 234, 0.08);
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
        display: block !important;
        visibility: visible !important;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    /* ナビゲーションアイテムのコンパクト化 */
    .nav-item > a {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        border-radius: 0;
        font-weight: 600;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        position: relative;
        background: linear-gradient(90deg, transparent 0%, rgba(102, 126, 234, 0.05) 50%, transparent 100%);
        background-size: 200% 100%;
        background-position: 100% 0;
        line-height: 1.2;
    }

    .nav-item > a:hover {
        background-position: 0% 0;
        color: #f8f9fa;
        transform: none;
    }

    .nav-item > a::after {
        margin-left: 0.4rem;
        font-size: 0.75rem;
        transition: all 0.3s ease;
    }

    .nav-item.mobile-expanded > a {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }

    .nav-item.mobile-expanded > a::after {
        transform: rotate(180deg);
        color: white;
    }

    /* ドロップダウンメニューのコンパクト化 */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
        margin: 0;
        border-radius: 0;
        display: none;
        animation: slideDownCompact 0.25s ease;
    }

    @keyframes slideDownCompact {
        from {
            opacity: 0;
            max-height: 0;
        }
        to {
            opacity: 1;
            max-height: 150px;
        }
    }

    .nav-item.mobile-expanded .dropdown-menu {
        display: block;
    }

    /* ドロップダウンアイテムのコンパクト化 */
    .dropdown-menu a {
        padding: 0.8rem 1.5rem;
        margin: 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(102, 126, 234, 0.08);
        display: block;
        width: 100%;
        text-align: center;
        font-weight: 500;
        font-size: 0.9rem;
        color: #667eea;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        line-height: 1.2;
    }

    .dropdown-menu a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
        transition: left 0.4s ease;
    }

    .dropdown-menu a:hover::before {
        left: 100%;
    }

    .dropdown-menu a:hover {
        background: rgba(102, 126, 234, 0.15);
        color: #667eea;
        transform: translateX(3px);
    }

    .dropdown-menu a:last-child {
        border-bottom: none;
    }
    
    /* ページヘッダーのコンパクト化 */
    .page-header {
        padding: 1.5rem 0;
    }
    
    .page-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
}

/* さらなるコンパクト化（480px以下のスマートフォン） */
@media (max-width: 480px) {
    
    .header-content {
        padding: 0.6rem 0;
        gap: 0.3rem;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .logo-text p {
        font-size: 0.75rem;
    }
    
    .nav {
        max-width: 400px;
        border-radius: 10px;
    }
    
    .nav-item > a {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    .dropdown-menu a {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* モバイル（768px以下） */
@media (max-width: 768px) {
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* 研修会ページのフォトギャラリー */
    .training-card + .photo-gallery .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .training-card + .photo-gallery .gallery-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}

    .hero-content {
        margin-bottom: 2rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

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

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

    .quick-links {
        grid-template-columns: 1fr;
    }

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

    .container {
        padding: 0 15px;
    }
    
    .page-header {
        padding: 1.2rem 0;
    }
    
    .page-title {
        font-size: 1.7rem;
        line-height: 1.2;
    }
    
    .page-subtitle {
        font-size: 0.9rem;
    }
}

/* 小型スマートフォン（480px以下） */
@media (max-width: 480px) {
    .photo-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* 研修会ページのフォトギャラリー */
    .training-card + .photo-gallery .photo-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .training-card + .photo-gallery .gallery-title {
        font-size: 1.1rem;
    }
}

    .hero {
        padding: 2rem 0;
    }

    .hero-content {
        margin-bottom: 1.5rem;
    }

    .main-content {
        padding: 2rem 0;
    }

    .news-card, .info-card, .quick-link {
        padding: 1.5rem;
    }

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

    .page-header {
        padding: 1rem 0;
    }

    .page-title {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 10px;
    }
}

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

.news-card, .info-card, .quick-link {
    animation: fadeInUp 0.6s ease forwards;
}

.news-card:nth-child(2) { animation-delay: 0.1s; }
.news-card:nth-child(3) { animation-delay: 0.2s; }
.quick-link:nth-child(2) { animation-delay: 0.1s; }
.quick-link:nth-child(3) { animation-delay: 0.2s; }
.quick-link:nth-child(4) { animation-delay: 0.3s; }

/* ========================================
   ページ固有スタイル
   ======================================== */

/* 会長挨拶ページ */
.greeting-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.greeting-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.chairman-info {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f8f9fa;
}

.chairman-title {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.chairman-name {
    font-size: 2.2rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.greeting-content {
    line-height: 1.8;
    color: #555;
}

.greeting-content h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    padding-left: 1rem;
    border-left: 4px solid #667eea;
}

.greeting-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
    font-size: 1.05rem;
}

.greeting-content .highlight {
    background: linear-gradient(transparent 60%, rgba(102, 126, 234, 0.2) 60%);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

/* 役員ページ */
.officers-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
}

.officers-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.officers-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.2rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
}

.officers-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    font-size: 1rem;
}

.officers-table tbody tr:hover {
    background: #f8f9ff;
    transition: background-color 0.3s ease;
}

.officers-table tbody tr:last-child td {
    border-bottom: none;
}

.role-cell {
    font-weight: 600;
    color: #2c3e50;
    background: #f8f9ff;
}

.name-cell {
    font-weight: 500;
    color: #667eea;
}

.organization-cell {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* 加盟機関ページのテーブル */
.organizations-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
}

.organizations-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.organizations-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0.8rem;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    border: none;
}

.organizations-table td {
    padding: 0.8rem 0.6rem;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    font-size: 0.9rem;
}

.organizations-table tbody tr:hover {
    background: #f8f9ff;
    transition: background-color 0.3s ease;
}

.organizations-table tbody tr:last-child td {
    border-bottom: none;
}

.number-cell {
    font-weight: 600;
    color: #667eea;
    background: #f8f9ff;
    width: 60px;
}

.name-cell {
    font-weight: 500;
    color: #2c3e50;
    text-align: left;
    min-width: 200px;
}

.address-cell {
    color: #7f8c8d;
    font-size: 0.85rem;
    text-align: left !important;
    min-width: 180px;
}

.contact-cell {
    color: #7f8c8d;
    font-size: 0.85rem;
    min-width: 120px;
}

.director-cell {
    color: #2c3e50;
    font-weight: 500;
    min-width: 100px;
}

.staff-cell {
    color: #7f8c8d;
    min-width: 100px;
}

/* お問い合わせフォーム */
.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.required {
    color: #e74c3c;
    margin-left: 0.3rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.form-select {
    cursor: pointer;
}

.form-note {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.submit-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 2rem auto 0;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.submit-button:active {
    transform: translateY(0);
}

.contact-info {
    background: #f8f9ff;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 3rem;
    border-left: 5px solid #667eea;
}

.contact-info h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.info-label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 80px;
    margin-right: 1rem;
}

.info-value {
    color: #555;
    flex: 1;
}

/* リンク集ページ */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.link-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 2rem;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    display: block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.link-item:hover::before {
    left: 100%;
}

.link-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    color: white;
}

/* リンクのカテゴリ別色分け */
.link-item:nth-child(3n+1) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.link-item:nth-child(3n+2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.link-item:nth-child(3n+3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.link-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.link-icon {
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.link-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.link-url {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    word-break: break-all;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.external-link::after {
    content: ' ↗';
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-left: 0.5rem;
}

.link-category {
    margin-bottom: 3rem;
}

.category-title {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid #667eea;
    position: relative;
}

/* 会報ページ */
.newsletter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.newsletter-item {
    background: #f8f9ff;
    border-radius: 15px;
    padding: 2rem;
    border-left: 5px solid #667eea;
    transition: all 0.3s ease;
    cursor: pointer;
}

.newsletter-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.newsletter-cover {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.newsletter-meta {
    margin-bottom: 1rem;
}

.newsletter-issue {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.newsletter-date {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.newsletter-title {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.newsletter-content {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.newsletter-download {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.newsletter-download:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.latest-issue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.latest-issue h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.latest-issue p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.latest-download {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.latest-download:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* 定期総会・研修会ページ */
.meeting-card,
.training-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.meeting-card::before,
.training-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.meeting-intro,
.training-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f8f9fa;
}

.meeting-intro h2,
.training-intro h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.meeting-intro p,
.training-intro p {
    color: #7f8c8d;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.meeting-content,
.training-content {
    line-height: 1.8;
    color: #555;
}

.meeting-content h3,
.training-content h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    padding-left: 1rem;
    border-left: 4px solid #667eea;
}

.meeting-content p,
.training-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
    font-size: 1.05rem;
}

.meeting-details,
.training-details {
    background: #f8f9ff;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 5px solid #667eea;
}

.detail-item {
    display: flex;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.detail-label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 120px;
    margin-right: 1rem;
}

.detail-value {
    color: #555;
    flex: 1;
}

.highlight {
    background: linear-gradient(transparent 60%, rgba(102, 126, 234, 0.2) 60%);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.next-meeting {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    margin-top: 2rem;
}

.next-meeting h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.next-meeting p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.next-meeting .date {
    font-size: 2rem;
    font-weight: bold;
    margin: 1rem 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.gallery-title {
    text-align: center;
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.gallery-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

/* ========================================
   研修会ページのモバイル最適化
   ======================================== */

/* タブレット・モバイル用の研修会ページ最適化 */
@media (max-width: 1024px) {
    
    /* 研修会カードのコンパクト化 */
    .training-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* 研修会イントロ部分 */
    .training-intro {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .training-intro h2 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .training-intro p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* 研修詳細情報のコンパクト化 */
    .training-details {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .training-card .detail-item {
        margin-bottom: 0.8rem;
        align-items: flex-start;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .training-card .detail-label {
        font-weight: 600;
        color: #2c3e50;
        font-size: 0.9rem;
        min-width: auto;
        margin-right: 0;
        display: inline-block;
    }
    
    .training-card .detail-value {
        color: #555;
        flex: 1;
        font-size: 0.9rem;
        line-height: 1.4;
        margin-top: 0.2rem;
    }
    
    /* ハイライト部分の調整 */
    .training-card .highlight {
        background: linear-gradient(transparent 60%, rgba(102, 126, 234, 0.2) 60%);
        padding: 0.1rem 0.3rem;
        border-radius: 3px;
        font-weight: 600;
        font-size: 0.85rem;
    }
    
    /* 研修コンテンツ内のh3見出し */
    .training-content h3 {
        font-size: 1.2rem;
        margin: 1.5rem 0 0.8rem 0;
        padding-left: 0.8rem;
    }
    
    .training-content p {
        margin-bottom: 1.2rem;
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* ニュース日付スタイル（申込フォームボタン）の調整 */
    .training-card .news-date {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        display: inline-block;
    }
}

/* スマートフォン（768px以下）用のさらなる最適化 */
@media (max-width: 768px) {
    
    .training-card {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem 1rem;
    }
    
    .training-intro h2 {
        font-size: 1.2rem;
        line-height: 1.25;
    }
    
    .training-intro p {
        font-size: 0.9rem;
    }
    
    .training-details {
        padding: 1rem;
    }
    
    .training-card .detail-item {
        margin-bottom: 1rem;
    }
    
    .training-card .detail-label {
        font-size: 0.85rem;
        font-weight: 600;
        color: #2c3e50;
    }
    
    .training-card .detail-value {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* フォトギャラリーを1列表示に */
    .training-card + .photo-gallery .photo-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .training-card + .photo-gallery .gallery-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}

/* 小型スマートフォン（480px以下）用の最適化 */
@media (max-width: 480px) {
    
    .training-card {
        padding: 1rem 0.8rem;
    }
    
    .training-intro h2 {
        font-size: 1.1rem;
    }
    
    .training-intro p,
    .training-content p {
        font-size: 0.85rem;
    }
    
    .training-card .detail-label {
        font-size: 0.8rem;
        font-weight: 600;
        color: #2c3e50;
    }
    
    .training-card .detail-value {
        font-size: 0.8rem;
    }
    
    .training-content h3 {
        font-size: 1.1rem;
        padding-left: 0.6rem;
    }
}

/* ========================================
   レスポンシブデザイン（各ページ共通）
   ======================================== */
@media (max-width: 768px) {
    .greeting-card,
    .meeting-card,
    .training-card,
    .newsletter-card,
    .contact-card,
    .links-card,
    .organizations-card {
        padding: 2rem;
        margin: 0 1rem;
    }

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

    .latest-issue {
        padding: 2rem;
    }

    .next-meeting {
        padding: 2rem;
    }

    .next-meeting .date {
        font-size: 1.5rem;
    }

    .officers-table th,
    .officers-table td,
    .organizations-table th,
    .organizations-table td {
        padding: 0.6rem 0.4rem;
        font-size: 0.8rem;
    }

    .detail-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .detail-label {
        min-width: auto;
        margin-right: 0;
    }

    .info-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .info-label {
        min-width: auto;
        margin-right: 0;
    }

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

@media (max-width: 480px) {
    .greeting-card,
    .meeting-card,
    .training-card,
    .newsletter-card,
    .contact-card,
    .links-card,
    .organizations-card {
        padding: 1.5rem;
    }

    .chairman-name {
        font-size: 1.5rem;
    }

    .officers-table th,
    .officers-table td,
    .organizations-table th,
    .organizations-table td {
        padding: 0.5rem 0.3rem;
        font-size: 0.75rem;
    }

    .submit-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .link-item {
        padding: 1.2rem;
    }

    .latest-issue h3 {
        font-size: 1.5rem;
    }
}
/* ========================================
   フォトギャラリー表示修正
   ======================================== */

/* トップページのフォトギャラリーは4枚横並びを維持 */
.hero .photo-gallery {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 5 !important;
}

/* トップページの画像サイズを元に戻す */
.hero .photo-item {
    position: relative !important;
    aspect-ratio: 4/3 !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* 研修会ページフォトギャラリー修正（トップページには影響しない） */
.training-card + .photo-gallery {
    display: block !important;
    margin-top: 3rem !important;
}

.training-card + .photo-gallery .photo-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
    margin: 0 auto !important;
    max-width: 1000px !important;
}

@media (max-width: 1024px) {
    /* トップページのタブレット表示 */
    .hero .photo-gallery {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    /* 研修会ページのタブレット表示 */
    .training-card + .photo-gallery .photo-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
}

@media (max-width: 768px) {
    /* 研修会ページのスマートフォン表示 */
    .training-card + .photo-gallery .photo-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
}

@media (max-width: 480px) {
    /* トップページのスマートフォン表示 */
    .hero .photo-gallery {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* 研修会ページのスマートフォン表示 */
    .training-card + .photo-gallery .photo-grid {
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
    }
}
/* ========================================
   ニュースグリッド表示修正
   ======================================== */

/* ニュースグリッドの基本レイアウト（3列表示） */
.news-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: 2rem !important;
    margin-top: 3rem !important;
}

/* デスクトップ（1025px以上）で3列確実に表示 */
@media (min-width: 1025px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        max-width: 1200px !important;
        margin: 3rem auto 0 auto !important;
    }
}

/* タブレット（769px〜1024px）で2列表示 */
@media (min-width: 769px) and (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        margin-top: 2rem !important;
    }
}

/* スマートフォン（768px以下）で1列表示 */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-top: 1.5rem !important;
    }
}
/* ========================================
   クイックリンクグリッド表示修正
   ======================================== */

/* クイックリンクの基本レイアウト（画面幅に応じて自動調整） */
.quick-links {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-top: 3rem !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* タブレット（1024px以下）での調整 */
@media (max-width: 1024px) {
    .quick-links {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
        gap: 1.2rem !important;
        margin-top: 2.5rem !important;
    }
}

/* スマートフォン（768px以下）での調整 */
@media (max-width: 768px) {
    .quick-links {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
        gap: 1rem !important;
        margin-top: 2rem !important;
    }
}

/* 小型スマートフォン（480px以下）で1列表示 */
@media (max-width: 480px) {
    .quick-links {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-top: 1.5rem !important;
    }
}

/* ========================================
   リンク集 - link-item2, link-item3 クラス対応
   ======================================== */

/* link-item2 クラスのスタイル */
.link-item2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    border-radius: 15px !important;
    padding: 2rem !important;
    border: none !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    color: white !important;
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 5px 15px rgba(240, 147, 251, 0.3) !important;
}

/* link-item3 クラスのスタイル */
.link-item3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
    border-radius: 15px !important;
    padding: 2rem !important;
    border: none !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    color: white !important;
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.3) !important;
}

/* 光の効果 */
.link-item2::before,
.link-item3::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: left 0.5s ease !important;
}

/* ホバー効果 */
.link-item2:hover,
.link-item3:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4) !important;
    text-decoration: none !important;
    color: white !important;
}

.link-item2:hover::before,
.link-item3:hover::before {
    left: 100% !important;
}

/* link-item2, link-item3 内の要素スタイル */
.link-item2 .link-title,
.link-item3 .link-title {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: white !important;
    margin-bottom: 0.8rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.link-item2 .link-icon,
.link-item3 .link-icon {
    font-size: 1.5rem !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3) !important;
    color: white !important;
}

.link-item2 .link-description,
.link-item3 .link-description {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.link-item2 .link-url,
.link-item3 .link-url {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    word-break: break-all !important;
    background: rgba(255, 255, 255, 0.1) !important;
    padding: 0.5rem !important;
    border-radius: 8px !important;
    backdrop-filter: blur(10px) !important;
}

.link-item2 .external-link::after,
.link-item3 .external-link::after {
    content: ' ↗' !important;
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-left: 0.5rem !important;
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
    .link-item2,
    .link-item3 {
        padding: 1.2rem !important;
    }
}
/* ========================================
   印刷用スタイル
   ======================================== */
@media print {
    .header,
    .footer,
    .breadcrumb,
    .cta-button,
    .submit-button {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .main-content {
        background: white;
        margin: 0;
        padding: 1rem 0;
        border-radius: 0;
    }

    .page-header {
        background: white;
        color: black;
        padding: 1rem 0;
    }

    .page-header::before {
        display: none;
    }
}