/*
Theme Name: SUNSTAR STROBO 2026
Author: ALTERNA CREATES
Description: サンスター・ストロボ社 公式サイトテーマ（2026） - 全スタイル統合・最終完全版（省略なし・1000行超フルセット）
Version: 6.1
*/

/* --- 1. Base & Variables --- */
body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #f4f4f4;
    color: #000;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    background-color: #f4f4f4;
}

.theme-light {
    background-color: #f4f4f4;
    color: #000;
}

.bg-black {
    background-color: #000 !important;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.5 !important;
    letter-spacing: 0.05em;
}

.font-gothic-elegant {
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.25em;
    font-weight: 300;
}

.link-blue, .qanda-item a, .entry-content a, .entry-content-works a {
    color: #1558d6;
}

/* --- 2. Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 50;
    /* 初期状態は完全な黒 */
    background-color: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    /* 背景変化のアニメーション */
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}

/* スクロール時に適用されるクラス (JSで制御) */
.site-header.is-scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* --- 3. Navigation & Menus --- */
/* PC Sub Nav (Sticky under header) */
.sub-nav {
    background-color: #f3f4f6;
    color: #000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sub-nav a {
    color: #000;
    transition: opacity 0.3s;
    text-decoration: none;
}

.sub-nav a:hover {
    opacity: 0.6;
}

/* Mobile Sub Nav Bar */
.mobile-sub-nav-bar {
    height: 44px;
    background-color: #f3f4f6;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: sticky;
    top: 80px;
    z-index: 40;
}

/* Menu Overlay (Full Screen) */
.menu-overlay {
    position: fixed;
    inset: 0;
    background-color: #000;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    transition: opacity 0.4s ease, visibility 0.4s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    color: #fff;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-overlay nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.menu-overlay nav a:hover {
    color: #999;
}

/* --- 4. Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-700 { transition-delay: 700ms; }

/* --- 5. Common UI Components --- */
/* Buttons */
.btn-support {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #000 !important;
    background-color: #000 !important;
    color: #fff !important;
    padding: 0.75rem 2.5rem !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.15em !important;
    transition: all 0.5s ease !important;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 0;
    text-decoration: none;
}

.btn-support:hover {
    background-color: transparent !important;
    color: #000 !important;
    transform: translateY(-4px) !important;
}

.btn-showroom {
    display: inline-block;
    border: 1px solid #000;
    padding: 1rem 2.5rem;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.5s;
    text-decoration: none;
    color: #000;
    letter-spacing: 0.1em;
}

.btn-showroom:hover {
    background-color: #000;
    color: #fff;
}

