/* リセットCSS
      ・ページ内で最低限必要な初期化のみ
      ・既存サイト共通CSSとの競合を避けるため範囲は最小限 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl,
section {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
}

svg,
img,
embed,
object,
iframe {
    vertical-align: bottom;
}

/* 未使用なら削除可 */
.mb-9 {
    margin-bottom: 0.5rem;
}

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

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

.btcp .sp {
    display: none;
}

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

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

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

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

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

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

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

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

.bt-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%);
}

.bt-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;
}

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

.bt-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;
}

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

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

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

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

/* セクション見出し */
.bt-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;
}

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

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

.bt-keywords {
    margin-top: 15px;
}

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

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

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

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

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

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

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

.bt-tab {
    position: relative;
    min-height: 56px;
    padding: 9px 6px;
    border: none;
    border-radius: 10px 10px 0 0;
    background: #cdf1e7;
    color: #3DC19C;
    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;
}

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

.bt-tab.is-active {
    background: #3DC19C;
    color: #292E41;
}

.bt-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 #3DC19C;
}

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

.bt-panel {
    display: none;
}

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

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

/* スタイリングPICK UP カルーセル
・pricedown_v2 / common.css / common_v3.js と同じ構造
・PC：4枚 / SP：2枚 */
.btcp .js-pickup-carousel {
    max-width: 980px;
    margin: 14px auto 0;
}

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

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

.btcp .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;
}

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

/* スタイリングPICK UP：横3 / 縦4 */
#tab-styling .pickup__list--auto img {
    aspect-ratio: 3 / 4 !important;
}

/* 注目ワード：横5 / 縦6 */
#tab-keyword .pickup__list--auto img {
    aspect-ratio: 5 / 6 !important;
}

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

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

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

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

/* 注目ワード画像上のタグ */
.bt-word-badges {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: calc(100% - 16px);
}

.bt-word-badge {
    display: inline-block;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    color: #333;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

/* CHECK三角アイコン */
.bt-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文字 */
.bt-check-text {
    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;
}

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

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

.bt-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;
    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;
    align-items: center;
    padding-right: 10px;
    font-size: 0.8rem;
    line-height: 1.4;
    font-weight: 700;
    text-align: left;
}

.details__title small {
    display: block;
    margin-top: 2px;
    font-size: 0.7rem;
    line-height: 1.5;
    font-weight: 400;
    color: #4e454a;
}

/* アコーディオン中身 */
.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;
}

/* SP版調整
      ・600px以下に適用 */
@media screen and (max-width: 600px) {
    .btcp .sp {
        display: initial;
    }

    .bt-fv {
        margin-bottom: 20px;
    }

    .bt-title {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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