/* dmm-plugin-styles.css */

/* スライダー用スタイル */
.slick-slider .slick-slide { margin: 0 10px; }
.slick-slider .slick-list { margin: 0 -10px; }
.swiper-container { max-width: 100%; overflow: hidden; }
.swiper-slide { width: auto; margin-right: 10px; }
.swiper-slide img { max-width: 100%; height: auto; }
.sample-video-container { overflow: hidden; }

/* ボタン用スタイル */
.dmm-auto-post-content .dmm-aff-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 20px;
    font-weight: bold;
    color: white !important;
    text-align: center;
    text-decoration: none !important;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.2);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.4);
    transition: all 0.1s ease-in-out;
    cursor: pointer;
    border: none;
}
.dmm-auto-post-content .dmm-button-primary {
    border-bottom: 4px solid #AD0052;
    background: linear-gradient(to bottom, #FF4081, #F50057);
}
.dmm-auto-post-content .dmm-aff-button:hover {
    color: white;
    filter: brightness(1.1);
    transform: translateY(-1px);
}
.dmm-auto-post-content .dmm-aff-button:active {
    transform: translateY(2px);
    box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
}

/* ユーザーレビュー用スタイル */
.user-reviews-container {
    margin-top: 20px;
    border-top: 2px solid #eee;
    padding-top: 20px;
}

.user-review-item {
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.user-review-item h3 {
    margin-top: 0;
    font-size: 1.1em;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

/* 全体的な記事コンテナのスタイル */
.dmm-auto-post-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff; /* 白背景に変更 */
    padding: 20px;
    border-radius: 8px;
}

/* 見出しのスタイル */
.dmm-auto-post-content h2 {
    font-size: 1.5em; /* フォントサイズを小さく */
    font-weight: normal; /* フォントを細く */
    color: #FFFFFF; /* 見出しの文字色を白に */
    border-bottom: 3px solid #FF4081; /* ピンクのアクセントは維持 */
    padding-bottom: 0.5em;
    margin-top: 2em;
    margin-bottom: 1em;
}

/* 情報ブロックのスタイル */
.dmm-info-block {
    background-color: #f9f9f9; /* 明るいグレー背景 */
    border: 1px solid #ddd;
    border-left: 5px solid #FF4081; /* ピンクのアクセントは維持 */
    padding: 20px;
    margin: 2em 0;
    border-radius: 5px;
}

.dmm-info-block p {
    margin: 0.5em 0;
}

/* 画像のスタイル */
.dmm-auto-post-content .wp-block-image img {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 1.5em; /* 画像の下にスペースを追加 */
}

/* リンクのスタイル */
.dmm-auto-post-content a {
    color: #F50057; /* ピンクのリンク色 */
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.dmm-auto-post-content a:hover {
    color: #FF4081;
}
