/* ============================================================
   common.css — 福角工業 共通スタイル
   index.html / gaiyou.html 共通
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --color-navy: oklch(0.2598 0.1102 266.12);
    --color-neon-pink: oklch(0.65 0.25 350);
    --color-electric-blue: oklch(0.6 0.2 230);
    --color-sunset-orange: oklch(0.7 0.18 40);
    --color-primary: var(--color-navy);
    --color-accent: var(--color-neon-pink);
    --color-background: oklch(0.98 0.005 250);
    --color-foreground: oklch(0.1392 0.0337 250);
}

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

/* ---- Base ---- */
html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--color-background);
    color: var(--color-foreground);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

/* ---- Gradient text ---- */
.gradient-text {
    background: linear-gradient(135deg, #ff006e, #00b4d8, #fb5607);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Glow ---- */
.glow-effect {
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.3), 0 0 40px rgba(255, 0, 110, 0.2);
}

/* ---- Grain texture ---- */
.grain-texture { position: relative; }
.grain-texture::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}
.btn-primary { background: #f86f3c; color: white; }
.btn-primary:hover { background: #c74200; transform: scale(1.05); }
.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.2); }

/* ---- Card ---- */
.card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ---- Contact card (背景白を上書きしない半透明カード) ---- */
.contact-card {
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}
.contact-card:hover {
    transform: scale(1.05);
}

/* ---- Hero parallax (index) ---- */
.hero-parallax {
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}

/* ---- Hero slideshow ---- */
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1.5s ease-in-out;
}

/* ---- Header ---- */
.header-blur {
    background: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(12px);
}

/* ---- Icon sizes ---- */
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 48px; height: 48px; }

/* ---- Nav links ---- */
a img:hover { transform: scale(1.05); }

.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { transform: translateY(-2px); }

/* ---- Mobile menu ---- */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(12px);
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 40;
}
.mobile-menu.active { display: block; }
.mobile-menu a {
    display: block;
    padding: 1rem;
    color: var(--color-foreground);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.mobile-menu a:hover { color: var(--color-navy); }

@media (max-width: 768px) {
    .desktop-nav     { display: none; }
    .mobile-menu-btn { display: block; }
}
@media (min-width: 769px) {
    .mobile-menu-btn { display: none; }
}

/* ---- Fade in animation ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }

/* ---- Recruit card (index) ---- */
.recruit-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.recruit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

/* ---- Recruit highlight banner (index) ---- */
.recruit-highlight {
    background: linear-gradient(135deg, #00376c, #0052a5);
    border-radius: 1.5rem;
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}
.recruit-highlight::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,180,216,0.2) 0%, transparent 70%);
    pointer-events: none;
}
.recruit-highlight::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,0,110,0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* ---- Recruit CTA block (gaiyou) ---- */
.recruit-cta {
    background: linear-gradient(135deg, #00376c, #0052a5);
    border-radius: 2rem;
    padding: 3.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}
.recruit-cta::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,180,216,0.2) 0%, transparent 70%);
    pointer-events: none;
}
.recruit-cta::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,0,110,0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* ---- Recruit tags ---- */
.tag-green {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
}
.tag-blue {
    background: rgba(0, 180, 216, 0.1);
    color: #0284c7;
    border: 1px solid rgba(0, 180, 216, 0.3);
}
.tag-orange {
    background: rgba(251, 86, 7, 0.1);
    color: #ea580c;
    border: 1px solid rgba(251, 86, 7, 0.3);
}

/* ---- Breadcrumb (gaiyou · PC only) ---- */
.breadcrumb { display: none; }
@media (min-width: 769px) { .breadcrumb { display: flex; } }

