/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 2.0;
    color: #ffffff;
    background-color: #00061a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 2.0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    min-width: 200px;
}

.btn-primary {
    background-color: #0D699C;
    color: #ffffff;
    border: 2px solid #8ED5FD;
}

.btn-primary:hover {
    background-color: #8ED5FD;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #6E0858;
    color: #ffffff;
    border: 2px solid #EB6ABC;
}

.btn-secondary:hover {
    background-color: #EB6ABC;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
}

.btn i {
    margin-right: 0.4rem;
    font-size: 1.1em;
}

.btn-detail {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    font-size: 0.875rem;
    padding: 12px 24px;
    text-align: center;
    min-width: 200px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    padding-left: 32px;
}

.btn-detail:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    transform: translateY(-2px);
}

.btn-detail i {
    margin-left: 0.3rem;
    font-size: 1.1em;
}

.btn-outline i {
    margin-left: 0.3rem;
    font-size: 1.1em;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00a8ff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    flex-shrink: 0;
}

.nav-contact {
    font-size: 0.875rem;
    padding: 12px 24px;
    background-color: #0D699C;
    color: #ffffff;
    border: 2px solid #8ED5FD;
}

.nav-contact:hover {
    background-color: #8ED5FD;
    color: #ffffff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 1px;
    display: block;
}

.nav-toggle-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/DNPXRSTUDIO_KV.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent, #00061a);
    pointer-events: none;
}

.hero-content {
    max-width: 1000px;
    padding: 0 20px;
    text-align: center;
}

.hero-logo {
    margin-bottom: 3rem;
}

.hero-logo-img {
    max-width: 960px;
    height: auto;
    width: 100%;
}

.hero-text {
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 32px;
    margin-bottom: 2rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 2rem;
    color: #ffffff;
    font-weight: normal;
    line-height: 1.4;
    position: relative;
}

.hero-subtitle::before,
.hero-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 160px;
    height: 1px;
    background-color: #ffffff;
    opacity: 1;
}

.hero-subtitle::before {
    left: 0px;
}

.hero-subtitle::after {
    right: 0px;
}

.hero-description {
    font-size: 14px;
    margin-bottom: 0;
    color: #ffffff;
    line-height: 2.0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
}

/* About Section */
.about {
    background-color: transparent;
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.about-paragraph {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 2.0;
}

.about-paragraph:last-child {
    margin-bottom: 0;
}

/* Features Section */
.features {
    position: relative;
    width: 100%;
    max-width: 1424px;
    margin-inline: auto;
}

.features .container {
    width: min(100% - 40px, 1270px);
    max-width: initial;
    margin-inline: auto;
    
    @media (width <= 768px) {
      width: min(100%, 680px);
    }
}

.features-content {
    position: relative;
}

@media (width < 1100px) {
  .features-img-container {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      margin-top: 50px;
  }
}

@media (1100px <= width) {
  .features-img-01,
  .features-img-02 {
      position: absolute;
  }
}

.features-img-01 img,
.features-img-02 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
}

@media (width < 1100px) {
  .features-img-01 img,
  .features-img-02 img {
      object-position: center;
  }
}

.features-img-01 {
    top: 220px;
    right: 0;
    max-width: 774px;
    filter: opacity(0.53);
}

.features-img-02 {
    bottom: 77px;
    left: 0;
    max-width: 794px;
    filter: opacity(0.41);
}

@media (1100px <= width) {
  .features-img-02 {
      height: 460px;
  }
}

.features-img-02 img {
    object-position: 66% 50%;
}

.features-grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 2.7rem;
    padding-block: 90px 0;
}

@media (width < 1100px) {
  .features-grid {
      padding-block: 0;
  }
}

@media (1100px <= width) {
  .feature-item:nth-child(1) {
      width: min(100%, 620px);
      margin-inline: 0 auto;
  }

  .feature-item:nth-child(2) {
      width: min(100%, 600px);
      margin-inline: auto;
  }

  .feature-item:nth-child(3) {
      width: min(100%, 680px);
      margin-inline: auto 0;
  }
}

