
/* ==========================================================================
    アセンソブランドページ　
    2026．09.03 更新
========================================================================== */

    :root {
        --ascenso-orange: #ff6600;
        --dark-gray: #222222;
        --light-bg: #f8f9fa;
        --text-color: #333333;
    }

    /* アセンソのエリア内「だけ」に限定して設定を適用 */
    .ascenso-wrapper {
        box-sizing: border-box;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 10px;
        color: var(--text-color);
        font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
        line-height: 1.6;
    }
    .ascenso-wrapper * {
        box-sizing: border-box;
    }

        /* 共通タイトル */
    .ascenso-wrapper .section-title {
        text-align: center;
        font-size: 2rem;
        font-weight: bold;
        margin-top: 0;
        margin-bottom: 40px;
        position: relative;
        padding-bottom: 18px;
        color: var(--dark-gray);
        border-bottom: 2px solid #ddd;
    }
    .ascenso-wrapper .section-title::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: -2px;
        transform: translateX(-50%);
        width: 120px;
        height: 5px;
        background-color: var(--ascenso-orange);
    }


/* 1. メインビジュアル */
    .mv-section {
        position: relative;
        margin-bottom: 50px;
        border-bottom: 5px solid var(--ascenso-orange);
        width: 100%;
        aspect-ratio: 1200 / 440; 
        background-color: var(--dark-gray);
        border-radius: 4px;
        overflow: hidden;
    }
    .mv-image-placeholder {
        background: url('https://cdn.shopserve.jp/kenki-parts.com/cdnassets/n26/c0543.webp') center/cover no-repeat;
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        z-index: 1;
    }

/* 2. イントロダクション */
    .intro-section {
        display: flex;
        align-items: center;
        gap: 30px;
        margin-bottom: 60px;
        flex-wrap: wrap;
    }
    .intro-img, .intro-text {
        flex: 1;
        min-width: 280px;
    }
    .intro-img img {
        width: 100%;
        height: auto;
        border-radius: 4px;
    }
    .intro-text h2 {
        font-size: 2rem; /* 3.5remから適正サイズに修正 */
        color: var(--dark-gray);
        margin-top: 0;
        line-height: 1.4;
    }
    .intro-text h2 span {
        border-bottom: 2px solid var(--ascenso-orange);
    }

/* 3. 企業理念セクション */
    .philosophy-section {
        margin-bottom: 60px;
        text-align: center;
    }
    .philosophy-container {
        background-color: var(--light-bg);
        padding: 40px 30px;
        border-radius: 8px;
        max-width: 900px;
        margin: 0 auto;
    }
    .philosophy-catch {
        font-size: 1.5rem;
        font-weight: bold;
        color: var(--ascenso-orange);
        margin-bottom: 25px;
        line-height: 1.4;
    }
    .philosophy-text {
        font-size: 1rem;
        color: var(--text-color);
        max-width: 700px;
        margin: 0 auto 30px auto;
        text-align: left;
    }
    .philosophy-img {
        max-width: 700px;
        margin: 0 auto;
    }
    .philosophy-img img {
        width: 100%;
        height: auto;
        border-radius: 6px;
        display: block;
    }


/* 4. 誕生のストーリーセクション */
    .story-section-v2 {
        max-width: 1200px;
        margin: 0 auto 60px auto;
        padding: 40px 0 0 0;
    }
    
    /* 上部：ストーリーエリア（左右分割） */
    .story-upper-flex {
        display: flex;
        gap: 50px;
        align-items: center;
        margin-bottom: 50px;
        padding: 0 20px;
    }
    
    /* 左側：コピー＆クォーテーション */
    .story-left-quote-box {
        flex: 1;
        min-width: 280px;
        text-align: center;
    }
    .story-quote-icon {
        max-width: 70px; /* クォーテーションマークのサイズ */
        width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
    }
    .story-quote-top {
        transform: rotate(180deg); /* 上の画像を180度回転 */
        margin-bottom: 15px;
    }
    .story-quote-bottom {
        margin-top: 15px;
    }
    .story-orange-title {
        font-size: 1.6rem;
        font-weight: bold;
        color: #ff5500; /* 画像に合わせた少し濃いめのオレンジ */
        line-height: 1.4;
        margin: 0;
        letter-spacing: 0.05em;
    }

    /* ビジョン・ミッションのアイコン画像のサイズ調整 */
    .vm-title img {
        width: 42px;    
        height: auto;
        vertical-align: middle; /* 文字と画像の高さを中央で揃える */
        margin-right: 8px;     /* アイコンと文字の間のすき間 */
    }
   
    /* 右側：ストーリー本文 */
    .story-right-text-box {
        flex: 1.3;
        min-width: 320px;
        font-size: 0.95rem;
        line-height: 1.8;
        color: #333;
        text-align: left;
    }
    .story-right-text-box p {
        margin-top: 0;
        margin-bottom: 15px;
    }
    .story-right-text-box p:last-child {
        margin-bottom: 0;
    }

    /* 下部：Vision & Mission エリア（グラデーション） */
    .story-gradient-zone {
    /* 左から右への美しいグラデーション（画像の色合いを再現） */
        background: linear-gradient(135deg, #ff6622 0%, #ff9e22 100%);
        padding: 50px 40px;
        border-radius: 4px;
        display: flex;
        gap: 40px;
    }
    .vm-card {
        flex: 1;
        min-width: 260px;
    }
    .vm-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
        display: block;
    }
    .vm-title {
        font-size: 1.4rem;
        font-weight: bold;
        margin-top: 0;
        margin-bottom: 15px;
        color: #000000;
    }
