/* ------------------------------ Hero（家具屋用） ------------------------------ */
.hero-wrapper {
    width:100%;
    margin:0 auto;
    overflow:hidden;
}

.hero {
    position:relative;
    height:350px;
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
}

.hero-logo {
    position: static;   /* ← これが最重要 */
    display: block;
    margin: 20px 0 20px 20px;  /* 中央寄せしたい場合 */
    height: 55px;
}


/* ヒーロー内テキスト */
.hero-text {
    position: absolute;
    bottom: 12%;
    left: 5%;
    z-index: 2;
    color: #F2F2F2; /* アイボリー寄りの白 */
}

/* タイトル（深いウッドブラウン） */
.hero-text h1 {
    font-size: 48px;
    font-weight: bold;
    margin: 0 0 10px;
    color: #3E2F25; /* ウッドブラウン */
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* サブタイトル */
.hero-text p {
    font-size: 20px;
    color: #D9D6D2; /* グレージュ */
    max-width: 600px;
    line-height: 1.6;
    text-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

/* ------------------------------ Standard Section（家具屋用） ------------------------------ */
.standard-section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    background: #F5F3EF; /* アイボリー */
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    color: #3E2F25; /* ウッドブラウン */
}

.std-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 8px;
    border: 4px solid #C8B9A6; /* 木材の縁色 */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: 0.25s;
}

.std-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.std-title {
    font-size: 30px;
    font-weight: bold;
    margin-top: 0;
    color: #3E2F25;
    position: relative;
    padding-left: 16px;
}

/* 左のウッドライン */
.std-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 26px;
    background: #8B6F52; /* レザー系ブラウン */
    border-radius: 3px;
}

.std-content {
    margin-top: 15px;
    line-height: 1.8;
    color: #5A4A3A; /* 深いブラウン */
    font-size: 17px;
}

.std-text-block {
    flex: 1;
    min-width: 280px;
}

/* ------------------------------ Gallery Section（家具屋用） ------------------------------ */
.gallery-section {
    padding: 50px 20px;
    max-width: 1100px;
    margin: 0 auto;
    background: #F5F3EF;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.gallery-item {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: nowrap;
    color: #3E2F25;
}

.gallery-caption {
    flex: 1;
    line-height: 1.7;
}

.gallery-img {
    width: 100%;
    max-width: 380px;
    border-radius: 8px;
    border: 4px solid #C8B9A6;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    transition: 0.25s;
}

.gallery-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

.gallery-text {
    flex: 1;
    min-width: 260px;
}

.gallery-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #3E2F25;
    position: relative;
    padding-left: 14px;
}

.gallery-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 22px;
    background: #8B6F52;
    border-radius: 3px;
}

.gallery-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #5A4A3A;
}

/* ------------------------------ Table（家具屋用） ------------------------------ */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px auto;
    background: #F5F3EF;
    color: #3E2F25;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

table th {
    background: #3E2F25; /* ウッドブラウン */
    color: #fff;
    padding: 14px;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 3px solid #8B6F52;
}

table td {
    padding: 14px;
    border-bottom: 1px solid #C8B9A6;
    font-size: 16px;
    color: #3E2F25;
}

table tr:nth-child(even) {
    background: #EDE8E3;
}

table tr:hover {
    background: #E0D8D0;
    transition: 0.2s;
}

/* ------------------------------ CTA（家具屋用） ------------------------------ */
.section.cta {
    text-align: center;
    padding: 60px 20px;
    background: #F5F3EF;
    color: #3E2F25;
}

.section.cta h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #3E2F25;
}

.section.cta p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #5A4A3A;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: #8B6F52; /* レザー系ブラウン */
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.25s;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background: #3E2F25;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.3);
}

/* ------------------------------ Section Title（H2） ------------------------------ */
.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #3E2F25;
    margin: 40px auto 20px;
    position: relative;
    padding-left: 18px;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 28px;
    background: #8B6F52;
    border-radius: 3px;
}

/* ------------------------------ Sub Title（H3） ------------------------------ */
.sub-title {
    font-size: 24px;
    font-weight: bold;
    color: #3E2F25;
    margin: 25px 0 10px;
    border-left: 4px solid #8B6F52;
    padding-left: 12px;
}

