@charset "UTF-8";

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
}
a {
    color: #0056b3;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
ul, ol {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* Layout */
.header-inner, .main-inner, .footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-logo a {
    color: #222;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}
.header-nav ul {
    display: flex;
    gap: 20px;
    align-items: center;
}
.header-nav a {
    color: #555;
    font-weight: bold;
}
.header-nav a:hover {
    color: #000;
}
.btn-register-nav {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #333;
    background-color: #333;
    color: #fff !important;
    border-radius: 4px;
    transition: background-color 0.2s;
}
.btn-register-nav:hover {
    background-color: #555;
    text-decoration: none;
}

/* Main */
.site-main {
    min-height: calc(100vh - 150px);
    padding: 40px 0;
}

/* Page Title */
.page-title {
    font-size: 2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn:hover {
    background-color: #f0f0f0;
    text-decoration: none;
}
.btn-primary {
    background-color: #0056b3;
    color: #fff;
    border-color: #0056b3;
}
.btn-primary:hover {
    background-color: #004494;
    color: #fff;
}
.btn-large {
    padding: 15px 30px;
    font-size: 1.2rem;
}

/* Form (Simple) */
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

/* Cards (Products) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.product-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.product-card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}
.product-card-catch {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}
.product-card-exhibitor {
    font-size: 0.85rem;
    color: #999;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-overlay.active {
    display: flex;
}
.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 8px;
    overflow-y: auto;
    position: relative;
    padding: 30px;
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}
.modal-close:hover {
    color: #000;
}
.modal-body h2 {
    margin-bottom: 10px;
    font-size: 1.8rem;
}
.modal-body .exhibitor-name {
    color: #555;
    margin-bottom: 20px;
    font-weight: bold;
}
.modal-section {
    margin-bottom: 25px;
}
.modal-section h3 {
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.materials-list li, .videos-list li {
    margin-bottom: 10px;
}
.materials-list a {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f9f9f9;
}

/* Footer */
.site-footer {
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 20px 0;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}
