@charset "utf-8";

/* --- Q&A紹介セクション（左图右文・full width） --- */

.qa-hero {
    position: relative;
    width: 100%;
    min-height: 450px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background-color: #4a4a4a;
}

.qa-hero-bg {
    position: relative;
    width: 50%;
    height: 100%;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5ede0;
}

.qa-hero-bg img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.qa-hero-bg::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, #4a4a4a 100%);
    pointer-events: none;
    z-index: 10;
}

.qa-hero-text {
    position: relative;
    z-index: 1;
    width: 50%;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.qa-hero-label {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.4em;
    font-family: Arial, sans-serif;
    color: #E8D5A8;
    margin-bottom: 20px;
    border-left: 2px solid #C8A96E;
    padding-left: 12px;
}

.qa-hero-title {
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 0.2em;
    line-height: 1.7;
    color: #fff;
    margin-bottom: 25px;
}

.qa-hero-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 2;
    letter-spacing: 0.05em;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .qa-hero {
        flex-direction: column;
        min-height: auto;
    }

    .qa-hero-bg {
        width: 100%;
        height: 350px;
    }

    .qa-hero-text {
        width: 100%;
        padding: 50px 30px;
    }

    .qa-hero-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .qa-hero-desc {
        font-size: 13px;
    }
}

.page-header{
    padding: 180px 8% 100px;
    background: linear-gradient(to right, #f0ebe3 0%, #fff 40%);
    text-align: center;
    position: relative;
}

.header-container{
    max-width: 1200px;
    margin: 0 auto;
}

.header-sub{
    font-size: 13px;
    color: #666;
    letter-spacing: 0.6em;
    margin-bottom: 25px;
}

.header-title{
    font-size: 60px;
    font-weight: 300;
    color: #222;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    line-height: 1.2;
}

.header-jp{
    font-size: 23px;
    color: #666;
    letter-spacing: 0.3em;
}

.qa-main-section{
    padding: 100px 8% 150px;
    background-color: #fff;
}

.qa-container{
    max-width: 900px;
    margin: 0 auto;
}

.qa-intro{
    margin-bottom: 80px;
}

.qa-intro p{
    font-size: 15px;
    color: #666;
    line-height: 2.2;
}

.qa-category{
    margin-bottom: 80px;
}

.qa-category-title{
    font-size: 20px;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
    border-left: 3px solid #C8A96E;
    padding: 12px 0 12px 20px;
    background-color: #F7F3EC;
}

.qa-list{
    border-top: 1px solid #eee;
}

.qa-item{
    display: flex;
    align-items: flex-start;
    padding: 35px 0;
    border-bottom: 1px solid #eee;
}

.qa-q-marker{
    width: 40px;
    height: 40px;
    background-color: #C8A96E;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 2px;
    margin-right: 20px;
    font-family: Arial, sans-serif;
}

.qa-body{
    flex: 1;
}

.qa-q-text{
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
}

.qa-a-wrap{
    display: flex;
    align-items: flex-start;
}

.qa-a-marker{
    width: 32px;
    height: 32px;
    background-color: #999;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 2px;
    margin-right: 15px;
    font-family: Arial, sans-serif;
}

.qa-a-text{
    font-size: 15px;
    color: #555;
    line-height: 2;
    flex: 1;
}

/* hidden items */
.hidden{
    display: none;
}

.qa-contact-box{
    text-align: center;
    padding: 60px;
    background-color: #fafafa;
    border: 1px solid #eee;
    border-radius: 4px;
}

.qa-contact-text{
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.qa-contact-btn{
    display: inline-block;
    padding: 18px 50px;
    background-color: #C8A96E;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.qa-contact-btn:hover{
    background-color: #B8944F;
}


/* === Tab ナビゲーション（調光器Q&A / 照明器具Q&A） === */
.qa-tab-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 60px;
    border-bottom: 2px solid #ede8df;
}

.qa-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    font-size: 15px;
    font-weight: 500;
    color: #888;
    text-decoration: none;
    letter-spacing: 0.15em;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
    position: relative;
}

.qa-tab:hover {
    color: #B8944F;
}

.qa-tab--active {
    color: #B8944F;
    border-bottom-color: #C8A96E;
    font-weight: 600;
}

/* === Q&A セクションヘッダー === */
.qa-category-section {
    margin-bottom: 100px;
}

.qa-category-section:last-of-type {
    margin-bottom: 60px;
}

.qa-section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0 35px;
    border-top: 1px solid #ede8df;
    border-bottom: 1px solid #ede8df;
}

.qa-section-header .qa-section-en {
    font-size: 11px;
    color: #B8944F;
    letter-spacing: 0.5em;
    margin-bottom: 15px;
}

.qa-section-header .qa-section-title {
    font-size: 28px;
    font-weight: 300;
    color: #222;
    letter-spacing: 0.2em;
    margin-bottom: 12px;
}

.qa-section-header .qa-section-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.8;
    letter-spacing: 0.05em;
}


/* === レスポンシブ === */
@media screen and (max-width: 767px) {
    .page-header {
        padding: 50px 6% 50px;
    }

    .header-sub {
        font-size: 11px;
        letter-spacing: 0.35em;
        margin-bottom: 14px;
    }

    .header-title {
        font-size: 32px;
        letter-spacing: 0.12em;
    }

    .header-jp {
        font-size: 16px;
        letter-spacing: 0.15em;
    }

    .qa-main-section {
        padding: 60px 5% 80px;
    }

    .qa-category-title {
        font-size: 16px;
    }

    .qa-item {
        flex-direction: column;
        gap: 15px;
    }

    .qa-q-marker {
        margin-right: 0;
    }

    .qa-q-text {
        font-size: 15px;
    }

    .qa-a-text {
        font-size: 14px;
    }

    #qa-toggle-btn,
    #qa-toggle-btn-lighting {
        padding: 14px 40px;
    }

    .qa-contact-box {
        padding: 40px 20px;
    }

    .qa-contact-btn {
        padding: 16px 30px;
        font-size: 13px;
    }

    .qa-tab-nav {
        gap: 0;
        margin-bottom: 40px;
    }

    .qa-tab {
        flex: 1;
        padding: 14px 12px;
        font-size: 13px;
        letter-spacing: 0.1em;
    }

    .qa-section-header {
        padding: 30px 0 25px;
        margin-bottom: 40px;
    }

    .qa-section-header .qa-section-title {
        font-size: 22px;
    }

    .qa-category-section {
        margin-bottom: 60px;
    }
}