/* ------------------------------ Product Buy Button（家具屋用） ------------------------------ */
.product-buy-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #8B6F52;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    margin: 20px auto;
    cursor: pointer;
    transition: 0.25s;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-buy-btn:hover {
    background: #3E2F25;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* ============================ タブバー（PC用） ============================ */
.re-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 20px auto;
    padding: 10px 0;
    border-bottom: 2px solid #e5e5e5;
}

/* ============================ タブボタン（PC用） ============================ */
.re-tab-btn {
    background: #f7f9fc;
    border: 1px solid #d0d7e2;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: all .2s ease;
    color: #333;
}

.re-tab-btn:hover {
    background: #e9f2ff;
    border-color: #a8c7ff;
}

.re-tab-btn.active {
    background: #8B6F52;
    color: #fff;
    border-color: #8B6F52;
    box-shadow: 0 2px 6px rgba(139, 111, 82, 0.3);
}

/* ============================ タブ内容 ============================ */
.re-tab-content {
    padding: 20px 0;
}

/* ============================ ギャラリータブ（PC用） ============================ */
.gallery-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 30px auto 10px;
    padding: 10px 0;
    border-bottom: 2px solid #e5e5e5;
}

.gallery-tab-btn {
    background: #f7f9fc;
    border: 1px solid #d0d7e2;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: all .2s ease;
    color: #333;
}

.gallery-tab-btn:hover {
    background: #e9f2ff;
    border-color: #a8c7ff;
}

.gallery-tab-btn.active {
    background: #8B6F52;
    color: #fff;
    border-color: #8B6F52;
    box-shadow: 0 2px 6px rgba(139, 111, 82, 0.3);
}

.gallery-tab-content {
    padding: 20px 0;
}

/* ------------------------------ Product Layout ------------------------------ */
.product-section .product-image-wrapper,
.product-section .product-description,
.product-section .product-price,
.product-section .qty-wrapper,
.product-section .product-buy-btn {
    margin-bottom: 10px;
}

.product-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.product-left {
    flex: 0 0 40%;
}

.product-right {
    flex: 1;
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ------------------------------ スマホ対応 ------------------------------ */
@media (max-width: 768px) {
    .hero {
        height:220px;
    }
    .hero-logo {
        height: 45px;
        width: auto;
    }
    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }

    /* ---------------- 横スライドタブ（スマホ） ---------------- */
    .re-tabs {
        overflow-x: auto;               /* 横スクロール */
        white-space: nowrap;            /* 折り返さない */
        display: block;                 /* flex解除 → 左端が隠れない */
        padding: 0;                     /* 左右余白ゼロ → 隠れ防止 */
        margin: 0;
        -webkit-overflow-scrolling: touch;
    }

    .re-tab-btn {
        display: inline-block;          /* 横並び */
        margin-right: 8px;
        padding: 14px 22px;             /* 押しやすく */
        font-size: 17px;
        background: #ffffff;
        border: 1px solid #d0d7e2;
        border-radius: 8px;
    }

    /* 押した瞬間のフィードバック */
    .re-tab-btn:active {
        background: #e9f2ff;
        border-color: #a8c7ff;
    }

    /* アクティブ状態（選択中） */
    .re-tab-btn.active {
        background: #8B6F52; /* 家具屋のレザーブラウン */
        color: #fff;
        border-color: #8B6F52;
        box-shadow: 0 2px 6px rgba(139, 111, 82, 0.3);
    }
}

/* ------------------------------ FAQ Section ------------------------------ */

.faq-item {
    margin-bottom: 24px;        /* FAQ項目同士の余白 */
    padding-bottom: 16px;       /* 下に余白 */
    border-bottom: 1px solid #e5e5e5; /* 薄い区切り線で視線誘導 */
}

.faq-question {
    font-weight: bold;
    margin-bottom: 8px;         /* Q と A の間に余白 */
    font-size: 1.05rem;
}

.faq-answer {
    margin-left: 12px;          /* A を少し右にずらすと読みやすい */
    line-height: 1.7;           /* 行間を広げて読みやすく */
    font-size: 1rem;
}

body.rtl {
    direction: rtl;
    text-align: right;
}
