.wp-block-image figcaption,
.wp-block-gallery figcaption {
  text-align: center;
}


button,
.wp-block-button__link,
a.wp-block-button__link {
  text-decoration: none !important;
}

.wp-block-embed-youtube.wp-embed-aspect-9-16 iframe,
.wp-block-embed-youtube.wp-embed-aspect-9-16 .wp-block-embed__wrapper iframe {
  max-width: 360px !important;
  aspect-ratio: 9 / 16 !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
}


/* スマホ用追従ボタン */
.sticky-footer-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #d32f2f; /* 目立つ赤 */
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

/* リンクテキストの設定（訪問済みでも白を維持） */
.sticky-footer-cta a,
.sticky-footer-cta a:visited,
.sticky-footer-cta a:hover,
.sticky-footer-cta a:active {
    color: #ffffff !important; /* 強制的に白にする */
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    display: block;
    padding: 12px 0;
    line-height: 1.4;
}

/* PCでは表示しない（スマホのみ表示） */
@media screen and (min-width: 768px) {
    .sticky-footer-cta {
        display: none;
    }
}


/* --- 参加者の声エリアのデザイン --- */
.voice-section {
    background-color: #f9f9f9; /* 背景を薄いグレーに */
    padding: 30px 20px;
    margin: 40px 0;
    border-radius: 8px;
}

.voice-main-title {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 30px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    color: #333;
}

/* 個別のカード設定 */
.voice-card {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* ほんのり影をつける */
    position: relative;
}

/* ラベル（緑・オレンジ・青） */
.voice-label {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
}
.label-green { background-color: #28a745; }
.label-orange { background-color: #fd7e14; }
.label-blue { background-color: #007bff; }
.label-pink { background-color: #e83e8c; }

/* 本文テキスト */
.voice-text {
    font-size: 1.05em;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
    font-feature-settings: "palt";
}

/* 投稿者名 */
.voice-author {
    text-align: right;
    font-size: 0.9em;
    color: #666;
    border-top: 1px dashed #eee;
    padding-top: 10px;
    line-height: 1.4;
}
.voice-author strong {
    font-size: 1.1em;
    color: #000;
}

/* スマホ表示の調整 */
@media screen and (max-width: 600px) {
    .voice-card {
        padding: 20px 15px;
    }
    .voice-text {
        font-size: 1em;
    }
}