/* lab.css - ラブリエエラン（lab/）・ラブリエエラン2（lab2/）用の追加部品（2026-09-30）
   土台は css/h2.css（色・レイアウト・ボタン）。ここには h2.css に無い部品だけを書く */

.lab-page .h2-hero {
    padding-top: 140px; /* 固定ヘッダー(80px)の下から始める */
}

.lab-hero-img {
    max-width: 90%;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(44, 62, 80, 0.15);
}

.lab-lead {
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 820px;
    margin: 0 auto 10px;
}

/* 数字の見出し（1分で水素水○L分 など） */
.lab-highlight {
    background: var(--h2-purple-pale);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    margin: 30px auto 0;
    max-width: 820px;
}
.lab-highlight .num {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--h2-purple);
    line-height: 1.3;
}
.lab-highlight .sub {
    display: block;
    font-size: 0.95rem;
    color: var(--h2-text);
    margin-top: 6px;
}

/* 特徴カード */
.lab-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 40px;
}
.lab-feature {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.08);
    display: flex;
    flex-direction: column;
}
.lab-feature img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: #f4f6f8;
}
.lab-feature-body {
    padding: 22px 24px 26px;
}
.lab-feature h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--h2-dark);
    margin-bottom: 10px;
}
.lab-feature p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

/* 価格・認定などの情報ボックス */
.lab-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}
.lab-info-item {
    flex: 1 1 200px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
}
.lab-info-item .label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}
.lab-info-item .value {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--h2-dark);
}
.lab-info-item.price .value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--h2-purple);
}
.lab-notes {
    font-size: 0.85rem;
    color: #777;
    margin-top: 14px;
    line-height: 1.8;
}

/* 背景つきセクション */
.lab-bg {
    background: var(--h2-bg-light);
}

/* 箇条書き（チェック付き） */
.lab-checks {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}
.lab-checks li {
    position: relative;
    padding: 10px 0 10px 32px;
    border-bottom: 1px dashed #e2e8f0;
    line-height: 1.7;
}
.lab-checks li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 17px;
    width: 14px;
    height: 8px;
    border-left: 3px solid var(--h2-purple);
    border-bottom: 3px solid var(--h2-purple);
    transform: rotate(-45deg);
}

/* 仕様表 */
.lab-spec {
    width: 100%;
    max-width: 820px;
    margin: 30px auto 0;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.06);
}
.lab-spec th,
.lab-spec td {
    padding: 16px 20px;
    border-bottom: 1px solid #edf0f3;
    text-align: left;
    vertical-align: top;
    line-height: 1.7;
}
.lab-spec th {
    width: 32%;
    background: var(--h2-purple-pale);
    color: var(--h2-dark);
    font-weight: 700;
}
.lab-spec tr:last-child th,
.lab-spec tr:last-child td {
    border-bottom: none;
}

/* よくある質問（開閉式・回答は最初から HTML に書いてある） */
.lab-faq {
    max-width: 880px;
    margin: 30px auto 0;
}
.lab-faq details {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(44, 62, 80, 0.06);
    overflow: hidden;
}
.lab-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 52px 18px 22px;
    font-weight: 700;
    color: var(--h2-dark);
    position: relative;
}
.lab-faq summary::-webkit-details-marker {
    display: none;
}
.lab-faq summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--h2-purple);
}
.lab-faq details[open] summary::after {
    content: "−";
}
.lab-faq .q-no {
    color: var(--h2-purple);
    margin-right: 8px;
}
.lab-faq .answer {
    padding: 0 22px 20px;
    line-height: 1.9;
}
.lab-faq .answer p {
    margin: 0 0 8px;
}

/* 関連ページへのリンク */
.lab-related {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 30px;
}
.lab-related a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border: 2px solid var(--h2-purple);
    border-radius: 50px;
    color: var(--h2-purple);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}
.lab-related a:hover {
    background: var(--h2-purple);
    color: #fff;
}

@media (max-width: 768px) {
    .lab-page .h2-hero {
        padding-top: 110px;
    }
    .lab-highlight .num {
        font-size: 1.6rem;
    }
    .lab-spec th {
        width: 38%;
    }
    .lab-spec th,
    .lab-spec td {
        padding: 12px 14px;
        font-size: 0.92rem;
    }
}
