/* LP汎用パーツ */

/* 目次
   1. ユーティリティ / 見出し・テキスト
   2. カード（card-stack / card-row / card-grid）
   3. セクション別パーツ（strength, cartridge, feature-cards, natural-water, removal,
      product-usecase, graph, pfas-section, lp-cost, re-twin）
   4. メディアクエリ（hover / max-width: 768px）
   命名規則: BEM風（block__element--modifier）。ユーティリティ（bg-* / fc-*）のみ例外 */

/* ==========================================================================
   ユーティリティ
   ========================================================================== */

.bg-beige {
    background-color: #e9ddd4;
}

.bg-rosebrown {
    background-color: #A47E78;
}

.fc-white {
    color: #fff;
}

/* ==========================================================================
   見出し・テキスト
   ========================================================================== */

.lp-h2 {
    font-size: 1.75rem;
    margin-bottom: 25px;
    text-align: center;
}

.lp-contents {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.lp-subtitle {
    font-family: "Noto Serif JP", serif;
    color: #7E524D;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

/* ==========================================================================
   カード共通（card-stack / card-row / card-grid）
   ========================================================================== */

.card-stack__title,
.card-row__title,
.card-grid__title {
    font-size: 1.15rem;
    font-weight: 600;
}

.card-stack__item p,
.card-row__item p,
.card-grid__item p {
    padding-left: 7px;
    margin-top: 10px;
    font-size: 0.9em;
}

/* ==========================================================================
   card-stack（縦積みカード）
   ========================================================================== */

.card-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-stack__item {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px 18px;
}

.card-stack__body {
    flex: 1;
}

.card-stack--feature {
    gap: 20px;
    margin-top: 40px;
}

.card-stack__item--feature {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: #fcfbfb;
    border: 1px solid #e8dedd;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.card-stack__img {
    flex-shrink: 0;
    width: 110px;
}

.card-stack__text {
    flex-grow: 1;
}

.card-stack__text p {
    padding-left: 0;
    margin-top: 0;
}

.card-stack__item--step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.card-stack__number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    margin-top: 2px;
}

.card-stack__number--1 {
    background-color: #1e5e35;
}

.card-stack__number--2 {
    background-color: #4487cb;
}

.card-stack__number--3 {
    background-color: #213782;
}

.card-stack__number--4 {
    background-color: #21112c;
}

.card-stack__desc {
    font-size: 13px;
    line-height: 1.6;
    color: #555555;
    margin: 0;
}

/* ==========================================================================
   card-row（横並びカード / STEPカード）
   ========================================================================== */

.card-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 50px;
}

.card-row__item {
    background-color: #f1f1f1;
    border-radius: 8px;
    padding: 25px 20px;
}

.card-row__title::first-letter {
    font-size: 1.6em;
    font-weight: 800;
    color: #4a3835;
    margin-right: 2px;
}

.card-row--step {
    gap: 40px;
    margin-top: 60px;
}

.card-row__item--step {
    background-color: transparent;
    padding: 0 10px;
    text-align: center;
}

.card-row__item--step .card-row__title::first-letter {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    margin-right: 0;
}

.card-row__item--step .card-row__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 6px;
}

.card-row__item--step .card-row__label {
    padding-left: 0;
    margin-top: 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #7E524D;
}

.card-row__item--step .card-row__text {
    padding-left: 0;
    margin-top: 12px;
    font-size: 0.875rem;
    line-height: 1.9;
    color: #666;
    text-align: center;
}

.card-row__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: #f1f6f7;
    color: #7E524D;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   card-grid（グリッドカード / 商品カード）
   ========================================================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 50px;
    counter-reset: card-num;
}

.card-grid__item {
    background-color: #7E524D;
    border-radius: 4px;
    padding: 20px;
}

.card-grid__title--num::before {
    counter-increment: card-num;
    content: counter(card-num, decimal-leading-zero) " ";
    color: #ffe992;
    font-family: "Noto Serif JP", serif;
    font-weight: 800;
    font-size: 1.5em;
}

.card-grid--product {
    align-items: stretch;
}

.card-grid__item--product {
    background-color: #fff;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.card-grid__img {
    width: 100%;
    height: 240px;
    background: #f7f7f7;
    overflow: hidden;
}

.card-grid__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-grid__body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-grid__badge {
    font-size: 0.8rem;
    color: #7E524D;
    margin-bottom: 6px;
    font-weight: 500;
}

.card-grid__body p {
    padding-left: 0;
    margin-top: 8px;
    margin-bottom: 20px;
    color: #666;
    flex-grow: 1;
}

.card-grid__price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c2c2c;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.card-grid__btn input[type="submit"],
.card-grid__btn button {
    display: block;
    width: 100%;
    background-color: #C79A95;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 15px 0;
    font-size: 0.95rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(199, 154, 149, 0.3);
}

/* ==========================================================================
   strength（数字で見る強み）
   ========================================================================== */

.strength__top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 50px 0 20px;
}

