@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #0a0e1a;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.poster {
    background: rgba(255, 255, 255, 0.98);
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    opacity: 0.8;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.header h1 {
    font-size: 2.1em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 1.5em;
    font-weight: 600;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.main-content {
    padding: 40px 30px;
    background: white;
}

.lecturer-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    border-radius: 15px;
    border-left: 5px solid #2c5aa0;
    gap: 20px;
}

.lecturer-left {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1;
}

.lecturer-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid #2c5aa0;
    position: relative;
    overflow: hidden;
    background: #f8f9ff;
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.15);
    flex-shrink: 0;
}

.lecturer-logo {
    width: 180px;
    height: auto;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(44, 90, 160, 0.2);
    display: block;
    flex-shrink: 0;
}

.lecturer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: auto;
    transition: transform 0.3s ease;
}

.lecturer-photo:hover img {
    transform: scale(1.05);
}

.lecturer-info h2 {
    font-size: 1.8em;
    color: #2c5aa0;
    margin-bottom: 8px;
    font-weight: 700;
}

.lecturer-title {
    font-size: 1.0em;
    color: #666;
    font-weight: 500;
    margin-bottom: 5px;
}

.lecturer-name {
    font-size: 1.4em;
    color: #2c5aa0;
    font-weight: 700;
    margin-bottom: 5px;
}

.lecturer-additional {
    font-size: 0.9em;
    color: #888;
    font-weight: 400;
}

.quote-section {
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 5px solid #f59e0b;
    position: relative;
}

.quote-section::before {
    content: '"';
    font-size: 4em;
    color: #f59e0b;
    position: absolute;
    top: -10px;
    left: 15px;
    opacity: 0.3;
    font-family: serif;
}

.quote {
    font-size: 1.1em;
    line-height: 1.6;
    color: #92400e;
    font-style: italic;
    margin-left: 30px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.content-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.content-card h3 {
    color: #2c5aa0;
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.content-card h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #2c5aa0;
    border-radius: 50%;
    margin-right: 10px;
}

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

.content-card li {
    padding: 8px 0;
    color: #4b5563;
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
}

.content-card li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.highlights {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #10b981;
}

.highlights h3 {
    color: #065f46;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

.highlight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: #10b981;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 500;
}

.medical-icons {
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0.15;
    font-size: 2em;
    color: #3b82f6;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.tech-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.tech-particles::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 2px;
    height: 2px;
    background: #3b82f6;
    border-radius: 50%;
    box-shadow: 
        20px 30px 0 #8b5cf6,
        40px 10px 0 #10b981,
        60px 50px 0 #3b82f6,
        80px 20px 0 #8b5cf6,
        100px 40px 0 #10b981,
        120px 15px 0 #3b82f6,
        140px 35px 0 #8b5cf6;
    animation: particle-float 15s linear infinite;
}

@keyframes particle-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
}