/* Image Hovers & Containers */
.hover-lift {
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.img-zoom-container {
    overflow: hidden;
    position: relative;
}

.img-zoom-container img {
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.img-zoom-container:hover img {
    transform: scale(1.05);
}

/* Section Title with Border (Company/Support) */
.section-title-border {
    border-left: 4px solid #000;
    padding-left: 1rem;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    color: #000;
}

/* --- 6. SkyMagic Specific Layouts --- */
.accent-color-sky {
    color: #00a7e9;
}

.lineup-item-card {
    background: #fff;
    padding: 5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.lineup-item-card:last-child {
    border-bottom: none;
}

.lineup-title-sub {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #00a7e9;
    margin-bottom: 0.5rem;
    display: block;
}

/* --- 7. Hero Section & Slideshow (Front-Page) --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
    padding-bottom: 4rem; 
    background-color: #1c1c1c;
    color: #fff;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero-section {
        min-height: 0;
        height: 750px;
        padding-top: 124px;
        padding-bottom: 2.5rem;
    }
}

.hero-content-inner {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .hero-content-inner {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4rem;
        align-items: center;
    }
}

.hero-slideshow-area {
    width: 100%;
    order: 1;
    position: relative;
}

.hero-text-area {
    order: 2;
    z-index: 20;
}

@media (min-width: 1024px) {
    .hero-slideshow-area { order: 2; }
    .hero-text-area { order: 1; }
}

.hero-title {
    font-size: 2.75rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; text-align: left; } }

.text-outline-white {
    color: #000;
    text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF, -1px 1px 0 #FFF, 1px -1px 0 #FFF, 0px 1px 0 #FFF, 0 -1px 0 #FFF, -1px 0 0 #FFF, 1px 0 0 #FFF;
}

.text-gray-highlight {
    color: #9ca3af; /* zinc-400 */
}

/* Slideshow Mechanism */
.slideshow-container {
    position: relative;
    width: 100vw;
    height: 320px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

@media (min-width: 768px) { .slideshow-container { height: 480px; } }
@media (min-width: 1024px) {
    .slideshow-container {
        height: 540px;
        width: 100%;
        margin: 0;
    }
}

.hero-slide {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.hero-slide.active {
    opacity: 1;
    z-index: 10;
}

.hero-img-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slide-label {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: #000;
    color: #fff;
    padding: 6px 12px;
    font-size: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.6s;
    pointer-events: none;
    z-index: 25;
}

.hero-slide.active .slide-label {
    opacity: 1;
    transform: translateY(0);
}

/* Indicators */
.slide-indicator-wrap {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    z-index: 30;
}

@media (min-width: 1024px) {
    .slide-indicator-wrap {
        position: absolute;
        bottom: -20px;
        right: 0;
        margin: 0;
    }
}

.slide-indicator { 
    width: 2rem;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2); 
    transition: background-color 0.3s;
    cursor: pointer;
    border: none;
    outline: none;
}

.slide-indicator.active {
    background-color: #fff;
}

/* --- 8. Services Section --- */
.services-section {
    padding: 6rem 1.5rem;
    color: #000;
}

.service-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 10rem;
}

@media (min-width: 1024px) {
    .service-grid {
        display: grid;
        grid-template-columns: 44% 56%;
        align-items: center;
        gap: 4rem;
    }
}

.service-grid-img { order: 1; }
.service-grid-text { order: 2; }

@media (min-width: 1024px) {
    .service-grid-img, .service-grid-text { order: unset; }
    .service-grid.is-reversed { grid-template-columns: 56% 44%; }
    .service-grid.is-reversed .service-grid-img { order: 2; }
    .service-grid.is-reversed .service-grid-text { order: 1; }
}

.service-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.service-text {
    color: #4b5563;
    line-height: 1.8;
    font-size: 0.9375rem;
    max-width: 32rem;
    margin-bottom: 2rem;
}

.service-links-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.service-link {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid #000;
    padding-bottom: 0.25rem;
    transition: all 0.5s ease;
    text-decoration: none;
    color: #000;
}

.service-link:hover {
    gap: 1rem;
}

/* --- 9. Works Slider & Labels --- */
.works-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.works-slider-track {
    display: flex;
    width: max-content;
    animation: infinite-scroll 80s linear infinite;
}

.works-slider-track:hover {
    animation-play-state: paused;
}

.works-slider-item {
    width: 320px;
    margin: 0 15px;
    flex-shrink: 0;
}

@keyframes infinite-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.works-cat-label {
    display: inline-block;
    background-color: #888;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 2px;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- 10. Showroom & Blog Feed --- */
.showroom-section {
    padding: 120px 1.5rem;
    background-color: #ededed;
    color: #000;
}

.showroom-text {
    color: #4b5563;
    font-size: 15px;
    line-height: 2.2;
}

.showroom-badge {
    display: inline-block;
    font-size: 12px;
    border: 1px solid #000;
    padding: 3px 12px;
    margin-top: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-section {
    padding: 8rem 1.5rem;
    background-color: #f4f4f4;
    color: #000;
}

.category-label {
    display: inline-block;
    padding: 2px 8px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.05em;
    border-radius: 2px;
}

.cat-strobe { background-color: #444; }
.cat-signage { background-color: #129e9f; }
.cat-skymagic { background-color: #00a7e9; }

/* --- 11. Form Styles --- */
.form-container {
    border-top: 1px solid #000;
    margin-top: 4rem;
}

.form-row {
    display: flex;
    border-bottom: 1px solid #ddd;
    min-height: 80px;
}

@media (max-width: 768px) {
    .form-row { flex-direction: column; }
}

.form-label {
    width: 280px;
    background-color: #f9f9f9;
    padding: 2rem 1.5rem;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.form-content {
    flex-grow: 1;
    background-color: #fff;
    padding: 1.5rem;
}

.tag {
    font-size: 9px;
    padding: 2px 6px;
    font-weight: 700;
    margin-left: 8px;
    border-radius: 2px;
}

.tag-required {
    border: 1px solid #000;
    color: #000;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
    width: 100%;
    border: 1px solid #eee;
    background-color: #fcfcfc;
    padding: 1.2rem 1.5rem;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

input:focus, textarea:focus {
    border-color: #000;
    background-color: #fff;
}

.model-label-pill {
    display: inline-block !important;
    background-color: #000 !important;
    color: #fff !important;
    padding: 3px 22px !important;
    border-radius: 9999px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.15em !important;
    border: 1px solid #ffffff !important;
    margin-bottom: 1.25rem;
}

/* --- 12. Blog & Pagination --- */
.blog-filter-link {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #999;
    text-transform: uppercase;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    text-decoration: none;
}

.blog-filter-link:hover, .blog-filter-link.active {
    color: #000;
    border-bottom-color: #000;
}

.pagination-list {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin-top: 4rem;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid #eee;
    transition: all 0.3s;
    text-decoration: none;
    color: #000;
    background: #fff;
}

.page-numbers.current {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.page-numbers:hover:not(.current) {
    border-color: #000;
}

/* --- 13. Single Post Specific (Blog) --- */
.entry-content .lead-text {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.8;
    color: #000;
    margin-bottom: 3rem;
}

.entry-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    line-height: 1.4;
    color: #000;
}

.entry-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #000;
}

.entry-content h3::before {
    content: "";
    display: block;
    width: 4px;
    height: 1.2em;
    background: #000;
}

.entry-content p,
.entry-content-works p {
    line-height: 2 !important;
    margin-bottom: 2rem !important;
    color: #333 !important;
    font-size: 16px !important;
}

.entry-content ul, .entry-content ol,
.entry-content-works ul, .entry-content-works ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    color: #333;
}

.entry-content ul li {
    list-style: disc;
    margin-bottom: 0.2rem;
}

.entry-content blockquote,
.entry-content-works blockquote {
    border-left: 4px solid #ddd;
    padding: 1.5rem 2rem;
    margin: 3rem 0;
    background: #fff;
    font-style: italic;
    color: #666;
}

.wp-block-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 14px;
    background: #fff;
}

.wp-block-table th, .wp-block-table td {
    border: 1px solid #eee;
    padding: 1rem;
    text-align: left;
}

.wp-block-table th {
    background: #f9f9f9;
    font-weight: 700;
}

.toc-container {
    background: #fff;
    padding: 2rem;
    border-radius: 4px;
    margin-bottom: 3rem;
    border: 1px solid #eee;
}

.toc-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

.toc-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.toc-list a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.toc-list a:hover {
    color: #000;
    text-decoration: underline;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 3rem 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 引用（blockquote）の上下余白を上側に合わせて統一 */
.entry-content blockquote,
.prose blockquote {
            margin-top: 1.6em !important;
            margin-bottom: 1.6em !important; /* 上余白と同じに設定 */
            padding-top: 1em !important;
            padding-bottom: 0.1em !important; /* 上のパディングと同じに設定 */
}

/* 箇条書き（ul, ol）の行間をより確実に狭く調整
*/
.entry-content ul li,
.entry-content ol li,
.prose ul li,
.prose ol li,
.prose > ul > li,
.prose > ol > li {
            margin-top: 0.1em !important;
            margin-bottom: 0.1em !important;
            padding-top: 0 !important;
            padding-bottom: 0 !important;
}

/* リスト内の段落(p)が持つ上下マージンが原因で広がるのを防止 */
.entry-content li p,
.prose li p {
            margin-top: 0 !important;
            margin-bottom: 0 !important;
}

/* Table Styles */

/* 記事本文内のテーブル（標準ブロック・クラシックエディター共通） */
.entry-content table,
.prose table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
    border: 1px solid #444 !important; /* 全ての線の太さを1pxに統一 */
    table-layout: auto;
}

/* ヘッダーセルと通常セルの共通設定 */
.entry-content th,
.entry-content td,
.prose th,
.prose td {
    padding: 15px 20px !important;
    border: 1px solid #444 !important; /* 縦・横すべての罫線を表示 */
    font-size: 14px !important;
    line-height: 1.6 !important;
    text-align: left !important;
    color: #444;
}

/* 見出しセル（一番左の列などを想定） */
.entry-content th,
.prose th {
    background-color: #fafafa !important; /* 薄いグレーの背景 */
    font-weight: 700 !important;
    color: #000;
    width: 30%; /* スペック表として見やすいよう見出し幅を固定 */
    white-space: nowrap;
}

/* ホバー時の視認性向上 */
.entry-content tr:hover td {
    background-color: #fcfcfc;
}

/* モバイル対応：画面幅が狭い場合に横スクロールを許可 */
@media (max-width: 768px) {
    .entry-content,
    .prose {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .entry-content table,
    .prose table {
        min-width: 600px; /* スマホで文字が重なりすぎるのを防ぐ */
    }

    .entry-content th,
    .entry-content td,
    .prose th,
    .prose td {
        padding: 12px 15px !important;
        font-size: 13px !important;
    }
}

/* --- 14. Case Study (Works) Specific (FIXED ACCENT BAR) --- */
.accent-color-signage { color: #129e9f; }
.bg-accent-signage { background-color: #129e9f; }
.border-accent-signage { border-color: #129e9f; }

.spec-label {
    font-size: 11px;
    font-weight: 700;
    color: #129e9f;
    border: 1px solid #129e9f;
    padding: 2px 8px;
    display: inline-block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

. {
    margin-top: 0 !important;
}

/* 事例詳細内の見出し装飾 (ティールのアクセントバーを強制適用) */
h2.entry-content-works,
.entry-content-works h2 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-top: 4rem !important;
    margin-bottom: 2rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    color: #000 !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

h2.entry-content-works::before,
.entry-content-works h2::before {
    content: "" !important;
    display: block !important;
    width: 2rem !important;
    height: 2px !important;
    background-color: #129e9f !important;
}

/* プロジェクト基本情報・導入機材等のタイトルサイズ (13pxに拡大・重要) */
.works-grid-title {
    text-transform: uppercase;
    font-size: 13px !important;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

/* お客様の声の引用アイコン装飾 */
.voice-icon {
    width: 64px;
    height: 64px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #129e9f;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* --- 15. Breadcrumbs (SEO/LLMO) --- */
.breadcrumb-common {
    padding: 2rem 0;
    background-color: transparent;
}

.breadcrumb-common ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-common a {
    transition: color 0.3s;
    text-decoration: none;
    color: #a1a1aa;
}

.breadcrumb-common a:hover {
    color: #000;
}

/* Repair service specific breadcrumb navigation style */
.breadcrumb-repair {
    font-size: 10px;
    letter-spacing: 0.1em;
    color: #9ca3af;
    margin-bottom: 2rem;
    text-transform: uppercase;
}
.breadcrumb-repair a {
    color: #9ca3af;
    transition: color 0.3s;
}
.breadcrumb-repair a:hover {
    color: #fff;
}

/* --- 16. Media & Captions Design (Classic Editor & Smartphone Fix) --- */
/* 旧エディターが生成する [caption] ショートコードの固定幅(width)属性を強制的に無効化しレスポンシブ化 */
.wp-caption {
    max-width: 100% !important; /* 固定幅 style="width: ..." を上書き */
    width: 100% !important;      /* 同上 */
    margin-bottom: 1.5rem;
    background-color: transparent;
    border: none;
    padding: 0;
}

/* 画像レスポンシブの強制（スマホで画面からはみ出さないように制御） */
.entry-content img,
.entry-content-works img,
.wp-caption img,
.wp-block-image img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* キャプションテキストのデザイン（右寄せ・グレー・イタリックのプロ品質） */
.wp-caption .wp-caption-text,
.wp-block-image figcaption,
.entry-content figcaption,
.entry-content-works figcaption {
    font-size: 11px !important;
    color: #a1a1aa !important; /* zinc-400相当 */
    font-style: italic !important;
    text-align: right !important;
    margin-top: 0.75rem !important;
    line-height: 1.6 !important;
    letter-spacing: 0.02em !important;
    font-weight: 500 !important;
    padding: 0 !important;
}

/* --- 17. Q&A Page Specific (Flat Button Navigation & Accordion) --- */
.qanda-item summary::-webkit-details-marker {
    display: none;
}

.qanda-item summary {
    list-style: none;
}

.qanda-item[open] .plus-icon span:last-child {
    transform: rotate(90deg);
    opacity: 0;
}

.qanda-answer {
    transition: all 0.3s ease;
}

/* Q&A ナンバリングの視認性調整 */
.qanda-item span.font-mono {
    min-width: 3.5rem;
    display: inline-block;
}

/* Q&A Flat Button Nav Hover effect */
.qanda-btn-hover:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* --- 18. Company Profile & Support & Repair Specific --- */
/* Support Card (Used in Repair and Maintenance pages) */
.support-card {
    background-color: #fff;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Company and Support Tables */
.company-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    border-top: 1px solid #e5e7eb;
}

.company-table th {
    width: 25%;
    background-color: #f9fafb;
    text-align: left;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 700;
    vertical-align: top;
    color: #000;
}

.company-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    line-height: 1.8;
    color: #333;
}

@media (max-width: 767px) {
    .company-table th, .company-table td {
        display: block;
        width: 100%;
    }
    .company-table th {
        padding-bottom: 0.5rem;
        background-color: transparent;
    }
}

/* Client Grid for Company Profile */
.client-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid #e5e7eb;
    border-left: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
    .client-grid { grid-template-columns: repeat(4, 1fr); }
}

.client-item {
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    font-size: 12px;
    display: flex;
    align-items: center;
    min-height: 50px;
    color: #444;
}

/* PDF Icon Block (Repair service detailed page) */
.pdf-icon-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    transition: opacity 0.3s;
    margin-top: 1.5rem;
    text-decoration: none;
    color: #000;
}

.pdf-icon-block:hover {
    opacity: 0.6;
}

/* --- 19. Footer --- */
.site-footer {
    background-color: #000;
    border-top: 1px solid #18181b;
    padding: 6rem 1.5rem 3rem;
    color: #9ca3af;
}

.footer-link {
    color: #9ca3af;
    transition: color 0.3s;
    text-decoration: none;
}

.footer-link:hover {
    color: #fff;
}

.site-footer .border-t {
    border-color: rgba(39, 39, 42, 0.5); /* zinc-900/50 */
}

/* --- 20. Strobe Page Lineup Details (Generators, Monoblocks, etc.) --- */
/* Ensuring these specific lineup styles are fully preserved */
#lineup .auo-badge {
    background-color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#lineup h3 {
    letter-spacing: 0.1em;
}

.lineup-border-bottom {
    border-bottom: 2px solid #129e9f;
    display: inline-block;
    padding-bottom: 4px;
}

/* Accessibility & Utils */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* --- 21. Download Page Specific (NEW V6.2) --- */
/* ダウンロードテーブルの構造 */
.dl-table {
    width: 100%;
    border-collapse: collapse;
}

.dl-table th {
    background-color: #f9fafb;
    text-align: center;
    padding: 1rem 1.5rem;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 2px solid #000;
    letter-spacing: 0.1em;
    color: #000;
}

/* 列の間の垂直線 */
.dl-table th:first-child, 
.dl-table td:first-child {
    border-right: 1px solid #f0f0f0;
}

.dl-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    transition: background-color 0.3s;
    color: #333;
}

.dl-table tr:hover td {
    background-color: #fafafa;
}

/* PDFアイコンのアニメーション */
.pdf-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdf-link:hover {
    transform: scale(1.15);
}

/* 製造中止品タグ */
.discontinued-tag {
    font-size: 10px;
    color: #9ca3af;
    border: 1px solid #d1d5db;
    padding: 2px 6px;
    margin-left: 8px;
    font-weight: normal;
    border-radius: 2px;
}

/* モバイル表示の最適化 */
@media (max-width: 640px) {
    .dl-table th, .dl-table td {
        padding: 1rem;
        font-size: 13px;
    }
}

/* --- 22. Self Checklist Page Specific (NEW V6.3) --- */
.check-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid #f3f4f6;
}
.check-item:last-child { border-bottom: none; }

.check-number {
    font-family: 'Times New Roman', serif;
    font-size: 28px;
    font-style: italic;
    color: #e5e7eb;
    flex-shrink: 0;
    width: 40px;
    line-height: 1;
    padding-top: 4px;
}

.check-content h3 {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.check-content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.8;
}

.status-badge {
    font-size: 10px;
    padding: 2px 10px;
    border-radius: 2px;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.status-warning { background: #fee2e2; color: #b91c1c; }
.status-info { background: #e0f2fe; color: #0369a1; }

/* --- 23. Terminology Page Specific (NEW V6.4) --- */
.terminology-card {
    background-color: #fff;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
}

.term-item {
    margin-bottom: 3rem;
}
.term-item:last-child {
    margin-bottom: 0;
}

.term-title {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.term-title::before {
    content: '';
    display: block;
    width: 12px;
    height: 1px;
    background-color: #ccc;
}

.term-description {
    font-size: 14px;
    line-height: 2.2;
    color: #4b5563;
    text-align: justify;
}

/* Accessibility & Utils */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* --- 24. Technical Data Page Specific (Formatted) --- */
.tech-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 3.5rem;
    border: 1px solid #777;
    border-radius: 2px;
}

.tech-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    font-size: 11px;
    background: #fff;
}

.tech-table th {
    background-color: #fff;
    text-align: left;
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid #000;
    border-right: 1px solid #ddd;
    font-weight: 700;
    color: #000;
}

.tech-table td {
    padding: 0.5rem 0.8rem;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: left;
    font-family: 'Helvetica', 'Arial', sans-serif;
    color: #000;
    line-height: 1.4;
}

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

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

.border-thick-right {
    border-right: 2px solid #555 !important;
}

.table-group-label {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 0.6rem;
    display: block;
    color: #000;
    letter-spacing: 0.05em;
}

.table-note {
    font-size: 11px;
    color: #666;
    margin-bottom: 0.8rem;
    font-style: italic;
}

.quick-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 0.8rem 0;
    position: sticky;
    top: 80px;
    z-index: 40;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.quick-nav::-webkit-scrollbar {
    display: none;
}

.quick-nav a {
    font-size: 10px;
    font-weight: 700;
    padding: 0.5rem 1.2rem;
    background: #f4f4f4;
    border-radius: 2px;
    transition: all 0.3s;
    color: #333;
    text-decoration: none;
    margin-right: 0.25rem;
    border: 1px solid transparent;
}

.quick-nav a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

@media (max-width: 640px) {
    .quick-nav {
        top: 80px;
    }
    .tech-table {
        font-size: 10px;
    }
}

/* Accessibility & Utils */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* --- 25. Online Form Specific (Solid Style & CF7 Optimized) --- */

.form-container {
    border-top: 1px solid #000;
    background-color: #fff;
    margin-bottom: 5rem;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.form-container form,
.form-container .wpcf7-form {
    margin: 0 !important;
    padding: 0 !important;
}

.form-container p {
    margin: 0 !important;
    padding: 0 !important;
}

.form-row {
    display: flex;
    border-bottom: 1px solid #ddd;
    min-height: 80px;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}

.form-label {
    width: 280px;
    background-color: #f9f9f9;
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    color: #000;
}

.form-label .tag {
    margin-right: 16px !important;
}

.form-label span:not(.tag) {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #666;
    line-height: 1.6;
    margin-top: 6px;
}

@media (max-width: 768px) {
    .form-label {
        width: 100%;
        padding: 1.5rem;
    }
}

.form-content {
    flex-grow: 1;
    background-color: #fff;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}

/* ラジオボタン・チェックボックスレイアウト */
.wpcf7-checkbox, .wpcf7-radio {
    display: flex !important;
    flex-wrap: wrap;
    gap: 40px;
}

.vertical-checkbox .wpcf7-checkbox {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.showroom-toggle-area .form-content {
    align-items: center;
    justify-content: center;
}

.wpcf7-list-item {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.wpcf7-list-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #000;
    margin: 0;
}

/* ご指定の余白設定（wpcf7-list-item-labelを使用） */
.wpcf7-list-item-label {
    margin-left: 10px !important;
}

.wpcf7-list-item label input {
    width: 18px;
    height: 18px;
    accent-color: #000;
    cursor: pointer;
    flex-shrink: 0;
}

/* 条件分岐エリアの設定 */
#showroom-options-box {
    background-color: transparent;
}

#showroom-options-box .form-content {
    background-color: #fff !important;
}

#showroom-options-box .form-row:last-child {
    border-bottom: 1px solid #ddd !important;
}

/* --- 日付と時間の横並び調整（PC・スマホ対応強化版） --- */
.date-time-wrap {
    display: flex !important;
    flex-direction: row !important; /* PCで確実に横並び */
    gap: 20px;
    width: 100%;
    align-items: center;
}

/* CF7が自動挿入するbrタグがレイアウトを壊すのを防ぐ */
.date-time-wrap br {
    display: none !important;
}

.date-time-wrap .wpcf7-form-control-wrap {
    display: block;
    min-width: 0; /* flex内のオーバーフロー防止 */
}

.date-time-wrap .wpcf7-form-control-wrap:first-child {
    flex: 1;
}

.date-time-wrap .wpcf7-form-control-wrap:last-child {
    width: 240px;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .date-time-wrap {
        flex-direction: column !important; /* スマホで縦並び */
        gap: 12px;
        align-items: stretch !important;
    }
    .date-time-wrap .wpcf7-form-control-wrap {
        width: 100% !important;
        flex: none !important;
    }
}

/* 共通入力フィールドのデザイン */
.tag {
    font-size: 9px;
    padding: 2px 6px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    line-height: 1.2;
    flex-shrink: 0;
    box-sizing: border-box;
}
.tag-required { border: 1px solid #000; color: #000; }
.tag-optional { border: 1px solid #ccc; color: #999; }

.input-field,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
    width: 100%;
    border: 1px solid #eee;
    background-color: #fcfcfc;
    padding: 0.9rem 1.2rem;
    font-size: 14px;
    color: #000;
    outline: none;
    transition: all 0.3s ease;
    border-radius: 0;
    height: 54px;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}

/* Safariの日付入力欄（iOS/Mac）の特有バグ修正 */
input[type="date"] {
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

/* Safariで「年/月/日」が表示されない・はみ出す問題の対策 */
input[type="date"]::-webkit-datetime-edit {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0;
}

input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

textarea {
    height: auto !important;
}

input:focus, textarea:focus, select:focus {
    border-color: #000;
    background-color: #fff;
}

/* セレクトボックスの矢印と文字の中央寄せ */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 3rem;
    text-align: center;
    text-align-last: center;
}

/* 来場人数の配置 */
.visitors-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}
.visitors-wrap .unit {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    white-space: nowrap;
}

/* 送信ボタンエリア */
.py-20.text-center.bg-white,
.wpcf7-form .py-20.text-center {
    background-color: #f4f4f4 !important;
    position: relative;
    z-index: 10;
}

.btn-submit {
    background-color: #000 !important;
    color: #fff !important;
    padding: 1.25rem 5rem;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    transition: all 0.4s ease;
    text-transform: uppercase;
    border: 1px solid #000 !important;
    cursor: pointer !important;
    border-radius: 0;
    display: inline-block;
    position: relative;
    z-index: 50;
    pointer-events: auto !important;
    height: auto !important;
}

.btn-submit:hover:not(:disabled) {
    background-color: transparent !important;
    color: #000 !important;
}

/* 非活性状態 (同意チェックなし) */
.btn-submit:disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background-color: #000 !important;
    color: #fff !important;
}

.wpcf7-not-valid-tip {
    color: #ff0000;
    font-size: 11px;
    margin-top: 8px;
    font-weight: 700;
}

.wpcf7-response-output {
    margin: 0 0 2rem 0 !important;
    padding: 1.5rem !important;
    border: 1px solid #000 !important;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    background-color: #fff;
    color: #ff0000;
}

.wpcf7-spinner {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    z-index: 5;
    pointer-events: none;
}

.wpcf7-date::before{
		content: '日付を選択';
}

/* --- 26. Online Repair Request Thanks Page Specific --- */

.info-box {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.info-box:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-4px);
}

.step-number {
    font-family: 'Times New Roman', serif;
    font-style: italic;
    font-size: 24px;
    color: #ccc;
    margin-bottom: 0.5rem;
    display: block;
}

.btn-outline {
    display: inline-block;
    border: 1px solid #000;
    padding: 1.25rem 4rem;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    transition: all 0.4s ease;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #000;
    color: #fff;
}

/* --- 27. Contact Thanks Page Specific --- */

/* チェックアイコンの円形枠 */
.check-icon-wrap {
    width: 80px;
    height: 80px;
    border: 1px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    background-color: transparent;
}

/* リンクボタンの共通化（Section 25のbtn-submitを流用しつつ調整） */
.btn-back-home {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 1.25rem 4rem;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    transition: all 0.4s ease;
    text-transform: uppercase;
    border: 1px solid #000;
    text-decoration: none;
}

.btn-back-home:hover {
    background-color: transparent;
    color: #000;
}

/* モバイル調整 */
@media (max-width: 640px) {
    .check-icon-wrap {
        width: 64px;
        height: 64px;
    }
}

/* --- 28. Floating CTA Buttons (Multi-button Interactivity) --- */
.floating-cta-wrap {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 100;
    display: flex;
    flex-direction: row; /* 横並び */
    gap: 12px;
    
    /* 初期状態（隠れた状態） */
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: 
        opacity 0.6s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.6s;
    pointer-events: none;
}

/* スクロール後に表示される状態 */
.floating-cta-wrap.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.floating-cta {
    background-color: #000;
    color: #fff;
    width: 84px;
    height: 84px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 2px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* ストロボ直販サイトボタン：デフォルト非表示 */
.floating-cta-store {
    display: none !important;
}
.floating-cta-repair {
    display: none !important;
}

/* ストロボページの場合のみ直販サイトボタンを表示 */
.page-template-page-strobe .floating-cta-store {
    display: flex !important;
}

.page-template-page-strobe .floating-cta-showroom {
    display: none !important;
}
.page-template-page-strobe .floating-cta-repair,.page-template-page-strobe-support .floating-cta-repair{
    display: flex !important;
}

.floating-cta .cta-text {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.floating-cta:hover {
    background-color: #222;
    transform: translateY(-5px);
}

.floating-cta svg { transition: transform 0.4s ease; }
.floating-cta:hover svg { transform: scale(1.1); }

@media (max-width: 768px) {
    .floating-cta-wrap {
        bottom: 20px;
        right: 20px;
        gap: 8px;
    }
    .floating-cta {
        width: 74px;
        height: 74px;
        gap: 6px;
    }
    .floating-cta .cta-text {
        font-size: 9px;
    }
}
/* --- END OF FILE --- */