@charset "UTF-8";

/* =========================================
   Order Made Mat LP Styles
   ========================================= */

/* LP全体の設定 */
.lp-main {
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    line-height: 1.8;
    background-color: #fff;
}

/* 共通コンテナ */
.lp-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* --- Hero Section (2枚重ねレイアウト) --- */
.lp-hero {
    /* 背景画像設定を削除し、レイアウト調整用に変更 */
    position: relative;
    height: 80vh; /* 少し高さを確保 */
    min-height: 750px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

/* 背景画像（全画面） */
.lp-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.lp-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画面いっぱいに広げる */  
}

/* 前面画像（メインビジュアル） */
.lp-hero-front {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width:100%; /* 画面幅に合わせて伸縮 */
    max-width: 1000px;   
    overflow: hidden;
}

.lp-hero-front img {
    width: 100%;
    height: auto;
    display: block;
}



/* --- Page Navigation (タブ切り替え) --- */
.lp-nav {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 75px; /* ヘッダーの高さ */
    z-index: 90;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.lp-nav-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-nav-item a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    color: #666;
    font-weight: bold;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s;
    cursor: pointer;
}

.lp-nav-item a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #9d3d56;
    transition: width 0.3s;
}

.lp-nav-item a:hover,
.lp-nav-item a.active {
    color: #9d3d56;
}

.lp-nav-item a.active::after {
    width: 100%;
}

/* --- Tab Contents --- */
.order-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.order-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Section Common --- */
.lp-section { padding: 80px 0; }

.lp-section-title {
    text-align: center;
    font-size: 2rem;
    color: #9d3d56;
    font-family: "Calibri", sans-serif;
    margin-bottom: 50px;
    position: relative;
}

.lp-section-title span {
    display: block;
    font-size: 1rem;
    color: #333;
    font-family: "Noto Sans JP", sans-serif;
    
    font-weight: normal;
}

.lp-section-title::after {
    content: "";
    display: block;
    width: 8%;
    height: 3px;
    background: #9d3d56;
    margin: 20px auto 0;
}

/* --- Concept --- */
.lp-concept {
    background-color: #fff;
    text-align: center;
    padding-bottom: 40px;
}

