:root {
    --primary-color: #1a237e;
    --accent-color: #7c4dff;
    --text-color: #333;
    --background-color: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.hero {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('images/SLR.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.module-content {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.module-image {
    flex: 1;
}

.module-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.module-description {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.specifications {
    background-color: white;
    padding: 4rem 0;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    margin-bottom: 1rem;
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.specs-table th,
.specs-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.specs-table thead {
    background-color: var(--primary-color);
    color: white;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: var(--primary-color);
}

.secondary {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    margin-left: 1rem;
}

.secondary:hover {
    background-color: var(--accent-color);
    color: white;
}

.sub-header {
    background-color: var(--primary-color);
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('images/202501210098_JAXA.jpg') no-repeat center center;
    color: white;
    padding: 2rem 0;
    /* height: 15vh; */
    background-size: cover;
}

.nav-link {
    color: white;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

.nav-link:hover {
    text-decoration: underline;
}

.spec-section {
    margin: 3rem 1;
}

.specs-table.detailed {
    font-size: 0.9rem;
}

.specs-table.detailed th,
.specs-table.detailed td {
    padding: 0.8rem;
    border: 1px solid #ddd;
}

.spec-detail {
    padding: 2rem 0;
    background-color: var(--background-color);
}

@media (max-width: 768px) {
    .module-content {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

.sub-section {
    margin: 2rem 0;
    padding: 1rem;
    background-color: #f9f9f9;
    border-left: 5px solid var(--primary-color);
}

figure {
    margin: 2rem 0;
    text-align: center;
}

figure img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
}

ul {
    padding-left: 1.5rem;
    list-style-type: disc;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.figure-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem; /* 画像間のスペース */
}

.image-pair img {
    height: 500px; /* 画像の高さを固定 */
    object-fit: cover; /* 高さを維持しながら画像をフィット */
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.image-pair {
    text-align: center;
}

.image-pair figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.collapsible-header {
    cursor: pointer;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    border: none;
    font-size: 1.2rem;
    text-align: left;
    margin: 0.5rem 0;
}

.collapsible-header:hover {
    background-color: var(--accent-color);
}

.collapsible-content {
    display: none;
    padding: 1rem;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    margin: 0.5rem 0;
}

.sub-section {
    border-left: 5px solid var(--accent-color);
    padding-left: 1rem;
    margin: 1rem 0;
}

.sub-sub-section {
    margin-left: 2rem;
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
}

.no-dot-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.header-link {
    color: var(--accent-color)
}

.update-date {
    font-weight: normal;
    font-size: 0.7em;
}