.strength__item,
.strength__bottom {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.strength__bottom {
    width: 100%;
    padding: 40px 20px;
}

.strength__title {
    font-size: 13px;
    font-weight: bold;
    color: #666666;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.strength__number {
    font-family: "Shippori Mincho", "Yu Mincho", "Georgia", serif;
    color: #1a3c48;
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    line-height: 1;
}

.strength__number-main {
    font-size: 54px;
    font-weight: bold;
}

.strength__number-unit {
    font-size: 18px;
    font-weight: bold;
    margin-left: 2px;
}

.strength__number-sub {
    font-size: 24px;
    font-weight: normal;
    color: #1a3c48;
}

.strength__desc {
    font-size: 12px;
    color: #888888;
    line-height: 1.4;
}

/* ==========================================================================
   cartridge（カートリッジ構造）
   ========================================================================== */

.cartridge {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 50px 0 40px;
}

.cartridge__image {
    width: 30%;
    min-width: 300px;
}

/* ==========================================================================
   feature-cards（特長カード）
   ========================================================================== */

.feature-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-cards__item {
    border: 1px solid #c79a95;
    padding: 24px 28px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.feature-cards__inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-cards__badge {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-cards__img {
    display: block;
    height: auto;
}

.feature-cards__body {
    flex: 1;
}

.feature-cards__title {
    font-size: 17px;
    font-weight: 700;
    color: #222222;
    margin-top: 0;
    margin-bottom: 12px;
    line-height: 1.4;
}

.feature-cards__inner .feature-cards__title {
    margin-bottom: 8px;
}

.feature-cards__desc {
    font-size: 13px;
    line-height: 1.7;
    color: #555555;
    margin: 0;
}

.feature-cards--col2 {
    max-width: 900px;
    margin: 30px auto 0;
}

/* ==========================================================================
   natural-water（無添加・除去カード）
   ========================================================================== */

.natural-water {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}

.natural-water__card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.natural-water__card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.natural-water__card--additive h3,
.natural-water__card--removal h3 {
    color: #0C4B5F;
}

.natural-water__card--additive .natural-water__lead {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px 0;
    line-height: 1.6;
}

.natural-water__card--additive .natural-water__detail {
    font-size: 0.925rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

.removal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.removal-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.975rem;
    line-height: 1.6;
    color: #334155;
}

.removal-list li::before {
    content: "-";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    color: #0d9488;
}

/* ==========================================================================
   removal（有害物質除去一覧）
   ========================================================================== */

.removal-items-section {
    background-color: #f7f9f9;
    font-family: sans-serif;
    color: #333333;
}

.removal-items-section .removal-items-section__header {
    text-align: center;
    margin-bottom: 40px;
}

.legend-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    font-size: 11px;
    color: #666666;
    flex-wrap: wrap;
}

.legend-list__text {
    margin-right: 12px;
}

.badge {
    display: inline-block;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 3px;
    color: #ffffff;
    font-weight: bold;
    vertical-align: middle;
    line-height: 1.4;
    margin-left: 4px;
}

.badge--orange {
    background-color: #e0703c;
}

.badge--green {
    background-color: #488a5e;
}

.badge--blue {
    background-color: #2b6cb0;
}

.removal-block {
    background: #ffffff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.removal-block__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px solid #2b5748;
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.removal-block__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.removal-block__title span {
    font-size: 16px;
    margin-left: 8px;
}

.removal-block__count {
    font-size: 12px;
    font-weight: 700;
    color: #2b5748;
}

.item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dotted #e2e8f0;
    font-size: 12px;
}

.item-row__name {
    color: #4a5568;
}

.item-row__val {
    font-weight: 700;
    color: #2b5748;
    margin-left: 8px;
    white-space: nowrap;
}

.item-row__sub {
    color: #888888;
}

.items-grid--col3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 32px;
}

.items-grid--col2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 32px;
}

.removal-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
}

.caption-text {
    font-size: 11px;
    color: #888888;
    margin-top: 16px;
}

/* ==========================================================================
   product-usecase（使用シーン）
   ========================================================================== */

.product-usecase {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 50px auto 0;
}

.product-usecase__image {
    width: 40%;
}

.product-usecase__contents {
    width: 60%;
}

/* ==========================================================================
   graph
   ========================================================================== */

.graph {
    max-width: 800px;
    margin: 50px auto 0;
}

/* ==========================================================================
   pfas-section（PFAS）
   ========================================================================== */

.pfas-section {
    background-color: #7E524D;
    color: #ffffff;
    font-family: sans-serif;
}

.pfas-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.pfas-section__desc {
    font-size: 14px;
    line-height: 1.8;
    color: #c5d0d2;
    margin-bottom: 30px;
}

.pfas-section__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.pfas-section__tag {
    display: inline-block;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    background-color: transparent;
}

/* ==========================================================================
   lp-cost（ランニングコスト）
   ========================================================================== */

.lp-cost {
    margin-top: 30px;
    background-color: #f7f5f2;
    border-radius: 12px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: center;
}