.ai-accent {
    background: linear-gradient(45deg, #4ade80, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
    font-size: 1.1em;
}

/* 費用・日時・参加方法のスタイル */
.event-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detail-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cost-card {
    border-left: 5px solid #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.datetime-card {
    border-left: 5px solid #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.method-card {
    border-left: 5px solid #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    grid-column: span 2;
}

.detail-label {
    background: #2c5aa0;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1.0em;
    font-weight: 600;
    width: 100px;
    margin-bottom: 15px;
    display: inline-block;
}

.detail-value {
    font-size: 1.8em;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 5px;
}

.detail-description {
    font-size: 1.0em;
    line-height: 1.6;
    color: #4b5563;
    text-align: left;
}

/* 参加登録案内のスタイル */
.registration-info {
    background: linear-gradient(135deg, #fef7ff 0%, #f3e8ff 100%);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 5px solid #8b5cf6;
    border: 2px solid #e9d5ff;
}

.registration-content {
    font-size: 1.0em;
    line-height: 1.6;
    color: #581c87;
}

.registration-link {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.registration-link:hover {
    border-bottom-color: #7c3aed;
}

.registration-button {
    text-align: center;
}

.registration-button .registration-link {
    background: #7c3aed;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1.0em;
    font-weight: 600;
    margin-top: 20px;
    display: inline-block;
}

.registration-button .registration-link a {
    color: white;
    text-decoration: none;
}

/* 主催者情報のスタイル */
.organizer-info {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.organizer-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    opacity: 0.8;
}

.organizer-section, .contact-section {
    position: relative;
    z-index: 1;
}

.organizer-label, .contact-label {
    background: #3b82f6;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1.0em;
    font-weight: 600;
    margin-bottom: 15px;
    width: 120px;
    display: inline-block;
}

.organizer-details {
    font-size: 1.0em;
    line-height: 1.6;
}

.organizer-logo {
    width: 200px;
    height: auto;
    margin-bottom: 15px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: block;
}

.organizer-name {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 5px;
}

.organizer-company {
    font-size: 1.1em;
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 5px;
}

.organizer-company a{
    color: #60a5fa;
}

.organizer-website {
    font-size: 0.9em;
    color: #94a3b8;
}

.contact-email {
    font-size: 1.1em;
    font-weight: 600;
    color: #60a5fa;
}

.contact-email a {
    color: #60a5fa;
}

.seminar-note {
    grid-column: span 2;
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.seminar-note-text {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 500;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .poster {
        margin: 0;
        border-radius: 15px;
    }
    
    .header {
        padding: 25px 20px;
    }
    
    .header h1 {
        font-size: 1.5em;
        line-height: 1.3;
    }
    
    .subtitle {
        font-size: 1.4em;
    }
    
    .main-content {
        padding: 25px 20px;
    }
    
    .lecturer-section {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .lecturer-left {
        flex-direction: column;
        width: 100%;
    }
    
    .lecturer-photo {
        width: 120px;
        height: 120px;
    }
    
    .lecturer-logo {
        width: 160px;
        margin-top: 15px;
    }
    
    .lecturer-info h2 {
        font-size: 1.4em;
    }
    
    .lecturer-title {
        font-size: 0.9em;
    }
    
    .lecturer-name {
        font-size: 1.2em;
    }
    
    .quote-section {
        padding: 20px;
    }
    
    .quote {
        font-size: 1.0em;
        margin-left: 20px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .content-card {
        padding: 20px;
    }
    
    .content-card h3 {
        font-size: 1.2em;
    }
    
    .content-card li {
        font-size: 0.95em;
    }
    
    .highlight-tags {
        justify-content: center;
    }
    
    .tag {
        font-size: 0.85em;
        padding: 6px 12px;
    }
    
    .event-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .method-card {
        grid-column: span 1;
    }
    
    .detail-value {
        font-size: 1.5em;
    }
    
    .registration-info {
        padding: 20px;
    }
    
    .registration-content {
        font-size: 0.95em;
    }
    
    .organizer-info {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 25px 20px;
    }
    
    .organizer-logo {
        width: 160px;
        padding: 12px;
    }
    
    .seminar-note {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    body {
        padding: 5px;
    }
    
    .poster {
        border-radius: 10px;
    }
    
    .header {
        padding: 20px 15px;
    }
    
    .header h1 {
        font-size: 1.3em;
        line-height: 1.4;
    }
    
    .subtitle {
        font-size: 1.1em;
    }
    
    .ai-accent {
        font-size: 1.0em;
    }
    
    .main-content {
        padding: 20px 15px;
    }
    
    .lecturer-section {
        padding: 15px 10px;
    }
    
    .lecturer-left {
        flex-direction: column;
    }
    
    .lecturer-photo {
        width: 100px;
        height: 100px;
        border: 3px solid #2c5aa0;
    }
    
    .lecturer-logo {
        width: 140px;
        padding: 12px;
    }
    
    .lecturer-info h2 {
        font-size: 1.2em;
    }
    
    .lecturer-title {
        font-size: 0.85em;
    }
    
    .lecturer-name {
        font-size: 1.1em;
    }
    
    .lecturer-additional {
        font-size: 0.8em;
    }
    
    .quote-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .quote-section::before {
        font-size: 3em;
        top: -5px;
        left: 10px;
    }
    
    .quote {
        font-size: 0.9em;
        margin-left: 15px;
    }
    
    .content-card {
        padding: 15px;
    }
    
    .content-card h3 {
        font-size: 1.1em;
    }
    
    .content-card li {
        font-size: 0.9em;
        padding: 6px 0px 6px 20px;
    }
    
    .highlights {
        padding: 20px 15px;
    }
    
    .highlights h3 {
        font-size: 1.2em;
    }
    
    .tag {
        font-size: 0.8em;
        padding: 6px 10px;
    }
    
    .detail-card {
        padding: 15px;
    }
    
    .detail-label {
        font-size: 0.9em;
        padding: 6px 12px;
    }
    
    .detail-value {
        font-size: 1.3em;
    }
    
    .registration-info {
        padding: 15px;
    }
    
    .registration-content {
        font-size: 0.9em;
    }
    
    .organizer-info {
        grid-template-columns: 1fr;
        padding: 20px 15px;
        gap: 15px;
    }
    
    .organizer-logo {
        width: 140px;
        padding: 10px;
    }
    
    .organizer-label, .contact-label {
        font-size: 0.9em;
        padding: 6px 12px;
    }
    
    .organizer-company {
        font-size: 1.1em;
    }
    
    .organizer-website {
        font-size: 0.85em;
        word-break: break-all;
    }
    
    .contact-email {
        font-size: 1.0em;
        word-break: break-all;
    }
    
    .medical-icons {
        font-size: 1.5em;
        top: 10px;
        right: 10px;
    }
}