.lp-concept-lead {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* --- Experience (オーダー体験) --- */
.lp-experience {
    background-color: #fcfcfc;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.exp-item {
    text-align: center;
}

.exp-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.exp-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.exp-item:hover .exp-img img {
    transform: scale(1.1);
}

.exp-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.exp-desc {
    font-size: 0.9rem;
    color: #666;
    text-align: left;
    line-height: 1.8;
}

/* --- Order Steps (リッチデザイン・横並び・リンク付き) --- */
.lp-steps {
    background-color: #f4f0ea;
}

/* 上段のリスト（Step 1-3） */
.step-list {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.step-item {
    width: 32%; /* 3列 */
    text-align: center;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05); /* 影 */
    position: relative;
}

.step-item::after {
    content: "\f054"; /* chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: -15px; /* ボックスの外側右 */
    top: 50%;
    transform: translateY(-50%);
    color: #ddd;
    font-size: 1rem;
    z-index: 1;
}

.step-item:last-child::after { content: none; }

.step-header { margin-bottom: 10px; text-align: left; }

.step-num {
    display: block;
    font-family: "Calibri", sans-serif;
    color: #333;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.step-item h3 {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.step-img {
    margin: 15px auto;
    width: 100%;    
    overflow: hidden;
}

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

.step-desc {
    font-size: 0.85rem;
    text-align: left;
    color: #666;
    line-height: 1.6;
}

/* 下段のリスト（Step 4-5：横長レイアウト） */
.step-list-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.step-item-wide {
    width: 48%; /* 2列 */
    border: 1px solid #ddd;
    padding: 20px 30px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.step-content-row {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 上下中央 */
    margin-top: 10px;
    gap: 20px;
}

.step-text-area { flex: 1; }
.step-img-area { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.step-qr-img { width: 80px; height: 80px; }
 

/* リンク用スタイル */
.step-link a {
    color: #9d3d56;
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
    display: block;
    margin-top: 5px;
    transition: opacity 0.3s;
}
.step-link a:hover { opacity: 0.7; }

/* --- Colors (カラー・バイアス) リニューアル版 --- */
.lp-colors {
    background-color: #fff; /* ベージュ */
}

.color-intro-text {
    text-align: center;
    margin-bottom: 40px;
}

/* 色選択ナビゲーション（グリッドレイアウトに変更） */
.color-nav {
    display: grid;
    grid-template-columns: repeat(12, auto); /* 基本は1列（12個） */
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
}

/* 画面幅が狭い時（12個並ばない時）は6個折り返し */
@media (max-width: 900px) {
    .color-nav {
        grid-template-columns: repeat(6, auto); /* 6列×2行 */
    }
}



.color-nav-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s, border-color 0.2s;
    overflow: hidden; 
}

.color-nav-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.color-nav-item:hover {
    transform: scale(1.1);
}

.color-nav-item.active {
    border-color: var(--main-color);
    transform: scale(1.2);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

/* カラー詳細カード (和紙風・横長デザイン) */
.color-detail-area {
    background: transparent;
    padding: 0;
    box-shadow: none;
    animation: fadeIn 0.5s ease;
    display: flex;
    justify-content: center;
}

.color-detail-card {
    max-width: 900px; /* 横幅を広げる */
    width: 100%;
    background-color: #fcfcfc;
    /* 和紙風テクスチャ */
    background-image: repeating-linear-gradient(0deg, transparent, transparent 1px, #f4f4f4 1px, #f4f4f4 2px);
    border-radius: 4px;
    padding: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    
    /* 横並びレイアウト */
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left; /* テキストは左揃え */
}

.color-detail-card::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 60px;
    background: linear-gradient(to top, rgba(255,255,255,0.8), rgba(255,255,255,0));
    pointer-events: none;
}

.color-detail-visual {
    flex-shrink: 0;
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.color-detail-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: #fff;
   
}

.color-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

.color-detail-info {
    flex: 1;
    z-index: 1;
}

.card-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.card-title-en {
    font-family: "Calibri", sans-serif;
    font-size: 1.2rem;
    color: #999;
    font-weight: 300;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 5px;
}

.card-title-jp {
    font-size: 1.5rem;
    font-weight: bold;
    color: #444;
    letter-spacing: 0.1em;
    display: block;
}

.card-spec {
    margin-bottom: 25px;
}

.card-spec-text {
    font-size: 0.85rem;
    color: #666;
    display: block;
}

.card-spec-code {
    font-family: "Calibri", sans-serif;
    font-size: 1rem;
    color: #333;
    letter-spacing: 0.1em;
    font-weight: bold;
    margin-left: 10px;
}

.color-detail-desc {
    font-size: 1rem;
    line-height: 2;
    text-align: justify;
    color: #555;
    font-weight: 500;
}

.bias-desc {
    margin-top: 60px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.bias-img { width: 40%; }
.bias-img img { width: 100%; border-radius: 4px; }
.bias-txt { width: 60%; }

/* --- Works (事例紹介) --- */
.lp-works {
    background-color: #f4f0ea;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.work-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.work-title {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 5px;
}

.work-desc {
    font-size: 0.9rem;
    color: #666;
}

/* --- Features Detail (Tab 2) --- */
.lp-features-detail { background-color: #f9f9f9; }

/* 累計販売実績 */
.feature-achievement {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px;
    background: #fff;
    border: 2px solid #e6b422; /* ゴールド */
    border-radius: 8px;
}
.achievement-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}
.achievement-number {
    font-size: 3rem;
    font-weight: bold;
    color: #9d3d56;
    font-family: "Calibri", sans-serif;
    line-height: 1;
}
.achievement-unit {
    font-size: 1.5rem;
    color: #333;
}
.achievement-desc {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

.feature-detail-box {
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

.feature-num {
    font-size: 3rem;
    font-weight: bold;
    color: #e6b422;
    font-family: "Calibri", sans-serif;
    line-height: 1;
}

.feature-detail-header h3 {
    font-size: 1.6rem;
    margin: 0;
    color: #9d3d56;
}

.feature-content-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.feature-img-large { width: 50%; }
.feature-img-large img { width: 100%; border-radius: 4px; }
.feature-text-area { width: 50%; }

/* --- Diagnosis (Tab 3) --- */
.lp-diagnosis { background: #fff; }
.diag-box { border: 4px solid #9d3d56; border-radius: 16px; padding: 40px; text-align: center; position: relative; max-width: 800px; margin: 0 auto; }
.diag-box::before { content: "COLOR CHECK"; position: absolute; top: -20px; left: 50%; transform: translateX(-50%); background: #9d3d56; color: #fff; padding: 5px 30px; border-radius: 20px; font-weight: bold; font-family: "Calibri", sans-serif; }
.diag-question { font-size: 1.4rem; margin: 30px 0; font-weight: bold; }
.diag-btns { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.diag-btn { background: #eee; border: none; padding: 15px 40px; font-size: 1.1rem; border-radius: 50px; cursor: pointer; transition: all 0.3s; width: 220px; max-width: 100%; }
.diag-btn:hover { background: #9d3d56; color: #fff; }
.diag-result-area { display: none; margin-top: 30px; padding: 30px; background: #f9f9f9; border-radius: 8px; animation: fadeIn 0.5s ease; }

/* --- Simulation (Tab 4) --- */
.lp-simulation { background: #fff; }

/* 横並び用ラッパー */
.sim-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.sim-container { 
    flex: 1; /* 左側 */
    max-width: none;
    margin: 0;
    border: 2px solid #eee; 
    border-radius: 12px; 
    padding: 40px; 
    background: #fdfdfd; 
}

.standard-price-section { 
    flex: 1; /* 右側 */
    margin-top: 0;
    background: #fcfcfc; 
    padding: 30px; 
    border-radius: 8px;
    border: 1px solid #eee;
}

.sim-step { margin-bottom: 30px; }
.sim-step-title { font-size: 1.2rem; font-weight: bold; margin-bottom: 15px; border-left: 5px solid var(--main-color); padding-left: 15px; background: #f9f9f9; padding-top: 10px; padding-bottom: 10px; }
.sim-type-select { display: flex; gap: 20px; justify-content: center; }
.sim-type-item { width: 48%; position: relative; }
.sim-type-input { position: absolute; opacity: 0; width: 0; height: 0; }
.sim-type-label { display: block; cursor: pointer; border: 2px solid #ddd; border-radius: 8px; padding: 20px; text-align: center; transition: 0.3s; background: #fff; height: 100%; }
.sim-type-input:checked + .sim-type-label { border-color: var(--main-color); background: #fff5f5; }
.sim-type-name { font-weight: bold; display: block; margin-bottom: 5px; }
.sim-type-price { font-size: 0.85rem; color: #666; }
.sim-color-select { display: flex; gap: 20px; justify-content: center; }
.sim-select-group { width: 48%; }
.sim-select-label { display: block; font-weight: bold; margin-bottom: 5px; text-align: left; }
.sim-select-box { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 1rem; }
.sim-size-inputs { display: flex; align-items: flex-end; justify-content: center; gap: 15px; }
.sim-input { width: 100%; padding: 10px 30px 10px 10px; font-size: 1.2rem; border: 1px solid #ccc; border-radius: 4px; text-align: right; }
.sim-unit { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: #999; }
.sim-x { font-size: 1.5rem; color: #999; margin-bottom: 5px; }
.sim-calc-btn { display: block; width: 100%; max-width: 350px; margin: 30px auto 0; background: #333; color: #fff; padding: 18px; border-radius: 50px; font-size: 1.2rem; font-weight: bold; border: none; cursor: pointer; transition: 0.3s; }
.sim-calc-btn:hover { background: var(--main-color); transform: translateY(-2px); }
.sim-result { background: #fff; border: 3px solid var(--main-color); border-radius: 8px; padding: 40px; text-align: center; margin-top: 50px; display: none; animation: fadeIn 0.5s ease; }
.sim-result-price { font-size: 3rem; font-weight: bold; color: var(--main-color); line-height: 1; margin-bottom: 10px; }
.sim-result-detail { font-size: 0.9rem; color: #666; background: #f5f5f5; display: inline-block; padding: 5px 20px; border-radius: 20px; }
.sim-error-msg { color: #e74c3c; text-align: center; margin-top: 15px; font-weight: bold; display: none; }

.price-table { width: 100%; max-width: 800px; margin: 20px auto; border-collapse: collapse; background: #fff; }
.price-table th, .price-table td { border: 1px solid #ddd; padding: 12px; text-align: center; }
.price-table th { background: #eee; font-weight: bold; }

/* --- CTA --- */
.lp-cta { background-color: #333; color: #fff; text-align: center; padding: 80px 0; }
.cta-btn { display: inline-block; background: #e6b422; color: #333; font-weight: bold; font-size: 1.5rem; padding: 20px 80px; border-radius: 50px; margin-top: 30px; transition: all 0.3s; cursor: pointer; }
.cta-btn:hover { background: #fff; color: #e6b422; transform: translateY(-3px); }

/* --- レスポンシブ (SP) --- */
@media (max-width: 768px) {
    p{
    font-size: 0.8rem;

    }
    .lp-section-title{
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .lp-section-title span{
        font-size: 0.8rem;
    }
    
    
    .lp-section {
        padding: 40px 0;
    }

    .lp-concept-lead {
        font-size: 1.0rem;
    }

    .lp-hero {min-height: 600px;}

    .lp-hero-content { padding: 20px; width: 90%; }
    .lp-hero-title-jp { font-size: 1.8rem; }
    
   
    
    /* Nav: 横スクロール形式に変更 */
    .lp-nav { padding: 10px 0; }
    .lp-nav-list {
        display: flex;
        gap: 10px;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .lp-nav-list::-webkit-scrollbar { display: none; }
    .lp-nav-item { flex: 0 0 auto; width: auto; }
    .lp-nav-item a { min-width: auto; padding: 10px 15px; font-size: 0.9rem; white-space: nowrap; }

    .experience-grid { grid-template-columns: 1fr; gap: 40px; }
    
    /* Steps (SP時は縦並び) */
    .step-list { 
        flex-direction: column; 
        gap: 30px;
        align-items: center;
    }
    .step-item { 
        width: 100%; 
        max-width: 400px;
    }
    .step-item::after { 
        content: "\f078"; /* 下矢印 */ 
        right: auto; top: auto; bottom: -28px; left: 50%; transform: translateX(-50%); 
    }
    .step-item:last-child::after { content: none; }
    
    .step-list-bottom { flex-direction: column; gap: 20px; }
    .step-item-wide { width: 100%; padding: 20px; }
    /* ★SPでも横並びを維持する設定★ */
    .step-content-row { 
        flex-direction: row; /* 横並び */
        align-items: center; 
    }
    .step-img-area { 
        width: auto; 
        justify-content: center; 
        margin-bottom: 0; 
        margin-left: 15px; /* テキストとの間隔 */
        flex-shrink: 0; /* 画像を潰さない */
    }
    .step-qr-img, .step-icon-img {
        width: 60px; height: 60px; /* 少し小さめに */
    }
    
    
    /* Color Detail SP */
    .color-detail-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        gap:0px
    }
    .color-detail-visual { width: 100%; margin-bottom: 30px; }
    .color-detail-img { width: 150px; height: 150px; }
    .card-header { border-bottom: none; margin-bottom: 10px; }
    .card-title-jp { font-size: 1.4rem; }
    .color-detail-desc { text-align: left; font-size: 0.8rem; }
    
    .color-grid { grid-template-columns: repeat(3, 1fr); }
    .bias-desc { flex-direction: column;}
    .bias-img, .bias-txt { width: 100%; }

    .works-grid { grid-template-columns: 1fr; }

    .feature-content-row { flex-direction: column; }
    .feature-img-large, .feature-text-area { width: 100%; }
    
   
    
    /* WORKS: スマホで2列表示に変更 */
    .works-grid { 
        grid-template-columns: 1fr 1fr; 
        gap: 15px;
    }
    .work-title {
        font-size: 0.9rem;
    }
    .work-desc {
        font-size: 0.8rem;
    }

    .feature-content-row { flex-direction: column; }
    .feature-img-large, .feature-text-area { width: 100%; }
    
    
    /* Simulation SP */
    .sim-wrapper { flex-direction: column; }
    .sim-container { padding: 20px; width: 100%; }
    .standard-price-section { width: 100%; margin-top: 20px; }
    
    .sim-type-select { flex-direction: column; }
    .sim-type-item { width: 100%; }
    .sim-color-select { flex-direction: column; }
    .sim-select-group { width: 100%; }
    .sim-size-inputs { flex-direction: column; align-items: center; gap: 10px; }
    .sim-x { display: none; }
    .sim-input-group { width: 100%; }
    .cta-btn { width: 100%; font-size: 1.2rem; }
    .price-table { font-size: 0.8rem; }
    .price-table th, .price-table td { padding: 8px 4px; }

    
}