@media (width < 1100px) {
  .feature-item {
      width: 100%;
      margin-inline: auto;
  }
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse > * {
    direction: ltr;
}

.feature-content {
    padding: 1rem 0;
    color: #fff;
}

.feature-title {
    font-size: 1.7rem;
    margin-bottom: 2.1rem;
    font-weight: 400;
    line-height: 1.3;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.9;
}

.feature-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Use Cases Section */
.use-cases {
    background-color: transparent;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.use-case-item {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.use-case-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: center;
}

.use-case-description {
    color: #cccccc;
    font-size: 0.95rem;
    text-align: left;
}


.use-case-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.placeholder-box {
    width: 100%;
    height: 250px;
    background-color: #333333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888888;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Portfolio Section */
.portfolio {
    background-color: transparent;
}

.portfolio-intro {
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 2.0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.portfolio-item:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 50%;
}

.portfolio-item {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}


.portfolio-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.portfolio-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
    height: 5rem;
}

.portfolio-company {
    font-size: 0.875rem;
    font-weight: 400;
}

.portfolio-description {
    color: #cccccc;
    font-size: 0.95rem;
    text-align: left;
}

.portfolio-btn {
    margin-top: 1rem;
    align-self: flex-end;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 0;
}

/* Equipment Section */
.equipment {
    background-color: transparent;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 !important;
}

.equipment-item {
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease;
}


.equipment-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.equipment-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: center;
}

.equipment-description {
    color: #cccccc;
    font-size: 0.95rem;
    text-align: left;
}

.equipment-button {
    text-align: center;
    margin-top: 3rem;
}

/* Partners Section */
.partners {
    background-color: transparent;
}

.partners-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.partner-item {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}


.partner-logo img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.partner-name {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.partner-description {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 2.0;
    margin-bottom: 1.5rem;
    text-align: left;
}

.partner-item .btn {
    width: 100%;
    display: block;
    background-color: #0000d2;
    color: #ffffff;
    border-color: #0000d2;
}

.partner-item .btn:hover {
    background-color: #0000d2;
    color: #ffffff;
    border-color: #0000d2;
}

/* Studio Specs Section */
.studio-specs {
    background-color: transparent;
}

.specs-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.floor-plan {
    padding: 2rem;
    text-align: center;
}

.floor-plan img {
    width: 100%;
    height: auto;
}

.specs-table {
    padding: 2rem;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #333;
}

.specs-table th {
    font-weight: 600;
    color: #ffffff;
    width: 30%;
    font-size: 0.875rem;
}

.specs-table td {
    color: #cccccc;
    font-size: 0.875rem;
}

/* WebGL Section */
.webgl {
    background-color: transparent;
}

.webgl-content {
    text-align: center;
}

.webgl-image {
    position: relative;
    margin-bottom: 2rem;
}

.webgl-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.webgl-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
}

.webgl-overlay h3 {
    font-size: 2rem;
    color: #ffffff;
    margin: 0;
}

.webgl-description {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.webgl-buttons {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* FAQ Section */
.faq {
    background-color: transparent;
}

.faq-list {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 3rem;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
}

.faq-question {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.faq-answer {
    color: #cccccc;
    font-size: 0.875rem;
    line-height: 2.0;
}

/* Access Section */
.access {
    background-color: transparent;
    padding: 20px 0 80px 0;
}

.access-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.map {
    overflow: hidden;
    text-align: center;
}

.access-info {
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.access-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.access-left p,
.access-right p {
    color: #cccccc;
    font-size: 1.3rem !important;
    line-height: 2.0;
    font-weight: 500;
}

.access-right h3 {
    color: #ffffff;
    font-size: 1.5rem !important;
    margin-bottom: 1rem;
    font-weight: 600;
}

.access-details h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.access-details h3:first-child {
    margin-top: 0;
}

.access-details p {
    color: #cccccc;
    font-size: 0.875rem;
    line-height: 2.0;
}

/* Footer */
.footer {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/DNPXRSTUDIO_KV.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 400px 0 0;
    text-align: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(#00061a, transparent);
    pointer-events: none;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.footer-description {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 2.0;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-buttons {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    margin-top: 400px;
}

.copyright {
    color: #888;
    font-size: 0.9rem;
}

/* Mobile Navigation */
.nav-mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.nav-mobile-item {
    margin: 1.5rem 0;
}

.nav-mobile-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-mobile-link:hover {
    color: #ffffff;
}

.nav-mobile-contact {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
    max-width: 300px;
}

.nav-mobile-contact .btn {
    min-width: 200px !important;
    width: 100% !important;
    padding: 12px 24px !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-list {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .hero-logo-img {
        max-width: 700px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .feature-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-item.reverse {
        direction: ltr;
    }
    
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .specs-content {
        gap: 2rem;
    }
    
    .access-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .about-content {
        text-align: left;
    }
    
    .partners-intro {
        text-align: left;
    }
    
    .footer-description {
        text-align: left;
    }
    
    .use-case-item,
    .portfolio-item,
    .equipment-item,
    .partner-item {
        padding: 10px;
    }
    
    .floor-plan,
    .specs-table {
        padding: 10px;
    }
    
    .nav-menu,
    .nav-actions {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-logo-img {
        max-width: 560px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 0.875rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .use-cases-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .webgl-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-title {
        font-size: 2rem;
    }
    
    .footer-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .use-case-item,
    .portfolio-item,
    .equipment-item,
    .partner-item {
        padding: 10px;
    }
    
    .floor-plan,
    .specs-table {
        padding: 10px;
    }
    
    .hero-logo-img {
        max-width: 480px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-number {
        font-size: 2.5rem;
    }
    
    .feature-title {
        font-size: 1.25rem;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .webgl-overlay h3 {
        font-size: 1.5rem;
    }
    
    .footer-title {
        font-size: 1.8rem;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling Enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus Styles for Accessibility */
.btn:focus,
.nav-toggle:focus {
    outline: 2px solid #00a8ff;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .nav,
    .hero-buttons,
    .footer-buttons,
    .webgl-buttons {
        display: none;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    .hero {
        background: none;
        height: auto;
        padding: 2rem 0;
    }
    
    .hero-title,
    .section-title {
        color: black;
    }
}

/* Equipment List Page Styles */
/* Compact Hero for Download Page */
.hero-compact {
    height: 40vh;
    min-height: 300px;
}

.hero-content-compact {
    padding-top: 10rem;
    padding-bottom: 4rem;
}

.hero-content-compact .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content-compact .hero-description {
    font-size: 1.1rem;
    color: #cccccc;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 2.0;
}

.equipment-section {
    padding: 4rem 0;
}

.equipment-section h2 {
    margin-bottom: 1rem;
    text-align: left;
}

.equipment-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.equipment-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: #1a1a1a;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    table-layout: fixed;
}

/* 長いテキストがある表（映像・撮影機材など）のみ横スクロール対応 */
.equipment-table.long-content table {
    min-width: 750px;
}

/* 音響機材の表の個別最小幅調整 */
.equipment-section:nth-of-type(3) .equipment-table.long-content table {
    min-width: 550px;
}

/* その他の表の個別最小幅調整 */
.equipment-section:nth-of-type(4) .equipment-table.long-content table {
    min-width: 550px;
}

.equipment-table th,
.equipment-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    font-size: 14px;
    white-space: nowrap;
}

.equipment-table th:first-child,
.equipment-table td:first-child {
    width: 20%;
    min-width: 120px;
}

.equipment-table.long-content th:first-child,
.equipment-table.long-content td:first-child {
    width: 30% !important;
}

/* 2列の表（モーションキャプチャー関連機材など）の数量列（2列目） */
.equipment-table:not(.long-content) th:nth-child(2),
.equipment-table:not(.long-content) td:nth-child(2) {
    width: 15% !important;
    min-width: 60px !important;
    max-width: 80px !important;
}

/* 1列目（機材名）の幅を調整 */
.equipment-table:not(.long-content) th:nth-child(1),
.equipment-table:not(.long-content) td:nth-child(1) {
    width: 85% !important;
}

.equipment-table.long-content th:nth-child(2),
.equipment-table.long-content td:nth-child(2) {
    width: 55% !important;
}

/* 3列の表（映像・撮影機材）の数量列 */
.equipment-table.long-content th:nth-child(3),
.equipment-table.long-content td:nth-child(3) {
    width: 15% !important;
    min-width: 60px !important;
    max-width: 80px !important;
}

.equipment-table th:last-child,
.equipment-table td:last-child {
    border-right: none;
}

.equipment-table th {
    background-color: #2a2a2a;
    font-weight: 700;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.equipment-table td {
    color: #e0e0e0;
    font-size: 0.95rem;
}


.equipment-table tr:last-child td {
    border-bottom: none;
}

.contact-section {
    padding: 4rem 0;
    text-align: center;
    background-color: #111;
}

.contact-description {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #cccccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer padding adjustment for sub-pages */
body:not(.home) .footer {
    padding: 0 !important;
}

body:not(.home) .footer-bottom {
    margin-top: 0 !important;
}

/* Download Page Styles */
.download-section {
    padding: 4rem 0;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.download-left {
    text-align: left;
}

.download-image {
    text-align: center;
    margin-bottom: 2rem;
}

.download-logo {
    max-width: 100%;
    width: 100%;
    height: auto;
    border: 1px solid #ffffff;
}

.download-intro {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 2.0;
    margin-bottom: 2rem;
}

.download-left h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #333;
}

.download-left h2:first-of-type {
    margin-top: 0;
}

.download-left ul,
.download-left ol {
    margin: 1rem 0;
    padding-left: 2rem;
    color: #e0e0e0;
}

.download-left li {
    margin-bottom: 0.5rem;
    line-height: 2.0;
}

.download-arrow {
    text-align: center;
    margin: 0 0 2rem 0;
}

.download-arrow h2 {
    border: none;
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-size: 1.5rem;
}

.download-right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-box {
    background-color: #ffffff;
    border: 1px solid #333;
    padding: 2rem;
    width: 100%;
    text-align: center;
}

.form-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.form-box p {
    color: #cccccc;
    font-size: 0.875rem;
}

/* Mobile Responsive for Download Page */
@media (max-width: 768px) {
    .download-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .download-left h2 {
        font-size: 1.2rem;
    }
    
    .download-arrow h2 {
        font-size: 1.3rem;
    }
    
    .form-box {
        padding: 1.5rem;
    }
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 0;
}

.contact-content-single {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-intro {
    margin-bottom: 2rem;
    text-align: left;
}

.contact-form-intro ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin: 0;
}

.contact-form-intro li {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-size: 0.875rem;
}

.contact-form-intro li:last-child {
    margin-bottom: 0;
}

.form-box {
    background-color: #ffffff;
    border: 1px solid #333;
    padding: 2rem;
    width: 100%;
    text-align: center;
}

.form-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.form-box p {
    color: #cccccc;
    font-size: 0.875rem;
}

/* Mobile Responsive for Equipment Page */
@media (max-width: 767px) {
    .hero-compact {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-content-compact {
        padding-top: 16rem !important;
        padding-bottom: 7rem;
    }
    
    .hero-content-compact .hero-title {
        font-size: 1.8rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content-compact .title-line1,
    .hero-content-compact .title-line2 {
        display: block;
        line-height: 1.2;
    }
    
    .hero-content-compact .title-line2 {
        margin-top: 0.5rem;
    }
    
    .hero-content-compact .hero-description {
        font-size: 0.9rem;
        line-height: 2.0;
        text-align: left;
    }
    
    .hero-content {
        padding-top: 4rem;
    }
    
    .hero-logo {
        margin-bottom: 2rem !important;
    }
    
    .hero-title {
        font-size: 1.4rem !important;
        margin-bottom: 1rem !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .title-line1,
    .title-line2 {
        display: block;
        line-height: 1.2;
    }
    
    .title-line2 {
        margin-top: 0.2rem;
    }
    
    .hero-subtitle {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 60px;
    }
    
    .subtitle-line1,
    .subtitle-line2 {
        display: block;
        line-height: 1.4;
    }
    
    .subtitle-line2 {
        margin-top: 0.2rem;
    }
    
    .hero-subtitle {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 60px;
    }
    
    .subtitle-line1,
    .subtitle-line2 {
        display: block;
        line-height: 1.4;
    }
    
    .subtitle-line2 {
        margin-top: 0.2rem;
    }
    
    .hero-subtitle::before,
    .hero-subtitle::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 60px;
        height: 1px;
        background-color: #ffffff;
        opacity: 1;
    }
    
    .hero-subtitle::before {
        left: 0px;
    }
    
    .hero-subtitle::after {
        right: 0px;
    }
    
    .partner-item .btn {
        text-align: center !important;
        margin: 0 auto;
    }
    
    .portfolio-btn {
        align-self: center !important;
        margin: 1rem auto 0 auto;
    }
    
    .portfolio-item:nth-child(5) {
        max-width: 100%;
        grid-column: 1 / -1;
    }
    
    .access {
        padding: 0 0 60px 0;
    }
    
    /* SP時の表の幅調整 - 内容に応じて */
    
    /* 2列の表（モーションキャプチャー関連機材） */
    .equipment-table:not(.long-content) th:nth-child(1),
    .equipment-table:not(.long-content) td:nth-child(1) {
        width: 70% !important;
    }
    
    .equipment-table:not(.long-content) th:nth-child(2),
    .equipment-table:not(.long-content) td:nth-child(2) {
        width: 30% !important;
    }
    
    /* 映像・撮影機材の表の個別調整 */
    .equipment-section:nth-of-type(2) .equipment-table.long-content th:nth-child(1),
    .equipment-section:nth-of-type(2) .equipment-table.long-content td:nth-child(1) {
        width: 30% !important;
    }
    
    .equipment-section:nth-of-type(2) .equipment-table.long-content th:nth-child(2),
    .equipment-section:nth-of-type(2) .equipment-table.long-content td:nth-child(2) {
        width: 55% !important;
    }
    
    /* 音響機材の表の個別調整 */
    .equipment-section:nth-of-type(3) .equipment-table.long-content th:nth-child(1),
    .equipment-section:nth-of-type(3) .equipment-table.long-content td:nth-child(1) {
        width: 35% !important;
    }
    
    .equipment-section:nth-of-type(3) .equipment-table.long-content th:nth-child(2),
    .equipment-section:nth-of-type(3) .equipment-table.long-content td:nth-child(2) {
        width: 50% !important;
    }
    
    /* その他の表の個別調整 */
    .equipment-section:nth-of-type(4) .equipment-table.long-content th:nth-child(1),
    .equipment-section:nth-of-type(4) .equipment-table.long-content td:nth-child(1) {
        width: 35% !important;
    }
    
    .equipment-section:nth-of-type(4) .equipment-table.long-content th:nth-child(2),
    .equipment-section:nth-of-type(4) .equipment-table.long-content td:nth-child(2) {
        width: 50% !important;
    }
    
    /* 3列目（数量）はすべての表で統一 */
    .equipment-table.long-content th:nth-child(3),
    .equipment-table.long-content td:nth-child(3) {
        width: 15% !important;
    }
}
@media (max-width: 768px) {
    .contact-content-single {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .form-box {
        padding: 1.5rem;
    }
}

/* Terms Page Styles */
.terms-section {
    padding: 4rem 0;
}

.terms-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    font-size: 0.875rem;
    color: #e0e0e0;
    line-height: 2.0;
}

.terms-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 3rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #333;
}

.terms-content h2:first-child {
    margin-top: 0;
}

.terms-content p {
    margin-bottom: 1rem;
}

.terms-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.terms-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.terms-content ol li {
    margin-bottom: 1rem;
    padding-left: 0;
    text-indent: 0;
    list-style-position: outside;
}

.terms-content ol li ul {
    margin-top: 0.5rem;
    padding-left: 1rem;
}

.terms-content li {
    margin-bottom: 0.5rem;
}

.terms-version {
    text-align: left;
    font-weight: 600;
    color: #cccccc;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.home-button {
    text-align: center;
    margin-top: 4rem;
}

.home-button .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.home-button .btn:hover {
    background-color: #ffffff;
    color: #000000;
}

/* Mobile Responsive for Equipment Tables */
@media (max-width: 768px) {
    .equipment-table {
        font-size: 0.9rem;
    }
    
    .equipment-table th,
    .equipment-table td {
        padding: 0.75rem 1rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .access-left p,
    .access-right p {
        font-size: 1rem !important;
    }
    
    .access-details p {
        font-size: 1rem !important;
    }
    
    .footer-buttons {
        gap: 1rem;
    }
    
    .footer-bottom {
        margin-top: 100px !important;
    }
    
    .hero {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
    
    .footer {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
    
    .footer-title {
        font-size: 20px !important;
        line-height: 1.6 !important;
    }
    
    .footer-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .deck-slides {
        padding: 2px !important;
        margin-bottom: 1rem;
    }
    
    .deck-slides iframe {
        width: 100%;
        height: 250px;
        aspect-ratio: unset;
    }
    
    .hero::after {
        height: 0px;
        display: none;
    }
    
    .map iframe {
        transform: translateX(-10px);
        height: 450px !important;
        width: 110% !important;
    }
}

/* Deck Content Styles */
.deck-content-single {
    max-width: 1200px;
    margin: 0 auto;
}

.deck-slides {
    background-color: #ffffff;
    border: 1px solid #333;
    padding: 2rem;
    width: 100%;
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.deck-slides iframe {
    max-width: 100%;
    height: auto;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    aspect-ratio: 16/9;
}

.deck-slides h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}

.deck-slides p {
    color: #666666;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Download Button Styles */
.download-button {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 8rem;
}

.download-button .btn {
    min-width: 200px;
}
