/*
Theme Name: GeneratePress Child
Description: IZNM Custom Child Theme
Template: generatepress
Version: 1.0.0
Author: DAHSUE
*/

/* IZNM強制スタイル */
body {
    background-color: #080808 !important;
    color: #f5f5f5 !important;
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.site-header {
    background-color: #080808 !important;
}

.site-main,
.content-area {
    background-color: #080808 !important;
}

/* プライマリナビゲーションを非表示 */
.main-navigation {
    display: none !important;
}

/* フェードアップアニメーション */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* フッター調整 */
.site-footer {
    background-color: #080808 !important;
    border: none !important;
    padding: 40px 0 20px 0 !important;
}

/* リンクスタイル */
a {
    color: #ffffff !important;
    text-decoration: none !important;
}

a:hover {
    color: #cccccc !important;
}

/* ヘッダー、コンテンツ領域の z-index 調整 */
.site-header,
.site-main,
.site-content,
.content-area {
    position: relative;
    z-index: 10;
}

/* プライマリナビゲーション完全非表示 */
.main-navigation,
.primary-navigation,
#site-navigation,
.site-header .main-navigation,
.navigation-branding,
.menu-toggle {
    display: none !important;
}

/* ヘッダーを中央揃えに */
.inside-header {
    justify-content: center !important;
}

/* メインコンテンツエリアを透明化 */
.site-main,
.content-area,
#primary,
.hentry,
.entry-content,
article {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* コンテンツをホームページのみ非表示 */
body.home .entry-header,
body.home .entry-content,
body.home .entry-summary {
    display: none !important;
}

/* 他のすべてのページでコンテンツ表示 */
body:not(.home) .entry-header,
body:not(.home) .entry-content,
body:not(.home) .entry-summary {
    display: block !important;
    color: #f5f5f5 !important;
    background-color: #080808 !important;
}

/* 他のすべてのページでコンテナスタイル */
body:not(.home) .inside-article {
    background-color: #080808 !important;
    color: #f5f5f5 !important;
    display: block !important;
}


/* より強力な白いボックス除去（ホームページのみ）*/
body.home .site-content,
body.home .content-area,
body.home #content,
body.home #primary,
body.home .ast-container,
body.home .container,
body.home main,
body.home .main-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* フロントページ特化 */
.home .site-content,
.home .content-area,
.home #primary {
    display: none !important;
}

/* GeneratePress特有（ホームページのみ）*/
body.home .inside-article,
body.home .entry,
body.home .post {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* フッター白い線除去（ホームページのみ非表示）*/
body.home .site-footer,
body.home #colophon,
body.home footer,
body.home .footer-widgets,
body.home .site-info {
    display: none !important;
}

/* 他のページではフッター表示 */
body:not(.home) .site-footer {
    background-color: #080808 !important;
    color: #f5f5f5 !important;
    display: block !important;
    visibility: visible !important;
    height: auto !important;
}

/* マイアカウントページ専用スタイル */
.woocommerce-account .entry-content {
    display: block !important;
    color: #f5f5f5 !important;
    background-color: #080808 !important;
}

.woocommerce-account .entry-header {
    display: block !important;
    color: #f5f5f5 !important;
}

.woocommerce-account .inside-article {
    background-color: #080808 !important;
    color: #f5f5f5 !important;
}

/* IZNM機能ページ専用スタイル */
.woocommerce-account .entry-content,
.single-product .entry-content,
.page .entry-content,
.postid-8072 .entry-content,
.postid-8086 .entry-content {
    display: block !important;
    color: #f5f5f5 !important;
    background-color: #080808 !important;
}

.woocommerce-account .entry-header,
.single-product .entry-header,
.page .entry-header,
.postid-8072 .entry-header,
.postid-8086 .entry-header {
    display: block !important;
    color: #f5f5f5 !important;
}

.woocommerce-account .inside-article,
.single-product .inside-article,
.page .inside-article,
.postid-8072 .inside-article,
.postid-8086 .inside-article {
    background-color: #080808 !important;
    color: #f5f5f5 !important;
}

/* WooCommerce商品ページスタイル */
.single-product .product,
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-tabs,
.single-product .cart {
    background-color: #080808 !important;
    color: #f5f5f5 !important;
}

/* ETCH一覧ページ（page-id-8153）専用スタイル */
.page-id-8153 .entry-content,
.page-id-8153 .entry-header {
    display: block !important;
    color: #f5f5f5 !important;
    background-color: #080808 !important;
}

.page-id-8153 .inside-article {
    background-color: #080808 !important;
    color: #f5f5f5 !important;
}

/* =============================================
   IZNM BRAND DESIGN - 全ページ共通スタイル
   ============================================= */

/* ベーススタイルリセット */
body:not(.home) .inside-article {
    background-color: #080808 !important;
    max-width: 720px !important;
    margin: 0 auto !important;
    padding: 60px 24px !important;
}

/* タイトル */
body:not(.home) .entry-title {
    font-family: 'Noto Sans JP', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.3em !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    margin-bottom: 48px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #333333 !important;
    display: block !important;
}

body:not(.home) .entry-title::before {
    content: "/ " !important;
    color: #666666 !important;
}

/* 本文エリア */
body:not(.home) .entry-content {
    font-family: 'Noto Sans JP', sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 2 !important;
    letter-spacing: 0.05em !important;
    color: #cccccc !important;
    background-color: #080808 !important;
    display: block !important;
}

body:not(.home) .entry-content p {
    color: #cccccc !important;
    margin-bottom: 1.5em !important;
}

body:not(.home) .entry-content h1,
body:not(.home) .entry-content h2,
body:not(.home) .entry-content h3 {
    font-family: 'Noto Sans JP', sans-serif !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: 0.1em !important;
    margin-top: 2em !important;
    margin-bottom: 1em !important;
}

body:not(.home) .entry-content h2 {
    font-size: 16px !important;
    border-left: 2px solid #ffffff !important;
    padding-left: 12px !important;
}

body:not(.home) .entry-content h3 {
    font-size: 13px !important;
    color: #999999 !important;
    letter-spacing: 0.2em !important;
}

/* リンク */
body:not(.home) .entry-content a {
    color: #ffffff !important;
    text-decoration: none !important;
    border-bottom: 1px solid #444444 !important;
    transition: border-color 0.2s !important;
}

body:not(.home) .entry-content a:hover {
    border-bottom-color: #ffffff !important;
    color: #ffffff !important;
}

/* ボタン */
body:not(.home) .entry-content button,
body:not(.home) .entry-content input[type="submit"],
body:not(.home) .entry-content .button {
    background-color: #ffffff !important;
    color: #080808 !important;
    border: none !important;
    padding: 14px 32px !important;
    font-family: 'Noto Sans JP', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2em !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
    border-radius: 0 !important;
}

body:not(.home) .entry-content button:hover,
body:not(.home) .entry-content input[type="submit"]:hover {
    background-color: #cccccc !important;
    color: #080808 !important;
}

/* フォーム */
body:not(.home) .entry-content input[type="text"],
body:not(.home) .entry-content input[type="email"],
body:not(.home) .entry-content input[type="password"],
body:not(.home) .entry-content input[type="tel"],
body:not(.home) .entry-content textarea,
body:not(.home) .entry-content select {
    background-color: #111111 !important;
    border: 1px solid #333333 !important;
    color: #f5f5f5 !important;
    padding: 12px 16px !important;
    font-family: 'Noto Sans JP', sans-serif !important;
    font-size: 14px !important;
    border-radius: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

body:not(.home) .entry-content input:focus,
body:not(.home) .entry-content textarea:focus,
body:not(.home) .entry-content select:focus {
    outline: none !important;
    border-color: #666666 !important;
}

/* テーブル */
body:not(.home) .entry-content table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 13px !important;
}

body:not(.home) .entry-content th,
body:not(.home) .entry-content td {
    padding: 12px 16px !important;
    border-bottom: 1px solid #222222 !important;
    color: #cccccc !important;
    text-align: left !important;
}

body:not(.home) .entry-content th {
    color: #666666 !important;
    font-weight: 400 !important;
    letter-spacing: 0.1em !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
}

/* サイドバー非表示（IZNM機能ページ）*/
body:not(.home) .widget-area {
    display: none !important;
}

body:not(.home) .content-area {
    width: 100% !important;
}

/* WooCommerce 商品ページ */
body.single-product .woocommerce-product-gallery {
    margin-bottom: 32px !important;
}

body.single-product .product_title {
    font-family: 'Noto Sans JP', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2em !important;
    color: #ffffff !important;
    margin-bottom: 16px !important;
}

body.single-product .price {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 300 !important;
    letter-spacing: 0.1em !important;
}

body.single-product .woocommerce-product-details__short-description {
    color: #aaaaaa !important;
    font-size: 13px !important;
    line-height: 2 !important;
    margin-bottom: 32px !important;
}

body.single-product .single_add_to_cart_button {
    background-color: #ffffff !important;
    color: #080808 !important;
    border: none !important;
    border-radius: 0 !important;
    font-family: 'Noto Sans JP', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2em !important;
    padding: 16px 40px !important;
    transition: background-color 0.2s !important;
}

body.single-product .single_add_to_cart_button:hover {
    background-color: #cccccc !important;
    color: #080808 !important;
}

/* WooCommerce フォーム（マイアカウント等）*/
.woocommerce-account .woocommerce {
    font-family: 'Noto Sans JP', sans-serif !important;
    color: #cccccc !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 32px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    border-bottom: 1px solid #222222 !important;
    padding-bottom: 16px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    font-size: 11px !important;
    letter-spacing: 0.15em !important;
    color: #666666 !important;
    text-transform: uppercase !important;
    padding: 6px 12px !important;
    display: block !important;
    border: none !important;
    transition: color 0.2s !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    color: #ffffff !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
    color: #cccccc !important;
}

/* モバイル対応 */
@media (max-width: 768px) {
    body:not(.home) .inside-article {
        padding: 40px 20px !important;
    }

    body:not(.home) .entry-title {
        font-size: 11px !important;
        margin-bottom: 32px !important;
    }

    body:not(.home) .entry-content {
        font-size: 14px !important;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        flex-direction: column !important;
    }
}

/* =============================================
   IZNM - ヘッダー・フッター・アニメーション
   ============================================= */

/* ヘッダー */
.site-header {
    background-color: #080808 !important;
    border-bottom: 1px solid #1a1a1a !important;
    padding: 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
}

.inside-header {
    padding: 12px 20px !important;
    justify-content: center !important;
    min-height: unset !important;
}

/* ロゴ画像を小さく */
.site-header .header-image.is-logo-image {
    width: auto !important;
    max-width: 80px !important;
    height: auto !important;
    max-height: 46px !important;
    object-fit: contain !important;
    display: block !important;
}

/* サイトタイトルテキスト完全非表示 */
.site-branding .main-title,
.site-branding .site-description,
.site-title,
.main-title {
    display: none !important;
}

.site-branding {
    display: none !important;
}

/* ヘッダー固定分のオフセット */
body:not(.home) .site-content {
    padding-top: 70px !important;
}

body.home .site-content {
    padding-top: 0 !important;
}

/* =============================================
   フッター - IZNMブランドデザイン
   ============================================= */

/* フッター全体リセット */
.site-footer,
#colophon,
footer {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    background-color: #080808 !important;
    border-top: 1px solid #1a1a1a !important;
    padding: 40px 0 24px 0 !important;
    margin: 0 !important;
}

.site-info {
    display: block !important;
    background: transparent !important;
}

.inside-site-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 0 20px !important;
    max-width: 720px !important;
    margin: 0 auto !important;
}

/* フッターロゴ */
.site-info::before {
    content: '' !important;
    display: block !important;
    width: 40px !important;
    height: 1px !important;
    background-color: #333333 !important;
    margin: 0 auto 16px auto !important;
}

/* コピーライト */
.copyright-bar {
    text-align: center !important;
    width: 100% !important;
}

.copyright-bar .copyright {
    font-family: 'Noto Sans JP', sans-serif !important;
    font-size: 10px !important;
    font-weight: 300 !important;
    letter-spacing: 0.2em !important;
    color: #444444 !important;
    text-transform: uppercase !important;
    display: block !important;
    margin-bottom: 8px !important;
}

.copyright-bar a {
    font-size: 10px !important;
    color: #333333 !important;
    letter-spacing: 0.1em !important;
    text-decoration: none !important;
    border: none !important;
}

.copyright-bar a:hover {
    color: #666666 !important;
}

/* フッター内のbull非表示 */
.copyright-bar .sep,
.copyright-bar .bull {
    display: none !important;
}

/* フッターリンクエリア */
.iznm-footer-links {
    display: flex !important;
    gap: 24px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.iznm-footer-links a {
    font-family: 'Noto Sans JP', sans-serif !important;
    font-size: 10px !important;
    letter-spacing: 0.2em !important;
    color: #444444 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border: none !important;
    transition: color 0.2s !important;
}

.iznm-footer-links a:hover {
    color: #aaaaaa !important;
    border: none !important;
}

/* =============================================
   背景ロゴアニメーション用レイヤー
   ============================================= */

#iznm-bg-animation {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 0 !important;
    overflow: hidden !important;
}

.iznm-bg-logo {
    position: absolute !important;
    opacity: 0 !important;
    animation: iznmBlink var(--duration) infinite !important;
    animation-delay: var(--delay) !important;
    filter: brightness(0) invert(1) !important;
}

@keyframes iznmBlink {
    0%, 100% { opacity: 0; }
    50% { opacity: var(--max-opacity); }
}

/* =============================================
   スマホ最適化
   ============================================= */

@media (max-width: 768px) {
    .inside-header {
        padding: 10px 16px !important;
    }

    .site-header .header-image.is-logo-image {
        max-width: 64px !important;
        max-height: 36px !important;
    }

    body:not(.home) .site-content {
        padding-top: 64px !important;
    }

    .site-footer {
        padding: 32px 0 20px 0 !important;
    }

    .inside-site-info {
        gap: 16px !important;
    }
}
/* ========================================
   My Account Page (ID:8133) Card Titles
   ======================================== */

/* カードタイトル共通：ボールド＋サイズアップ */
body.page-id-8133 .card-title,
body.page-id-8133 .iznm-card-title,
body.page-id-8133 h2,
body.page-id-8133 h3 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* スラッシュロゴをタイトル前に装飾として挿入 */
body.page-id-8133 .card-title::before,
body.page-id-8133 .iznm-card-title::before,
body.page-id-8133 h2::before,
body.page-id-8133 h3::before {
    content: '' !important;
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    background-image: url('https://iznm.jp/wp-content/uploads/2026/03/iznm-logo-slash-w.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    opacity: 0.75 !important;
    flex-shrink: 0 !important;
}

/* モバイル調整 */
@media (max-width: 768px) {
    body.page-id-8133 .card-title,
    body.page-id-8133 .iznm-card-title,
    body.page-id-8133 h2,
    body.page-id-8133 h3 {
        font-size: 1.05rem !important;
        gap: 8px !important;
    }

    body.page-id-8133 .card-title::before,
    body.page-id-8133 .iznm-card-title::before,
    body.page-id-8133 h2::before,
    body.page-id-8133 h3::before {
        width: 14px !important;
        height: 14px !important;
    }
}
