/**
 * 商品についての注意事項コンポーネント
 *
 * BEM命名規則を使用した独立したコンポーネントスタイル
 * 既存の .note スタイルとの互換性を保ちながら、
 * 親要素に依存しない独立したスタイリングを実現
 */

/* コンテナ */
.item-note {
    background-color: #f0f0ed;
    margin: 2rem 0;
    padding: 2rem 2.5%;
}

/* タイトル */
.item-note__title {
    font-size: 17px;
    position: relative;
    z-index: 0;
    padding-left: 30px;
    line-height: 25px;
}

.item-note__title::before {
    content: "";
    position: absolute;
    background-image: url(../img/check.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    width: 25px;
    height: 25px;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

/* リスト */
.item-note__list {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 0;
}

/* リストアイテム */
.item-note__item {
    width: 31%;
    text-align: center;
    background-color: #d2c5a6;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 50px;
    padding: 8px 0;
    transition: all ease 0.5s 0s;
    opacity: 1;
}

.item-note__item:hover {
    opacity: 0.6;
}

/* 無効状態（PDFなし） */
.item-note__item--disabled {
    pointer-events: none;
    background-color: #d8d8d5;
    color: #fbfbfb;
}

/* リンク */
.item-note__link {
    color: #fff;
    display: block;
    text-decoration: none;
}

/* テキスト（リンクなし） */
.item-note__text {
    display: block;
}

/* ============================================
   レスポンシブ対応 (768px以下)
   ============================================ */
@media screen and (max-width: 768px) {
    .item-note {
        padding: 2rem 5%;
    }

    .item-note__title {
        font-size: 16px;
    }

    .item-note__item {
        width: 32%;
        padding: 7px 0;
    }
}
