/**
 * Simple UI Components - 主样式文件
 * 版本: 1.0.0
 */

/* 1. 固定广告设计 */
.fixed-ad {
    max-width: 100%;
    margin: 2rem 0;
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
    border: 2px solid #FFBD59;
    padding-bottom: 2rem;
}

.fixed-ad__inner {
    padding: 0;
}

/* 波型ヘッダー */
.fixed-ad__header {
    background: #FFBD59;
    padding: .5rem 1rem;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fixed-ad__header::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    height: 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 300' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L0 50 Q200 400 400 100 Q500 0 800 140 L800 0 Z' fill='%23FFBD59'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 1;
}

.fixed-ad__header-text {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    width: 15rem;
    padding-bottom: 0 !important;
}

/* リード文 */
.fixed-ad__lead {
    padding: 2.5rem 2rem 0.5rem;
    text-align: center;
}

.fixed-ad__lead-text {
    color: #333;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    padding-bottom: 0 !important;
}

/* 矢印 */
.fixed-ad__arrows {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.fixed-ad__arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #C97A77;
    animation: bounce 1.5s infinite;
}

.fixed-ad__arrow:nth-child(2) {
    animation-delay: 0.2s;
}

.fixed-ad__arrow:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

/* メイン画像 */
.fixed-ad__media {
    margin-block: 1rem;
    margin-inline: .5rem;
    padding-bottom: 56%;
    position: relative;
    overflow: hidden;
}

.fixed-ad__media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.fixed-ad__media-text {
    text-align: center;
    padding-bottom: 0 !important;
}

/* 区切り線 */
.fixed-ad__divider {
    height: 6px;
    background: transparent;
    margin: 1rem .5rem;
    border-top: 2px solid #FF7B71;
    border-bottom: 2px solid #FF7B71;
}

/* ポイント */
.fixed-ad__points {
    padding: 1rem 10rem;
}

.fixed-ad__points-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: 0 !important;
}

.fixed-ad__point {
    display: flex !important;
    align-items: flex-start;
    margin-bottom: 1rem !important;
}

.fixed-ad__point::before,
.fixed-ad__point::after {
    content: initial !important;
    display: none !important;
}

.fixed-ad__point:last-child {
    margin-bottom: 0;
}

.fixed-ad__point-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #C47F79;
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 0.75rem;
}

.fixed-ad__point-text {
    color: #333;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    padding-top: 2px !important;
    padding-bottom: 0 !important;
}

.fixed-ad__before {
    text-align: center;
    font-weight: 500;
    padding-bottom: 0 !important;
}

.fixed-ad__before .fixed-ad__before-text {
    display: inline-block;
    background: linear-gradient(to top, #fae48b 35%, transparent 35%);
    padding-bottom: 0 !important;
}

.fixed-ad__note {
    text-align: center;
    font-weight: 500;
    font-size: .8rem !important;
    padding-bottom: 0 !important;
}

/* CTAボタン */
.fixed-ad__cta {
    padding: 1.5rem 2rem 1rem;
    text-align: center;
    max-width: 30rem;
    margin-inline: auto;
}

/* 2. ボタンデザイン */
.offer {
    display: inline-block;
}

.offer__cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: #E93323;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 2px black;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.offer__cta:hover {
    transform: translateY(2px);
    box-shadow: 0 1px 6px black;
    background: #E93323;
    opacity: 1 !important;
}

.offer__cta:active {
    transform: translateY(3px);
    box-shadow: 0 1px 6px black;
}