.vm-list {
        margin: 0;
        padding-left: 20px; /* 左側のスペースをしっかり確保 */
        font-size: 0.95rem;
        line-height: 1.7;
    }
    .vm-list li {
        margin-bottom: 10px;
        list-style-type: disc !important; /* &#9664; !important をつけて黒丸を強制表示 */
        display: list-item !important;    /* &#9664; display: none 等で消されている対策 */
        margin-left: 5px;                  /* 黒丸の左側の微調整 */
    }
    .vm-list li:last-child {
        margin-bottom: 0;
    }


/* 5. アセンソが選ばれる3つの理由セクション */
    .features-grid {
        display: flex;
        gap: 20px;
        margin-bottom: 60px;
        flex-wrap: wrap;
    }
    .feature-card {
        flex: 1;
        min-width: 260px;
        background-color: var(--light-bg);
        border-radius: 6px;
        overflow: hidden;
        text-align: center;
    }
.feature-card img {
        width: 100%;
        height: auto;         
        aspect-ratio: 16 / 10;  
        object-fit: contain;  
        background-color: #fff;
    }
    
    .feature-card-content {
        padding: 15px;
    }
    .feature-card h3 {
        font-size: 1.1rem;
        margin-top: 0;
        color: var(--dark-gray);
    }
    .feature-card p {
        font-size: 0.85rem;
        color: #666;
        text-align: left;
        margin: 0;
    }


