* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
    transition: all 0.3s;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: inline-block;
    height: 30px;
}

.logo img {
    height: 30px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-menu a:hover {
    color: #c9302c;
}

/* Hero Section with Image and Video Background */
.hero {
    margin-top: 80px;
    height: calc(100vh - 80px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.1);
    z-index: 1;
    object-fit: cover;
    opacity: 0;
    animation: fadeVideo 20s infinite;
}

/* Image Background */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/C55_and_C2800_Lifestyle_02_Horizontal_hi_res.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.35;
    animation: fadeImage 20s infinite;
}

@keyframes fadeImage {
    0%, 100% {
        opacity: 0.35;
        transform: scale(1);
    }
    45% {
        opacity: 0.35;
        transform: scale(1.05);
    }
    50% {
        opacity: 0;
        transform: scale(1.05);
    }
    95% {
        opacity: 0;
        transform: scale(1);
    }
}

@keyframes fadeVideo {
    0%, 45% {
        opacity: 0;
    }
    50% {
        opacity: 0.35;
    }
    95% {
        opacity: 0.35;
    }
    100% {
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 20px;
    max-width: 1000px;
}

.hero-content h1 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.hero-content p {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #c9302c;
    display: block;
}

.hero-stat-label {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}

/* CTA Buttons - 縦並び配置 */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #c9302c;
    color: white;
    text-decoration: none;
    font-size: 16px;
    border-radius: 3px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    min-width: 250px;
    text-align: center;
}

.cta-button.primary {
    background: #c9302c;
    color: white;
    font-weight: 500;
}

.cta-button.primary:hover {
    background: #a02622;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 48, 44, 0.3);
}

/* 控えめなハイエンドオーディオボタン */
.cta-button.subdued {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    padding: 12px 30px;
    min-width: 200px;
}

.cta-button.subdued:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
    transform: none;
}

.cta-button:hover {
    background: #a02622;
    transform: translateY(-2px);
}

/* Featured Brands Section */
.brands-section {
    padding: 100px 5%;
    background: #f8f8f8;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 60px;
}

.featured-brands {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.brand-logo {
    background: white;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    text-align: center;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-sizing: border-box;
    max-width: 100%;
}

.brand-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #c9302c;
}

.brand-logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.brand-logo h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.brand-logo span {
    font-size: 12px;
    color: #999;
}

/* All Brands Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    overflow-y: auto;
}

.modal.show {
    display: block;
}

.modal-content {
    background: white;
    margin: 50px auto;
    padding: 40px 20px;
    width: 90%;
    max-width: 1200px;
    border-radius: 10px;
    position: relative;
    animation: slideDown 0.3s ease-out;
    overflow-x: hidden;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #333;
}

.all-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 40px;
    padding: 0 5px;
}

.all-brand-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    background: white;
    text-decoration: none;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    max-width: 100%;
}

.all-brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #c9302c;
}

.brand-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
    width: 100%;
}

.all-brand-item img {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

.all-brand-item h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.all-brand-item .brand-subtitle {
    font-size: 11px;
    color: #999;
    margin-bottom: 5px;
}

.all-brand-item .brand-categories {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: auto;
}

.all-brand-item .brand-category {
    font-size: 10px;
    color: white;
    background: #666;
    padding: 2px 8px;
    border-radius: 3px;
    display: inline-block;
    min-height: 20px;
    line-height: 16px;
    white-space: nowrap;
}

.all-brand-item .brand-category.pro {
    background: #2c5aa0;
}

.all-brand-item .brand-category.high-end {
    background: #c9302c;
}

.all-brand-item .brand-category.mi {
    background: #27ae60;
}

.all-brand-item .brand-category.control {
    background: #8e44ad;
}

.modal-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 300;
}

.modal-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.brand-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.filter-btn:hover {
    background: #f0f0f0;
}

.filter-btn.active {
    background: #c9302c;
    color: white;
    border-color: #c9302c;
}

/* News Section */
.news-section {
    padding: 80px 5%;
    background: white;
}

.news-container {
    max-width: 1000px;
    margin: 0 auto;
}

.news-item {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    gap: 30px;
    align-items: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.news-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.news-date {
    min-width: 100px;
    color: #999;
    font-size: 14px;
}

.news-category {
    display: inline-block;
    padding: 4px 12px;
    background: #c9302c;
    color: white;
    font-size: 12px;
    border-radius: 3px;
    margin-right: 15px;
}

.news-category.product {
    background: #2c5aa0;
}

.news-category.event {
    background: #27ae60;
}

.news-title {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.news-title:hover {
    color: #c9302c;
}

/* About Section */
.about-section {
    padding: 100px 5%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    position: relative;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 30px;
    opacity: 0.95;
    text-align: left;
}

.president-signature {
    text-align: right;
    margin-top: 40px;
    font-size: 16px;
    opacity: 0.9;
}

/* Company Links */
.company-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.company-link-item {
    text-align: center;
    flex: 0 0 calc(33.333% - 14px);
    min-width: 250px;
}

.company-link-item a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    min-height: 60px;
    width: 100%;
}

.company-link-item a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 0;
}