.offer--officialSite .offer__cta {
    background: linear-gradient(135deg, #FFBD59 0%, #FFA500 100%);
}

.offer--officialSite .offer__cta:hover {
    box-shadow: 0 1px 6px rgba(255, 189, 89, 0.3);
}

.offer--officialSite .offer__cta:active {
    box-shadow: 0 1px 6px rgba(255, 189, 89, 0.2);
}

/* 3. liタグデザイン（箇条書き） */
.check-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.check-list__item {
    display: flex;
    align-items: flex-start;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    padding: 0.5rem 0 0.5rem 25px;
}

.cps-post-main .check-list__item::before,
.check-list__item::before {
    content: '';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #FF7B71 !important;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 50%;
    flex-shrink: 0;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.cps-post-main .check-list__item::after,
.check-list__item::after {
    content: "";
    position: absolute;
    border: solid white;
    border-width: 0 2px 2px 0;
    width: 4px;
    height: 8px;
    transform: rotate(45deg);
    left: 7.7px;
    top: 6.8px;
}

/* 4. 表デザイン */
.itemList--tableUI {
    width: 100%;
    margin: 1.5rem 0;
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
    border-collapse: collapse;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.itemList--tableUI .itemList__row {
    display: flex;
}

.itemList--tableUI .thing--table {
    padding: 0;
    border: 1px solid #ccc;
}

.itemList--tableUI .itemList__head {
    background-color: #F59B5F;
    font-weight: bold;
    color: #333333;
}

.itemList--tableUI .itemList__row .itemList__cell {
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.itemList--tableUI .itemList__row:last-child .itemList__cell {
    border-bottom-width: 0;
}

.itemList--tableUI .itemList__row .itemList__cell:last-child {
    border-right-width: 0;
}

.thing {
    flex: 1;
    padding: 10px 12px;
    text-align: center;
    box-sizing: border-box;
    font-size: .9rem;
    min-width: 5rem;
}

/* 表スクロール */
.table-scroll {
    width: 100%;
    position: relative;
    margin: 1.5rem 0;
}

.table-scroll__area {
    overflow-x: auto;
}

.table-scroll__area .itemList--tableUI {
    width: 1000px;
    margin: 0;
}

.table-scroll__area::-webkit-scrollbar {
    height: 6px;
}

.table-scroll__area::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.table-scroll__area::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.table-scroll__hint,
.review-slider__hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: .8rem .5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.table-scroll__hint.is-visible:not(.is-hidden),
.review-slider__hint.is-visible:not(.is-hidden) {
    display: flex;
}

.table-scroll__icon,
.review-slider__hint-icon {
    width: 3rem;
    height: 3rem;
    background: url('/magazine/wp-content/uploads/2026/02/hand-pointer.png') center/contain no-repeat;
}

.table-scroll__text,
.review-slider__hint-text {
    margin-top: 4px !important;
    padding-bottom: 0 !important;
}

/* 5. 枠デザイン①（标题框） */
.caption--bar {
    margin: 1.5rem 0;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.caption__header {
    background: #FFBD59;
    padding: 0.875rem 1.5rem;
    text-align: center;
}

.caption__heading {
    color: #333333;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    padding-bottom: 0 !important;
}

.caption--bar .caption__body {
    background-color: #FFFCF7;
    padding: 1.5rem;
}

.caption__text {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0 0 0.75rem;
    padding-bottom: 0 !important;
}

.caption__text:last-child {
    margin-bottom: 0;
    padding-bottom: 0 !important;
}

/* 6. 枠デザイン②（标签框） */
.caption--tab-overlap {
    position: relative;
    padding: 1.5rem;
    background: #fff;
    border: 2px solid #EE9694;
    border-radius: 2px;
    margin: 4rem 0 1.5rem;
}

.caption__tab {
    position: absolute;
    top: -42px;
    left: 1.5rem;
    background: #EE9694;
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 6px 6px 0 0;
    font-weight: 700;
    font-size: 0.875rem;
}

.caption__tab-text {
    padding-bottom: 0 !important;
}

.caption--tab-overlap .caption__body {
    padding: 0;
    background-color: transparent;
}

/* 7. 枠デザイン③（简单框） */
.caption--plain {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #E8F9E9;
    border-radius: 2px;
}

.caption--plain .caption__body {
    padding: 0;
    background-color: transparent;
}

/* 8. フロウデザイン（步骤流程） */
.step-flow {
    margin: 1.5rem 0;
}

.step-flow__item {
    display: flex;
}

.step-flow__marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.step-flow__badge {
    width: 45px;
    height: 45px;
    background: #DEF1F9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    color: #044662;
    font-size: .75rem;
    font-weight: 500;
    flex-direction: column;
    padding-top: 4px;
}

.step-flow__badge:before {
    content: 'STEP';
    font-size: .6rem;
}

.step-flow__badge-text {
    color: #2196F3;
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1;
}

.step-flow__line {
    flex: 1;
    width: 1px;
    background: repeating-linear-gradient(to bottom,
    #cccccc 0,
    #cccccc 2px,
    transparent 2px,
    transparent 4px);
}

.step-flow__item:last-child .step-flow__line {
    display: none;
}

.step-flow__content {
    flex: 1;
    padding-top: 0.5rem;
    padding-left: .5rem;
    padding-bottom: 1rem;
}

.step-flow__title {
    color: #333;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    line-height: 1.4;
    padding-bottom: 0 !important;
}

.step-flow__text {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
    padding-bottom: 0 !important;
    margin-top: 1rem !important;
}

/* 9. 口コミデザイン（评论卡片） */
.review-card {
    background: #fff;
    padding: .6rem 1rem;
    margin: 1.5rem 0;
    border: 20px solid #f0f0f0;
}

.review-card__title {
    color: #333;
    font-size: 1.4rem !important;
    font-weight: 500;
    line-height: 1.4;
    padding-bottom: 0 !important;
}

.review-card__divider {
    height: 2px;
    background: #efefef;
    border-radius: 1px;
    margin-block: .6rem 1rem;
}

.review-card__meta {
    display: flex;
    align-items: center;
}

.review-card__avatar {
    flex-shrink: 0;
    margin-right: 1rem;
}

.review-card__avatar-img {
    width: auto !important;
    height: 85px !important;
    margin-bottom: 0 !important;
}

.review-card__info {
    flex: 1;
}

.review-card__profile {
    color: #666;
    font-size: 1.4rem !important;
    margin-bottom: .25rem !important;
    padding-bottom: 0 !important;
}

.review-card__rating {
    display: flex;
    align-items: center;
}

.review-card__rating-label {
    color: #666;
    font-size: 1.2rem !important;
}

.review-card__stars {
    color: #FFBD59;
    font-size: 1.2rem !important;
    letter-spacing: 2px;
}

.review-card__body {
    padding-top: .6rem;
}

.review-card__text {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
    padding-bottom: 0 !important;
}

/* 10. 口コミスライダー（评论滑动） */
.review-slider {
    position: relative;
    margin: 1.5rem 0;
}

.review-slider__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0.5rem;
    scrollbar-width: none;
    gap: 2rem;
}

.review-slider__track::-webkit-scrollbar {
    display: none;
}

.review-slider__item {
    flex: 0 0 500px;
    scroll-snap-align: start;
}

.review-slider__item .review-card {
    margin: 0;
    height: 100%;
}