/* ページ全体 */
.shcp {
    width: 100%;
    margin: 0 auto;
    color: #111;
    text-align: center;
}

.shcp img {
    width: 100%;
    height: auto;
    display: block;
}

/* FV画像 */
.sh-fv {
    margin-bottom: 24px;
}

/* タイトルエリア */
/* マーカー風装飾を付けている箇所 */
.sh-label {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
    padding: 0 6px;
    color: #46404A;
    font-size: 1.3rem !important;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.4;
    z-index: 1;
}

/* マーカー部分 */
.sh-label::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 0.55em;
    background: #bfe9a4;
    z-index: -1;
    opacity: .9;
}

/* メインタイトル */
.sh-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #46404A;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .04em;
    margin-bottom: 10px;
}

/* ＼ ／ 装飾 */
.sh-slash {
    color: #999;
    font-size: 1.1em;
    font-weight: 400;
    transform: translateY(-1px);
}

/* リード文 */
.sh-lead {
    font-size: 0.9rem;
    line-height: 1.9;
    font-weight: 400;
    margin: 0 0 28px;
}

/* クーポンコード */
.sh-coupon {
    max-width: 320px;
    margin: 0 auto 32px;
    text-align: center;
}

.sh-codebox {
    position: relative;
    border: 1px solid #d8d8d8;
    margin-bottom: 8px;
    background: #fff;
}

.sh-code-label {
    position: absolute;
    top: 0;
    left: 50%;
    padding: 0 10px;
    background: #fff;
    color: #555;
    font-size: 0.9rem;
    font-weight: 500;
    transform: translate(-50%, -50%);
}

.sh-code {
    width: 100%;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 15px 10px 12px;
    color: #333;
}

.sh-code:focus-visible {
    outline: none;
}

.sh-copy {
    width: 100%;
    border: 1px solid #cfcfcf;
    background: #cfcfcf;
    padding: 12px 10px;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    transition: opacity .2s ease;
}

.sh-copy:hover {
    opacity: .7;
}

.sh-coupon-note {
    margin-top: 24px;
    font-size: 0.8rem;
    line-height: 1.9;
    color: #222;
}

.sh-coupon-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #666;
    text-decoration: underline;
}

/* セクション共通 */
.sh-section {
    margin-top: 30px;
}

/* セクション見出し */
.sh-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 auto 18px;
    color: #111;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .04em;
}

/* セクション見出し左右ライン */
.sh-heading::before,
.sh-heading::after {
    content: "";
    width: 15px;
    height: 1px;
    background: #999;
    display: block;
}

/* セクション説明文 */
.sh-text {
    font-size: 0.9rem;
    line-height: 1.8;
    font-weight: 400;
    margin: 0 0 14px;
}

/* ボタンエリア
      ・3列表示
      ・ボタン数が増減しても自動で折り返し */
.sh-btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 12px;
    max-width: 560px;
    margin: 0 auto;
}

/* ボタン単体 */
.sh-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 6px;
    background: #FDF9F8;
    color: #46404A;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.3;
}

/* ボタン hover処理 */
.sh-btn,
.sh-copy {
    transition:
        transform .25s ease,
        opacity .25s ease,
        box-shadow .25s ease,
        background-color .25s ease;
}

/* hover時 */
.sh-btn:hover,
.sh-copy:hover {
    transform: translateY(-3px);
    opacity: .92;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

/* 押した瞬間 */
.sh-btn:active,
.sh-copy:active {
    transform: translateY(0);
}

/* 4〜6 コンテンツタブ */
.sh-tabs {
    margin-top: 34px;
}

.sh-tab-menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    max-width: 560px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.sh-tab {
    position: relative;
    min-height: 56px;
    padding: 9px 6px;
    border: none;
    border-radius: 10px 10px 0 0;
    background: #d8bed5;
    color: #46404A;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}

.sh-tab:hover {
    opacity: .88;
}

.sh-tab.is-active {
    background: #46404A;
    color: #d8bed5;
}

.sh-tab.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -9px;
    z-index: 2;
    width: 0;
    height: 0;
    transform: translateX(-50%);
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid #d8bed5;
}

.sh-tab-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 24px 10px 18px;
    background: #fff;
    border-radius: 0 0 10px 10px;
}

.sh-panel {
    display: none;
}

.sh-panel.is-active {
    display: block;
}