/* Footer Main Content */
.footer-main {
    padding: 60px 5% 50px;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-logo-section {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #333;
}

.footer-logo-section img {
    height: 35px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    margin-bottom: 20px;
}

.footer-logo-section p {
    color: #999;
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 50px;
}

.footer-column h4 {
    font-size: 14px;
    margin-bottom: 25px;
    color: #c9302c;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 15px;
}

.footer-column a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.footer-column a:hover {
    color: white;
}

.footer-column a span {
    color: #c9302c;
    margin-right: 8px;
}

.footer-column a:hover span {
    transform: translateX(3px);
    transition: transform 0.3s;
}

/* Footer Bottom */
.footer-bottom {
    background: #0f0f0f;
    padding: 25px 5%;
}

.footer-bottom-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.group-logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.group-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s;
}

.group-logo-wrapper {
    background: white;
    padding: 8px 15px;
    border-radius: 4px;
    display: inline-block;
}

.group-logo-link:hover .group-logo-wrapper {
    transform: scale(1.05);
}

.group-logo {
    height: 24px;
    width: auto;
    display: block;
}

.copyright-text {
    color: #666;
    font-size: 13px;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.6s ease-out;
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

/* Responsive for Tablets (900px) */
@media (max-width: 900px) {
    .featured-brands {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
        gap: 20px;
        padding: 0 15px;
    }

    .brand-logo {
        min-height: 200px;
        padding: 20px;
    }

    .brand-logo img {
        height: 80px;
    }

    .company-links {
        gap: 15px;
    }

    .company-link-item {
        flex: 0 0 calc(50% - 8px);
        min-width: 200px;
    }
}

/* Responsive for Mobile (768px) */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 20px;
        transition: 0.3s;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        height: auto;
        min-height: calc(100vh - 80px);
        padding: 40px 20px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        margin: 30px 0;
    }
    
    .cta-buttons {
        width: 100%;
        padding: 0 20px;
    }
    
    .cta-button {
        width: 100%;
        min-width: auto;
        padding: 15px 30px;
        font-size: 15px;
    }
    
    .cta-button.subdued {
        font-size: 13px;
        padding: 12px 25px;
    }

    /* Featured Brands の調整 */
    .featured-brands {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }

    .brand-logo {
        min-height: 180px;
        padding: 20px 15px;
    }

    .brand-logo img {
        height: 70px;
    }

    .brand-logo h4 {
        font-size: 14px;
    }

    .brand-logo span {
        font-size: 11px;
    }

    /* Modal の調整 */
    .modal-content {
        margin: 20px auto;
        padding: 30px 15px;
        width: 95%;
    }

    .all-brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0;
    }

    .all-brand-item {
        min-height: 200px;
        padding: 12px;
    }

    .all-brand-item img {
        height: 60px;
    }

    .all-brand-item h4 {
        font-size: 12px;
    }

    .all-brand-item .brand-subtitle {
        font-size: 10px;
    }

    .brands-section .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-column ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-column a {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .company-links {
        flex-direction: column;
        gap: 12px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .company-link-item {
        flex: 0 0 100%;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Responsive for Small Mobile (600px) */
@media (max-width: 600px) {
    .featured-brands {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-brands .brand-logo:nth-child(9) {
        display: none;
    }
}

/* Responsive for Very Small Mobile (480px) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .section-title {
        font-size: 28px;
    }

    /* Section padding の調整 */
    .brands-section {
        padding: 60px 3%;
    }

    /* Featured Brands の細かい調整 */
    .featured-brands {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 5px;
    }

    .brand-logo {
        min-height: 160px;
        padding: 15px 10px;
    }

    .brand-logo img {
        height: 60px;
    }

    .brand-logo h4 {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .brand-logo span {
        font-size: 10px;
    }
    
    .cta-button {
        font-size: 14px;
        padding: 14px 25px;
    }
    
    .cta-button.subdued {
        font-size: 12px;
        padding: 10px 20px;
    }

    /* Modal の最終調整 */
    .modal-content {
        margin: 10px;
        padding: 25px 10px;
        width: calc(100% - 20px);
        border-radius: 8px;
    }

    .modal-title {
        font-size: 24px;
    }

    .modal-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .brand-filter {
        gap: 5px;
        margin-bottom: 20px;
    }

    .filter-btn {
        padding: 6px 15px;
        font-size: 12px;
    }

    .all-brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .all-brand-item {
        min-height: 180px;
        padding: 10px;
    }

    .all-brand-item img {
        height: 50px;
    }

    .all-brand-item h4 {
        font-size: 11px;
    }

    .all-brand-item .brand-subtitle {
        font-size: 9px;
    }

    .all-brand-item .brand-category {
        font-size: 9px;
        padding: 2px 6px;
    }

    .close-modal {
        top: 15px;
        right: 15px;
        font-size: 24px;
    }

    .footer-logo-section img {
        height: 28px;
    }

    .footer-logo-section p {
        font-size: 13px;
    }

    .footer-column h4 {
        font-size: 13px;
        margin-bottom: 20px;
    }
}

/* Very Small Mobile (375px - iPhone SE等) */
@media (max-width: 375px) {
    .featured-brands {
        gap: 8px;
    }

    .brand-logo {
        min-height: 150px;
        padding: 12px 8px;
    }

    .brand-logo img {
        height: 50px;
    }

    .all-brands-grid {
        gap: 6px;
    }

    .all-brand-item {
        min-height: 160px;
    }
}