.lp-cost__left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lp-cost__img {
    width: 90px;
    flex-shrink: 0;
    text-align: center;
}

.lp-cost__img img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.lp-cost__sub {
    font-size: 0.75rem;
    color: #7E524D;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.lp-cost__left .card-stack__title {
    color: #2c2c2c;
    margin-bottom: 8px;
    font-weight: 700;
}

.lp-cost__left p {
    padding-left: 0 !important;
    margin-top: 0 !important;
    font-size: 0.85rem !important;
    color: #666;
    line-height: 1.6;
}

.lp-cost__right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.lp-cost__item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.lp-cost__label {
    display: block;
    font-size: 0.65rem;
    color: #888;
    margin-bottom: 6px;
}

.lp-cost__value {
    display: block;
    font-size: 1.15rem;
    font-weight: bold;
    color: #2c2c2c;
}

.lp-cost__value small {
    font-size: 0.75rem;
    font-weight: normal;
    margin-left: 1px;
}

.lp-cost__link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: #7E524D;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lp-cost__link::after {
    content: " \203A";
    text-decoration: none;
    display: inline-block;
    margin-left: 5px;
}

/* ==========================================================================
   re-twin（Reツイン誘導バナー）
   ========================================================================== */

.re-twin {
    max-width: 960px;
    margin: 32px auto;
    padding: 0 16px;
}

.re-twin__link {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 20px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.re-twin__thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.re-twin__thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.re-twin__body {
    flex-grow: 1;
}

.re-twin__text {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.5;
}

.re-twin__arrow {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-top: 2px solid #94a3b8;
    border-right: 2px solid #94a3b8;
    transform: rotate(45deg);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

/* ==========================================================================
   メディアクエリ
   ========================================================================== */

@media (hover: hover) {

    .card-grid__btn input[type="submit"]:hover,
    .card-grid__btn button:hover {
        background-color: #b58782;
    }

    .re-twin__link:hover {
        background-color: #ffffff;
        border-color: #e8dedd;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .re-twin__link:hover .re-twin__text {
        color: #C79A95;
    }

    .re-twin__link:hover .re-twin__arrow {
        border-color: #C79A95;
        transform: translateX(3px) rotate(45deg);
    }

    .lp-cost__link:hover {
        color: #b58782;
    }
}

@media (max-width: 768px) {

    /* 見出し・テキスト */

    .lp-h2 {
        margin-bottom: 40px;
        font-size: 24px;
    }

    /* カード共通（card-stack / card-row / card-grid） */

    .card-row,
    .card-grid,
    .strength__top {
        grid-template-columns: 1fr;
    }

    .card-stack__title,
    .card-row__title,
    .card-grid__title {
        font-size: 1.05rem;
    }

    /* card-stack（縦積みカード） */

    .card-stack__item--feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 20px;
        gap: 20px;
    }

    .card-stack__img {
        width: 110px;
    }

    .card-stack__text p {
        text-align: left;
        font-size: 0.875rem;
    }

    /* card-row（横並びカード / STEPカード） */

    .card-row--step {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 40px;
    }

    /* card-grid（グリッドカード / 商品カード） */

    .card-grid--product {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* cartridge（カートリッジ構造） */

    .cartridge {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }

    /* feature-cards（特長カード） */

    .feature-cards {
        grid-template-columns: 1fr;
    }

    /* natural-water（無添加・除去カード） */

    .natural-water-section {
        padding: 40px 16px;
    }

    .natural-water-section h2 {
        font-size: 1.375rem;
        margin-bottom: 24px;
    }

    .natural-water__card {
        padding: 20px 24px;
    }

    .natural-water__card h3 {
        font-size: 1.125rem;
        margin-bottom: 12px;
    }

    /* removal（有害物質除去一覧） */

    .items-grid--col3,
    .items-grid--col2,
    .removal-bottom-grid {
        grid-template-columns: 1fr;
    }

    /* product-usecase（使用シーン） */

    .product-usecase {
        flex-direction: column;
    }

    .product-usecase__contents {
        width: 90%;
    }

    .product-usecase__image {
        width: 50%;
        min-width: 250px;
    }

    /* pfas-section（PFAS） */

    .pfas-section__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* lp-cost（ランニングコスト） */

    .lp-cost {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }

    .lp-cost__left {
        flex-direction: column;
        text-align: center;
    }

    .lp-cost__img {
        width: 80px;
        margin: 0 auto;
    }

    /* re-twin（Reツイン誘導バナー） */

    .re-twin__link {
        padding: 10px 14px;
        gap: 12px;
    }

    .re-twin__thumb {
        width: 44px;
        height: 44px;
    }

    .re-twin__text {
        font-size: 0.875rem;
    }

    /* 未使用（現状どちらのHTMLからも参照なし） */

    .data-card-placeholder {
        padding: 40px 16px;
        min-height: auto;
    }

    .lp-steps {
        padding: 50px 20px 60px;
    }
}