/* ---- Page hero (gaiyou) ---- */
.page-hero {
    background: linear-gradient(135deg, #00376c 0%, #0052a5 50%, #0d1b2a 100%);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -40%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,180,216,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -5%;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(255,0,110,0.13) 0%, transparent 70%);
    pointer-events: none;
}

/* ---- Wave divider ---- */
.wave-divider svg { display: block; }

/* ---- 印刷用ロゴヘッダー（画面では非表示） ---- */
.print-header-logo { display: none; }

/* ---- Greeting card (gaiyou) ---- */
.greeting-card {
    background: white;
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 4px 40px rgba(0,0,0,0.07);
    position: relative;
    overflow: hidden;

}
.greeting-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 200px; height: 200px;
    background: linear-gradient(135deg, rgba(0,180,216,0.08), transparent);
    border-radius: 0 0 0 100%;
    pointer-events: none;
}
.greeting-accent {
    width: 4px;
    background: linear-gradient(180deg, #00b4d8, #ff006e);
    border-radius: 2px;
    flex-shrink: 0;
    align-self: stretch;
}

/* ---- Company info table (gaiyou) ---- */
.info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.info-table tr { transition: background 0.2s; }
.info-table tr:hover td { background: rgba(0,180,216,0.04); }
.info-table td {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    vertical-align: top;
    line-height: 1.7;
}
.info-table tr:last-child td { border-bottom: none; }
.info-table .label {
    font-weight: 700;
    color: #00376c;
    white-space: nowrap;
    width: 9rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}
.info-table .value {
    color: #374151;
    font-size: 0.95rem;
}

/* ---- Recruit FAQ Custom Styles ---- */
.faq-card img {
    width: 250px !important;
    height: 250px !important;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 1rem;
    /* 共通スタイルのホバー拡大を無効化したい場合は以下を追加 */
    transform: none !important; 
}

/* モバイル表示（768px以下）でのサイズ調整 */
@media (max-width: 768px) {
    .faq-card img {
        width: 100% !important;
        height: auto !important;
        max-width: 300px; /* 大きくなりすぎないよう制限 */
        margin-bottom: 1rem;
    }
}

/* 蛍光ペン（mark）の太さ微調整 */
mark {
    background: linear-gradient(transparent 50%, rgba(255, 255, 0, 0.8) 50%);
    background-color: transparent;
    color: inherit;
    padding: 0 0.1em;
    font-weight: 600; /* マーカー部分は少し太くすると目立ちます */
}

mark {
    background: linear-gradient(transparent 60%, #ffff00 60%);
    background-color: transparent; /* 背景色を透明にしてグラデーションのみにする */
    color: inherit; /* 文字色は親要素を継承 */
    padding: 0 2px; /* 少し余白を持たせると綺麗です */
}
        /* ---- 施工事例リスト ---- */
        .jirei-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .jirei-list li {
            border-bottom: 1px solid rgba(0,0,0,0.07);
            transition: background 0.2s;
        }
        .jirei-list li:last-child {
            border-bottom: none;
        }
        .jirei-list li:hover {
            background: rgba(0, 180, 216, 0.04);
        }
        .jirei-list a {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1rem 1.25rem;
            text-decoration: none;
            color: #1e3a5f;
            font-size: 0.95rem;
            line-height: 1.6;
            transition: color 0.2s;
        }
        .jirei-list a:hover {
            color: #ff006e;
        }
        .jirei-list a .jirei-arrow {
            flex-shrink: 0;
            width: 16px;
            height: 16px;
            color: #00b4d8;
            transition: transform 0.2s;
        }
        .jirei-list a:hover .jirei-arrow {
            transform: translateX(4px);
        }
        .jirei-year {
            display: inline-block;
            font-size: 0.75rem;
            font-weight: 700;
            font-family: 'Outfit', sans-serif;
            letter-spacing: 0.05em;
            background: rgba(0,180,216,0.1);
            color: #0284c7;
            border: 1px solid rgba(0,180,216,0.25);
            border-radius: 9999px;
            padding: 0.1rem 0.6rem;
            white-space: nowrap;
        }
        .jirei-year.orange {
            background: rgba(251,86,7,0.1);
            color: #ea580c;
            border-color: rgba(251,86,7,0.25);
        }
        /* ---- Before/After 写真 ---- */
        .photo-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }
        @media (max-width: 640px) {
            .photo-grid {
                grid-template-columns: 1fr;
            }
        }
        .photo-block {
            position: relative;
            border-radius: 0;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        }
        .photo-block img {
            width: 100%;
            height: 260px;
            object-fit: cover;
            display: block;
            transition: transform 0.4s ease;
        }
        .photo-block:hover img {
            transform: scale(1.03);
        }
        .photo-label {
            position: absolute;
            top: 0.75rem;
            left: 0.75rem;
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
            font-size: 0.8rem;
            letter-spacing: 0.08em;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
        }
        .photo-label.before {
            background: rgba(15,23,42,0.75);
            color: #fff;
            backdrop-filter: blur(6px);
        }
        .photo-label.after {
            background: rgba(0,180,216,0.85);
            color: #fff;
            backdrop-filter: blur(6px);
        }

        /* ---- 備考欄 ---- */
        .biko-box {
            background: #fff;
            border-radius: 0;
            border: 1px solid rgba(0,0,0,0.08);
            box-shadow: 0 2px 16px rgba(0,0,0,0.05);
            padding: 2rem 2.25rem;
            position: relative;
            overflow: hidden;
        }
        .biko-box::before {
            content: '';
            position: absolute;
            top: 0; left: 0;
            width: 4px; height: 100%;
            background: linear-gradient(180deg, #00b4d8, #ff006e);
            border-radius: 0 2px 2px 0;
        }
        .biko-text {
            color: #374151;
            font-size: 0.97rem;
            line-height: 1.85;
            white-space: pre-wrap;
        }

        /* ---- ナビゲーション（前後・一覧） ---- */
        .case-nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            flex-wrap: wrap;
        }
        .case-nav a {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.9rem;
            font-weight: 600;
            color: #00376c;
            text-decoration: none;
            padding: 0.5rem 1rem;
            border-radius: 9999px;
            border: 1.5px solid rgba(0,55,108,0.2);
            transition: all 0.2s;
        }
        .case-nav a:hover {
            background: #00376c;
            color: #fff;
            border-color: #00376c;
        }
        .case-nav .back-list {
            background: #00376c;
            color: #fff;
            border-color: #00376c;
        }
        .case-nav .back-list:hover {
            background: #002a54;
            border-color: #002a54;
        }
        /* ---- フォームカード ---- */
        .form-card {
            background: #fff;
            border-radius: 2rem;
            box-shadow: 0 4px 40px rgba(0,0,0,0.07);
            padding: 2.5rem 2.75rem;
        }
        @media (max-width: 640px) {
            .form-card { padding: 1.75rem 1.25rem; }
        }

        /* ---- フォーム行 ---- */
        .form-row {
            margin-bottom: 1.5rem;
        }
        .form-label {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 700;
            font-size: 0.9rem;
            color: #1e3a5f;
            margin-bottom: 0.5rem;
            font-family: 'Outfit', sans-serif;
        }
        .form-required {
            font-size: 0.7rem;
            font-weight: 700;
            background: #ff006e;
            color: #fff;
            border-radius: 4px;
            padding: 0.1rem 0.45rem;
            letter-spacing: 0.04em;
        }
        .form-optional {
            font-size: 0.7rem;
            font-weight: 600;
            background: rgba(0,0,0,0.07);
            color: #6b7280;
            border-radius: 4px;
            padding: 0.1rem 0.45rem;
        }

        /* ---- 入力フィールド ---- */
        .form-input,
        .form-textarea,
        .form-select {
            width: 100%;
            border: 1.5px solid #e5e7eb;
            border-radius: 0.75rem;
            padding: 0.75rem 1rem;
            font-size: 0.95rem;
            font-family: 'Noto Sans JP', sans-serif;
            color: #111827;
            background: #fafafa;
            transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
            outline: none;
            appearance: none;
        }
        .form-input:focus,
        .form-textarea:focus,
        .form-select:focus {
            border-color: #00b4d8;
            box-shadow: 0 0 0 3px rgba(0,180,216,0.12);
            background: #fff;
        }
        .form-input.error,
        .form-textarea.error,
        .form-select.error {
            border-color: #ff006e;
            box-shadow: 0 0 0 3px rgba(255,0,110,0.1);
        }
        .form-textarea {
            resize: vertical;
            min-height: 140px;
        }
        .form-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='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            padding-right: 2.5rem;
        }
        .error-msg {
            display: none;
            color: #ff006e;
            font-size: 0.8rem;
            margin-top: 0.35rem;
            font-weight: 600;
        }
        .error-msg.show { display: block; }

        /* ---- 個人情報 iframe ---- */
        .privacy-frame {
            width: 100%;
            height: 180px;
            border: 1.5px solid #e5e7eb;
            border-radius: 0.75rem;
            background: #fafafa;
        }

        /* ---- チェックボックス ---- */
        .checkbox-label {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            cursor: pointer;
            font-size: 0.95rem;
            font-weight: 600;
            color: #1e3a5f;
            user-select: none;
        }
        .checkbox-label input[type="checkbox"] {
            width: 1.25rem;
            height: 1.25rem;
            border: 2px solid #00b4d8;
            border-radius: 4px;
            accent-color: #00b4d8;
            flex-shrink: 0;
            cursor: pointer;
        }

        /* ---- 送信ボタン ---- */
        .submit-btn {
            width: 100%;
            padding: 1rem;
            font-size: 1.05rem;
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
            border-radius: 9999px;
            background: #f86f3c;
            color: #fff;
            border: none;
            cursor: pointer;
            transition: background 0.2s, transform 0.2s, opacity 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
        .submit-btn:hover:not(:disabled) {
            background: #c74200;
            transform: scale(1.02);
        }
        .submit-btn:disabled {
            opacity: 0.45;
            cursor: not-allowed;
        }

        /* ---- 注意書きボックス ---- */
        .notice-box {
            background: rgba(0,180,216,0.06);
            border: 1.5px solid rgba(0,180,216,0.2);
            border-radius: 1rem;
            padding: 1.25rem 1.5rem;
        }
        .notice-box p {
            font-size: 0.9rem;
            color: #374151;
            line-height: 1.8;
        }
        .notice-box strong {
            color: #00376c;
        }

        /* ---- 送信完了メッセージ ---- */
        .success-box {
            display: none;
            background: linear-gradient(135deg, #00376c, #0052a5);
            border-radius: 2rem;
            padding: 3rem 2.5rem;
            text-align: center;
            color: #fff;
        }
        .success-box.show { display: block; }

/* =============================================
   A4プリントアウト用スタイル
   ============================================= */

@media print {

    @page {
        size: A4 portrait;
        margin: 12mm 15mm 15mm 15mm;
    }

    /* ---- 非表示 ---- */
    header,
    .mobile-menu-btn,
    #mobileMenu,
    .wave-divider,
    .recruit-cta,
    .btn,
    .submit-btn,
    .case-nav,
    button,
    iframe {
        display: none !important;
        visibility: hidden !important;
    }

    /* ---- ヘッダーを完全に潰す ---- */
    header {
        position: static !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    /* ---- 印刷用ロゴヘッダー（通常時は非表示） ---- */
    .print-header-logo {
        display: flex !important;
        align-items: center;
        gap: 12px;
        padding-bottom: 4mm;
        margin-bottom: 2mm;
        border-bottom: 1.5px solid #00376c;
    }
    .print-header-logo img {
        height: 28px;
        width: auto;
    }
    .print-header-logo span {
        font-size: 8pt;
        color: #555;
        font-family: 'Noto Sans JP', sans-serif;
    }

    /* ---- Tailwind の pt-* を個別にリセット ---- */
    .pt-1  { padding-top: 0 !important; }
    .pt-2  { padding-top: 0 !important; }
    .pt-4  { padding-top: 0 !important; }
    .pt-6  { padding-top: 0 !important; }
    .pt-8  { padding-top: 0 !important; }
    .pt-10 { padding-top: 0 !important; }
    .pt-12 { padding-top: 0 !important; }
    .pt-16 { padding-top: 0 !important; }
    .pt-20 { padding-top: 0 !important; }
    .pt-24 { padding-top: 0 !important; }
    .pt-28 { padding-top: 0 !important; }
    .pt-32 { padding-top: 0 !important; }
    .pt-36 { padding-top: 0 !important; }
    .pt-40 { padding-top: 0 !important; }

    /* ---- page-hero ---- */
    .page-hero {
        padding-top: 6mm !important;
        padding-bottom: 6mm !important;
        margin-top: 0 !important;
    }

    /* ---- body・全体 ---- */
    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 10pt;
        line-height: 1.6;
    }
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    a[href]::after { content: none !important; }

    /* ---- レイアウト ---- */
    main { padding-top: 0 !important; margin-top: 0 !important; }
    .container { max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
    section { padding-top: 6mm !important; padding-bottom: 6mm !important; }

    /* ---- グリッド → 1カラム ---- */
    .grid { display: block !important; }
    .grid > * { margin-bottom: 5mm; break-inside: avoid; }

    /* ---- カード類 ---- */
    .card, .info-table, .biko-box, .faq-card, .greeting-card, .form-card {
        box-shadow: none !important;
        break-inside: avoid;
    }
    .space-y-12 > * { margin-bottom: 5mm !important; break-inside: avoid; }

    /* ---- ページ区切り ---- */
    h1, h2 { break-after: avoid; }
    table   { break-inside: avoid; }

    /* ---- index.html 全セクション共通 ---- */
    /* py-24 など大きなpaddingをリセット */
    .py-24, .py-20, .py-16 {
        padding-top: 6mm !important;
        padding-bottom: 6mm !important;
    }
    /* overflow-hidden を解除・高さを自動に */
    section {
        overflow: visible !important;
        min-height: 0 !important;
        height: auto !important;
    }
    /* absoluteで全面塗りつぶしている装飾divをすべて非表示 */
    /* inset-0クラスを持つabsolute要素（Tailwind: absolute inset-0） */
    .absolute.inset-0 {
        display: none !important;
    }
    /* wave divider（bottom-0の絶対配置）も非表示 */
    .wave-divider,
    section > .absolute.bottom-0 {
        display: none !important;
    }

    /* ---- index.html ヒーローセクション ---- */
    /* min-h-screen を解除 */
    .min-h-screen {
        min-height: 0 !important;
        height: auto !important;
    }
    /* パララックスのtransformを強制リセット＋通常フローに戻す */
    #heroParallax {
        transform: none !important;
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: 55mm !important;
        overflow: hidden !important;
    }
    #heroParallax img {
        transform: none !important;
        width: 100% !important;
        height: 55mm !important;
        object-fit: cover !important;
    }
    /* heroParallax内の装飾オーバーレイは残す（暗幕効果） */
    #heroParallax .absolute.inset-0 {
        display: block !important;
    }

    /* ---- 施工事例 写真グリッド ---- */
    .photo-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 5mm !important;
    }
    .photo-block img { height: auto !important; max-height: 80mm; }
}