/* download.css: このページ種専用の内容スタイル(共通部分は site.css) */
.bg-light { background-color: var(--bg-light-gray); }
.page-title {
     
    display: block; 
    width: fit-content; 
    margin: 0 auto 50px auto; 
    text-align: center; 
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    border-bottom: none;
}
.page-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: var(--primary-color);
}
.section-title {
    margin-bottom: 40px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
    padding-left: 15px; 
    border-left: 5px solid var(--primary-color); 
    
}
.section-description { text-align: center; margin-bottom: 40px; color: var(--text-secondary); font-size: 1rem; }
.button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.button:hover {
    background-color: #660000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}
.more-link { text-align: center; margin-top: 40px; }
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.download-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background-color: var(--bg-color);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.download-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}
.download-item a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.download-item a:hover {
    text-decoration: none;
}
.download-thumbnail {
    max-width: 110px;
    height: 110px;
    object-fit: contain;
    margin: 0 auto 20px auto;
    border: 1px solid var(--border-color);
    padding: 5px;
    background-color: #fff;
}
.download-thumbnail.product-image {
    max-width: 130px;
    height: 100px;
}
.download-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 700;
    flex-grow: 1;
}
.download-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.download-button {
    
    margin-top: auto;
    padding: 10px 25px;
    font-size: 0.9rem;
    
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.download-button:hover {
     background-color: #660000;
     box-shadow: 0 4px 8px rgba(0,0,0,0.2);
     color: #fff;
     text-decoration: none;
     transform: translateY(-2px);
}
.notes-section {
    background-color: var(--bg-light-gray);
    border-radius: 8px;
    padding: 30px;
    margin-top: 60px;
    border: 1px solid var(--border-color);
}
.notes-section .section-title {
     font-size: 1.4rem;
     margin-bottom: 25px;
     text-align: center;
     border-left: none; 
     padding-left: 0;
     position: relative;
}
.notes-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}
.notes-content h4 {
    font-size: 1.15rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}
.notes-content ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 25px;
}
.notes-content li {
    margin-bottom: 10px;
    color: var(--text-secondary);
}
.notes-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}
.adobe-reader-link img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    border: none;
}
@media (max-width: 1023px) {
    .page-title { font-size: 1.8rem; margin-bottom: 40px; }
    .section-title { font-size: 1.5rem; }
    .download-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
    .download-item { padding: 15px; }
    .download-thumbnail { max-width: 100px; height: 100px; margin-bottom: 15px; }
    .download-thumbnail.product-image { max-width: 120px; height: 90px; }
    .download-title { font-size: 1.05rem; }
    .download-meta { font-size: 0.85rem; margin-bottom: 15px; }
    .download-button { padding: 8px 20px; font-size: 0.85rem; }
    .notes-section { padding: 25px; }
    .notes-section .section-title { font-size: 1.3rem; }
    .notes-content h4 { font-size: 1.1rem; }
}
@media (max-width: 767px) {
    .page-title { font-size: 1.6rem; margin-bottom: 30px; padding-bottom: 10px;}
    .page-title::after { width: 50px; height: 3px; }
    .section-title { font-size: 1.4rem; margin-bottom: 25px; padding-left: 10px; border-left-width: 4px;}
    .download-grid { grid-template-columns: 1fr; gap: 15px; }
    .download-item { padding: 15px; }
    .download-thumbnail { max-width: 90px; height: 90px; }
    .download-thumbnail.product-image { max-width: 110px; height: 80px; }
    .download-title { font-size: 1rem; }
    .download-meta { font-size: 0.8rem; }
    .download-button { padding: 8px 18px; font-size: 0.8rem; }
    .notes-section { padding: 20px; margin-top: 40px; }
    .notes-section .section-title { font-size: 1.2rem; }
    .notes-content h4 { font-size: 1.05rem; }
    .notes-content ul { margin-left: 20px; }
    .notes-content li, .notes-content p { font-size: 0.9rem; }
}
