/* PDLCフィルム体験ページ専用スタイル */

/* モバイル用コントロールは常に非表示に設定（デフォルト） */
.mobile-controls {
    display: none;
}

/* デスクトップ用コントロールは常に表示（デフォルト） */
.desktop-controls {
    display: block;
}

/* ヒーローセクション */
.pdlc-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--dark-color));
    overflow: hidden;
}

    .pdlc-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('img/pdlc-hero-bg.jpg') no-repeat center center;
        background-size: cover;
        opacity: 0.3;
        z-index: 0;
    }

.pdlc-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s forwards 0.3s;
}

.pdlc-hero h1 {
    font-size: 4rem;
    font-weight: 200;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    background: linear-gradient(90deg, var(--text-color) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.pdlc-hero p {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    opacity: 0.9;
}

/* PDLCフィルム体験セクション */
.pdlc-experience {
    padding: 6rem 0;
    background-color: var(--dark-color);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-intro {
    max-width: 800px;
    margin: 1.5rem auto 0;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    opacity: 0.9;
}

.pdlc-intro {
    margin-bottom: 3rem;
    background-color: rgba(0, 229, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.pdlc-description h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.pdlc-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.spec-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.spec-item {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .spec-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        background-color: rgba(0, 229, 255, 0.1);
    }

    .spec-item i {
        font-size: 1.5rem;
        color: var(--accent-color);
        margin-right: 1rem;
    }

    .spec-item span {
        font-size: 1rem;
        line-height: 1.4;
    }

.pdlc-experience-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin: 4rem auto;
    max-width: 1400px;
    align-items: center;
}

/* ウィンドウ表示エリア */
.pdlc-window {
    flex: 3;
    min-width: 300px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 500px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background-color: #000;
}

.window-images {
    position: relative;
    width: 100%;
    height: 100%;
}

    .window-images img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: opacity 0.5s ease;
        opacity: 0;
    }

        .window-images img.active {
            opacity: 1;
        }

        .window-images img.hidden {
            opacity: 0;
        }

/* 動画オーバーレイ */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

    .video-overlay.active {
        opacity: 1;
    }

    .video-overlay video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* コントロールパネル */
.experience-controls {
    flex: 2;
    min-width: 300px;
}

.control-panel {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.control-section {
    margin-bottom: 2.5rem;
}

    .control-section:last-child {
        margin-bottom: 0;
    }

    .control-section h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        color: var(--accent-color);
        font-weight: 300;
    }

/* スイッチスタイル */
.switch-container {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-right: 1rem;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 3px;
        background-color: var(--text-color);
        transition: 0.4s;
    }

input:checked + .slider {
    background-color: var(--accent-color);
}

    input:checked + .slider:before {
        transform: translateX(26px);
    }

.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.switch-status {
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
}

.status-label {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 0.2rem;
}

.control-description {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    border-left: 3px solid var(--accent-color);
    transition: all 0.3s ease;
}

    .control-description p {
        margin: 0;
    }

/* アクセントボタン */
.button.accent {
    background-color: var(--secondary-color);
    margin-bottom: 1rem;
}

    .button.accent:hover {
        background-color: var(--accent-color);
        transform: translateY(-5px);
    }

/* モバイル向け特別調整 */
@media (max-width: 768px) {
    .pdlc-experience-container {
        flex-direction: column;
        gap: 1rem;
    }

    .pdlc-window {
        height: 300px;
        margin-bottom: 0;
    }

    .experience-controls {
        width: 100%;
    }

    .control-panel {
        margin-top: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-top: none;
        padding: 1rem;
    }

    .pdlc-intro {
        padding: 1.5rem;
    }

    .spec-highlights {
        flex-direction: column;
        gap: 0.75rem;
    }

    .spec-item {
        min-width: 100%;
    }

    .control-section h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    /* モバイル表示時はデスクトップコントロールを非表示 */
    .desktop-controls {
        display: none !important;
    }

    /* モバイル表示時はモバイルコントロールを表示 */
    .mobile-controls {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: rgba(17, 17, 17, 0.9);
        backdrop-filter: blur(10px);
        padding: 1rem;
        z-index: 1000;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
        justify-content: space-around;
        align-items: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-switch-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

        .mobile-switch-container .switch {
            margin-right: 0;
        }

    .mobile-switch-label {
        font-size: 0.8rem;
        color: var(--text-light);
    }

    .mobile-video-button {
        padding: 0.5rem 1rem;
        background-color: var(--secondary-color);
        color: var(--text-light);
        border: none;
        border-radius: 4px;
        font-size: 0.9rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

        .mobile-video-button i {
            font-size: 1.2rem;
        }

        .mobile-video-button:hover,
        .mobile-video-button:active {
            background-color: var(--accent-color);
        }

    /* フッターパディングを追加して、フローティングコントロールバーとの重なりを防ぐ */
    footer {
        padding-bottom: 5rem !important;
    }
}

/* 特徴カード */
.pdlc-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 6rem;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        border-color: rgba(0, 229, 255, 0.2);
    }

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* CTA */
.cta-container {
    margin-top: 5rem;
    text-align: center;
    background-color: rgba(0, 229, 255, 0.05);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

    .cta-container h3 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        color: var(--text-light);
    }

.button-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* 応用例セクション */
.pdlc-applications {
    padding: 6rem 0;
    background-color: var(--dark-overlay);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.application-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .application-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }

    .application-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .application-item h3 {
        font-size: 1.3rem;
        margin: 1.5rem 1.5rem 0.5rem;
        color: var(--accent-color);
    }

    .application-item p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 0 1.5rem 1.5rem;
        color: var(--text-muted);
    }

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .pdlc-experience-container {
        flex-direction: column;
    }

    .pdlc-window {
        width: 100%;
        height: 400px;
    }

    .pdlc-hero h1 {
        font-size: 3rem;
    }

    .button-group {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .pdlc-hero {
        height: 50vh;
    }

        .pdlc-hero h1 {
            font-size: 2.5rem;
        }

        .pdlc-hero p {
            font-size: 1.2rem;
        }

    .pdlc-window {
        height: 350px;
    }

    .section-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .control-panel {
        padding: 1.5rem;
    }

    .cta-container {
        padding: 2rem 1rem;
    }

        .cta-container h3 {
            font-size: 1.5rem;
        }

    .applications-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== 業者紹介セクション ========== */
.pdlc-vendors {
  padding: 80px 0;
  background: rgba(0, 0, 0, 0.3);
}

/* おすすめ業者（ピースビズ） */
.vendor-featured {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 180, 0, 0.1), rgba(255, 120, 0, 0.08));
  border: 1px solid rgba(255, 180, 0, 0.4);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 60px;
}
.vendor-featured-badge {
  position: absolute;
  top: -14px;
  left: 30px;
  background: linear-gradient(90deg, #ffb400, #ff6600);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: 20px;
}
.vendor-featured-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.vendor-featured-header h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  margin: 0;
}
.vendor-area-tag {
  background: rgba(255, 180, 0, 0.2);
  border: 1px solid rgba(255, 180, 0, 0.5);
  color: #ffb400;
  font-size: 0.75rem;
  padding: 3px 12px;
  border-radius: 20px;
}
.vendor-featured-desc {
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 24px;
}
.vendor-featured-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.vendor-point {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}
.vendor-point i {
  color: #ffb400;
  width: 18px;
  flex-shrink: 0;
}
.vendor-featured-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* 業者選びのポイント */
.vendor-guide {
  margin-bottom: 60px;
}
.vendor-guide h3 {
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.vendor-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.vendor-guide-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 24px;
}
.vendor-guide-number {
  font-size: 2rem;
  font-weight: 200;
  color: rgba(255,180,0,0.5);
  font-family: 'Jost', sans-serif;
  line-height: 1;
  margin-bottom: 12px;
}
.vendor-guide-item h4 {
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 10px;
}
.vendor-guide-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
}

/* エリア別業者リスト */
.vendor-list-section {
  margin-bottom: 60px;
}
.vendor-list-section > h3 {
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.vendor-list-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 32px;
}
.vendor-region {
  margin-bottom: 40px;
}
.vendor-region-title {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.vendor-region-title i {
  margin-right: 6px;
  color: rgba(255,180,0,0.6);
}
.vendor-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.vendor-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 20px;
  transition: border-color 0.2s;
}
.vendor-card:hover {
  border-color: rgba(255,255,255,0.2);
}
.vendor-card-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 4px;
}
.vendor-card-area {
  font-size: 0.75rem;
  color: rgba(255,180,0,0.7);
  margin-bottom: 10px;
}
.vendor-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 12px;
}
.vendor-card a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 1px;
  transition: color 0.2s;
}
.vendor-card a:hover {
  color: rgba(255,255,255,0.9);
}
.vendor-card a i {
  font-size: 0.7rem;
  margin-left: 4px;
}

/* HaLVision CTA */
.vendor-halvision-cta {
  text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 48px 32px;
}
.vendor-halvision-cta h3 {
  font-size: 1.3rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 16px;
}
.vendor-halvision-cta p {
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 28px;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .vendor-featured {
    padding: 28px 20px;
  }
  .vendor-featured-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .vendor-featured-points {
    grid-template-columns: 1fr;
  }
}