.sh-section-tab {
    margin-top: 0;
}

/* コンテンツカルーセル共通
      ・スタイリングPICK UP / 注目ワードで共通利用
      ・PC：4枚 / SP：2枚 */
.shcp .js-pickup-carousel {
    max-width: 980px;
    margin: 14px auto 0;
}

.shcp .js-pickup-carousel .pickup__auto-wrap {
    width: 100%;
    overflow: hidden;
}

.shcp .js-pickup-carousel .pickup__list--auto {
    gap: 12px;
    padding: 0;
}

.shcp .js-pickup-carousel .pickup__list--auto>.pickup__item {
    flex: 0 0 calc((100% - 36px) / 4);
    min-width: calc((100% - 36px) / 4);
    background: transparent;
    scroll-snap-align: start;
}

.shcp .js-pickup-carousel .pickup__list--auto img {
    display: block !important;
    width: 100% !important;
    object-fit: cover !important;
}

/* PICK UPアイテムleft：5:6 */
#tab-item .js-pickup-carousel .pickup__list--auto img {
    aspect-ratio: 5 / 6 !important;
}

/* PICK UPアイテムcenter：5:6 */
#tab-center .js-pickup-carousel .pickup__list--auto img {
    aspect-ratio: 5 / 6 !important;
}

/* PICK UPアイテムright：5:6 */
#tab-right .js-pickup-carousel .pickup__list--auto img {
    aspect-ratio: 5 / 6 !important;
}

/* 表示枚数以下しか要素がない場合は不要な矢印・ドットを隠す */
.shcp .js-pickup-carousel.is-static .pickup__arrow,
.shcp .js-pickup-carousel.is-static .pickup__dots {
    display: none !important;
}

.sh-keywords {
    margin-top: 26px;
}

/* SNAPリンク全体 */
.sh-snap {
    position: relative;
    display: block;
    overflow: hidden;
}

.sh-snap img {
    width: 100%;
    display: block;
    transition: transform .3s ease, opacity .3s ease;
}

.sh-snap:hover img {
    transform: scale(1.02);
    opacity: .94;
}

/* CHECK三角アイコン */
.sh-check {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 64px;
    height: 64px;
    background: #999;
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    overflow: hidden;
}

/* CHECK文字 */
.sh-check::after {
    content: "CHECK";
    position: absolute;
    right: -19px;
    bottom: 16px;
    width: 90px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    transform: rotate(-45deg);
    transform-origin: center;
}

/* CHECK三角は非表示 */
.sh-check {
    display: none !important;
}

/* 注目ワードチップ */
.sh-keyword-chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 8px;
    margin: 0 auto 18px;
}

.sh-keyword-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #eef6ff 0%, #dcecff 100%);
    color: #004ce7;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .03em;
    box-shadow: 0 3px 10px rgba(0, 76, 231, 0.08);
}

.sh-text-keyword {
    margin-bottom: 14px;
}

/* 商品画像上の注目ワードラベル */
.sh-snap {
    position: relative;
}

.sh-word-badges {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: calc(100% - 20px);
    justify-content: flex-start;
}

.sh-word-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #004ce7;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .02em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(2px);
}

/* もっと見る */
.sh-more {
    margin-top: 22px;
    text-align: center;
}

.sh-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 44px;
    padding: 10px 22px;
    border: 1px solid #d8bed5;
    border-radius: 6px;
    background: #d8bed5;
    color: #46404A;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
    transition: transform .25s ease, opacity .25s ease, box-shadow .25s ease;
}

.sh-more-btn:hover {
    transform: translateY(-2px);
    opacity: .92;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

/* アコーディオン全体枠
      ・注意事項エリア */
.accordion {
    border-top: 1px solid #9fa09e;
    border-left: 1px solid #9fa09e;
    border-right: 1px solid #9fa09e;
    margin-bottom: 10px;
}

.details {
    border-bottom: 1px solid #9fa09e;
}

/* アコーディオン見出し */
.details__summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 10px 5px 10px 40px;
    background: #efefef;
    color: #4e454a;
    text-align: left;
    list-style: none;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.details__summary:hover {
    opacity: 0.95;
}

.details__summary::-webkit-details-marker {
    display: none;
}

/* ＋ / － アイコン */
.details__icon {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
}

.details__icon::before,
.details__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: #4e454a;
    border-radius: 10px;
    transform: translate(-50%, -50%);
}