/* 6. アセンソが定める5つ星製造チェックリストセクション */
    .checklist-section {
        margin-bottom: 50px;
    }
    .checklist-item {
        display: flex;
        align-items: center;
        gap: 40px;
        margin-bottom: 40px;
    }
    .checklist-image-box {
        flex: 1;
        min-width: 300px;
    }
    .checklist-image-box img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        display: block;
    }
    .checklist-content-box {
        flex: 1.2;
    }
    .checklist-title {
        font-size: 20px;
        font-weight: bold;
        color: #111111;
        margin-top: 0;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .checklist-text {
        font-size: 15px;
        color: #555555;
        margin: 0;
    }

    .check-mark {
        padding-left: 25px;
        position: relative;
    }
    .check-mark::before {
        content: "";
        display: inline-block;
        position: absolute;
        top: 5px; /* チェックマークの位置を微調整 */
        left: 0;
        width: 16px;
        height: 8px;
        border-left: 3px solid #ff6600;
        border-bottom: 3px solid #ff6600;
        transform: rotate(-45deg);
    }

/* 8. スペック＆品質比較セクション */
    .table-section {
        margin-bottom: 60px;
        background-color: var(--light-bg);
        padding: 30px 15px;
        border-radius: 8px;
    }
    .table-responsive {
        overflow-x: auto;
        width: 100%;
    }
    .ascenso-wrapper table {
        width: 100%;
        border-collapse: collapse;
        background-color: #fff;
        min-width: 500px;
        margin: 0; 
    }
    .ascenso-wrapper th, 
    .ascenso-wrapper td {
        border: 1px solid #ddd;
        padding: 12px;
        font-size: 0.9rem;
        text-align: center;
        line-height: 1.6;
    }
    .ascenso-wrapper th {
        background-color: var(--dark-gray);
        color: #fff;
        font-weight: bold;
    }
    .ascenso-wrapper th.highlight-col {
        background-color: var(--ascenso-orange);
        color: #fff;
        font-weight: bold;
        border-left: 2px solid var(--ascenso-orange) !important;
        border-right: 2px solid var(--ascenso-orange) !important;
    }
    .ascenso-wrapper td.item-col {
        background-color: #f2f2f2;
        color: var(--dark-gray);
    }
    .ascenso-wrapper td.highlight-col {
        background-color: rgba(255, 102, 0, 0.03);
        border-left: 2px solid var(--ascenso-orange) !important;
        border-right: 2px solid var(--ascenso-orange) !important;
    }
    .ascenso-wrapper tr:last-child td.highlight-col {
        border-bottom: 2px solid var(--ascenso-orange) !important;
    }
    .ascenso-wrapper td.highlight-cell {
        color: var(--ascenso-orange);
        font-weight: bold;
    }

/* 9. カテゴリーナビゲーション */
    .category-grid {
        display: flex;
        gap: 15px;
        margin-bottom: 60px;
        flex-wrap: wrap;
        width: 100%;
    }
    .category-item {
        flex: 1;
        min-width: 240px;
        max-width: 100%;
        position: relative;
        height: 150px;
        border-radius: 4px;
        overflow: hidden;
        cursor: pointer;
    }
    .category-bg {
        position: absolute;
        top:0; left:0; width:100%; height:100%;
        background-size: cover;
        background-position: center;
        transition: transform 0.3s ease;
    }
    .category-item:hover .category-bg {
        transform: scale(1.05);
    }
    .category-overlay {
        position: absolute;
        top:0; left:0; width:100%; height:100%;
        background: rgba(0,0,0,0.4);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .category-item h3 {
        color: #fff;
        font-size: 1.2rem;
        margin: 0;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    }

/* 10. FAQ */
    .faq-section {
        margin-bottom: 40px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
    .faq-item {
        margin-bottom: 15px;
        border-bottom: 1px solid #ddd;
        padding-bottom: 15px;
    }
    .faq-q {
        font-weight: bold;
        font-size: 1rem;
        color: var(--dark-gray);
        display: flex;
        gap: 10px;
    }
    .faq-q::before { content: "Q."; color: var(--ascenso-orange); }
    .faq-a {
        margin-top: 8px;
        color: #555;
        padding-left: 24px;
        display: flex;
        gap: 10px;
        font-size: 0.95rem;
    }
    .faq-a::before { content: "A."; color: var(--dark-gray); font-weight: bold; }

     /* ===================================================
    見出し境界リセット（店舗側ID付きの黒線・余白を無力化）
    =================================================== */
    :is(#main-column, #JournalList, #Journal, section#itemDetail-wrap, article, body)
    .a-custom-body :is(h1, h2, h3, h4, h5, h6):not([class]) {
    border-top: none;
    border-bottom: none;
    border: none;
    padding-top: 0;
    padding-bottom: 0;
    letter-spacing: normal;
    }
    
    /* ===================================================
    クラス付き見出し（.content-heading等）の保護リセット
    店舗側ID（#JournalList, #main-column）の干渉を遮断
    =================================================== */
    :is(#main-column, #JournalList, #Journal, section#itemDetail-wrap, article, body)
    .a-custom-body :is(h1, h2, h3, h4, h5, h6)[class] {
    border-top: none;          
    }
    



/* レスポンシブ設定 */
    @media screen and (max-width: 768px) {
        /* 全体のベース余白を10pxから5pxに縮小して画面幅を広く使う */
        .ascenso-wrapper {
            padding: 0 5px;
        }

        .ascenso-wrapper .section-title {
            font-size: 1.5rem;
            margin-bottom: 30px;
        }
        .intro-text h2 {
            font-size: 1.4rem;
        }
        .philosophy-catch {
            font-size: 1.25rem;
        }
        
        /* 企業理念や工場のコンテナ内の余白も少し詰める */
        .philosophy-container {
            padding: 25px 15px;
        }

        .category-grid {
            flex-direction: column;
            gap: 10px; /* スマホ時の隙間を少し詰める */
        }
        .category-item {
            width: 100%;
            flex: none;
        }
        .features-grid {
            flex-direction: column;
            gap: 15px; /* スマホ時の隙間を少し詰める */
        }
        
        /* 誕生のストーリー部分の個別余白を解除・調整 */
        .story-upper-flex {
            flex-direction: column; /* 縦並びにする */
            gap: 25px;
            padding: 0; /* 左右の20pxの余白をなくす */
        }
        .story-gradient-zone {
            flex-direction: column; /* 縦並びにする */
            gap: 30px;
            padding: 30px 15px; /* 左右の25pxを15pxに縮小 */
        }
        .story-orange-title {
            font-size: 1.4rem;
        }

        .checklist-item {
            flex-direction: column;
            gap: 15px;
            margin-bottom: 40px;
        }
        .checklist-image-box {
            min-width: 100%;
        }
        
        /* 比較表セクションの無駄な左右余白（15px）をなくす */
        .table-section {
            padding: 30px 0; /* 左右を0にして表を画面いっぱいにする */
        }
    }