/* 横棒 */
.details__icon::before {
    width: 14px;
    height: 3px;
}

/* 縦棒：open時に消えて－表示になる */
.details__icon::after {
    width: 3px;
    height: 14px;
    transition: opacity 0.15s ease;
}

.details[open] .details__icon::after {
    opacity: 0;
}

/* アコーディオンタイトル */
.details__title {
    display: flex;
    flex: 1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 8px;
    row-gap: 2px;
    padding-right: 10px;
    font-size: 0.8rem;
    line-height: 1.4;
    font-weight: 700;
    text-align: left;
}

.details__title small {
    display: inline-block;
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.5;
    font-weight: 400;
}

/* アコーディオン中身 */
.details__content {
    padding: 12px 10px 14px;
    background: #fff;
}

/* 注意事項テキスト */
.notes__section+.notes__section {
    margin-top: 10px;
}

.notes__title {
    margin: 0 0 3px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.6;
    color: #222;
}

.notes__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.notes__list li {
    text-align: left;
    font-size: 11px;
    line-height: 1.75;
    color: #666;
}

#link_position {
    margin-top: -60px;
    padding-top: 60px;
}

/* PC版：タブメニュー幅をカルーセル画像の左右端に合わせる
      ・tab-content の左右padding 10pxを差し引いた表示幅に揃える */
@media screen and (min-width: 601px) {
    .sh-tab-menu {
        width: calc(100% - 20px);
        max-width: 960px;
    }
}

/* SP版調整
      ・600px以下に適用 */
@media screen and (max-width: 600px) {
    .sh-fv {
        margin-bottom: 20px;
    }

    .sh-label {
        font-size: 1.0rem;
    }

    .sh-title {
        gap: 6px;
        font-size: 1rem;
        line-height: 1.6;
    }

    .sh-lead,
    .sh-text {
        font-size: 0.8rem;
        line-height: 1.7;
    }

    .sh-coupon {
        max-width: 300px;
        margin-bottom: 28px;
    }

    .sh-code {
        font-size: 1.2rem;
    }

    .sh-copy {
        padding: 11px 8px;
        font-size: 0.8rem;
    }

    .sh-coupon-note {
        margin-top: 20px;
        font-size: 0.78rem;
        line-height: 1.9;
    }

    .sh-coupon-link {
        font-size: 0.72rem;
    }

    .sh-heading {
        gap: 10px;
        margin-bottom: 14px;
        font-size: 0.9rem;
    }

    .sh-heading::before,
    .sh-heading::after {
        width: 28px;
    }

    .sh-btns {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .sh-btn {
        min-height: 34px;
        font-size: 11px;
        border-radius: 5px;
        padding: 7px 4px;
    }

    .sh-tab-menu {
        gap: 3px;
    }

    .sh-tab {
        min-height: 52px;
        padding: 8px 3px;
        font-size: 11px;
    }

    .sh-tab-content {
        padding: 22px 3px 16px;
    }

    .shcp .js-pickup-carousel .pickup__list--auto {
        gap: 8px;
        padding: 0 2px;
    }

    .shcp .js-pickup-carousel .pickup__list--auto>.pickup__item {
        flex: 0 0 calc((100% - 8px) / 2);
        min-width: calc((100% - 8px) / 2);
    }

    .shcp .js-pickup-carousel .pickup__arrow {
        width: 34px;
        height: 34px;
        font-size: 26px;
    }

    .sh-keywords {
        margin-top: 22px;
    }

    .sh-more {
        margin-top: 18px;
    }

    .sh-more-btn {
        min-width: 200px;
        min-height: 42px;
        font-size: 12px;
    }

    .sh-check {
        width: 50px;
        height: 50px;
    }

    .sh-check::after {
        right: -23px;
        bottom: 13px;
        width: 80px;
        font-size: 0.6rem;
    }

    .sh-keyword-chips {
        gap: 8px 6px;
        margin-bottom: 16px;
    }

    .sh-keyword-chip {
        padding: 7px 12px;
        font-size: 12px;
    }

    .sh-word-badges {
        left: 8px;
        bottom: 8px;
        gap: 5px;
        max-width: calc(100% - 16px);
    }

    .sh-word-badge {
        padding: 5px 9px;
        font-size: 11px;
    }
}