/**
Theme Name: record
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: record
Template: astra
*/

/* 1. ドロップダウンリストの背景色と不透明度を完全に固定 */
.select2-container--default .select2-dropdown,
.forminator-select-dropdown,
span.select2-container--open {
    background-color: #ffffff !important; /* 背景を白に */
    opacity: 1 !important;                /* 透明度をゼロに */
    visibility: visible !important;       /* 強制表示 */
    z-index: 99999999 !important;        /* 何よりも前面に */
    border: 1px solid #cccccc !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important;
}

/* 2. リスト内の各選択肢の背景 */
.select2-results__option,
.select2-results__option--selectable {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* 3. マウスを乗せたときのハイライト */
.select2-results__option--highlighted[aria-selected] {
    background-color: #0073aa !important;
    color: #ffffff !important;
}

/* 4. AstraとElementorの「はみ出し禁止」を根こそぎ解除 */
.ast-container, 
.entry-content, 
.elementor-widget-shortcode, 
.elementor-widget-container,
.elementor-column,
.elementor-element {
    overflow: visible !important;
}

/* E2Pdfのリンクをピンポイントで書き換え */
body a.e2pdf-download {
    font-size: 0 !important;  /* 元のDownloadという文字を消す */
    text-decoration: none !important;
    display: inline-block !important;
    padding: 0 !important;
    border: none !important;
}

/* 新しいボタンの文字とデザイン */
body a.e2pdf-download::after {
    content: "参加証をダウンロード（PDF）" !important; /* ←ここに表示したい文字 */
    font-size: 16px !important;
    color: #ffffff !important;
    background-color: #1e73be !important; /* 青色 */
    padding: 15px 30px !important;
    border-radius: 5px !important;
    display: inline-block !important;
    cursor: pointer !important;
    line-height: 1.2 !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
}

/* マウスを乗せたとき */
body a.e2pdf-download:hover::after {
    background-color: #005a9c !important;
    opacity: 0.9 !important;
}

/* 重複して出る「古いボタン」を強制的に非表示にする */
.forminator-response-message a::before,
.forminator-response-message a:hover::before {
    content: none !important;
    display: none !important;
}
/* -------------------------------------------------- */
/* ↓↓↓ ここから下をコピーして貼り付けてください ↓↓↓ */
/* -------------------------------------------------- */

/* 1. 古いボタン（before）を徹底的に消す */
.forminator-response-message a::before,
body a.e2pdf-download::before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* 2. リンクの文字（Download）を消す */
body a.e2pdf-download {
    font-size: 0 !important;
    text-decoration: none !important;
    background: none !important; /* 背景があれば消す */
}

/* 3. 新しいボタン（after）だけを表示する */
body a.e2pdf-download::after {
    content: "参加証をダウンロード（PDF）" !important;
    font-size: 16px !important;
    color: #ffffff !important;
    background-color: #1e73be !important; /* ボタンの色 */
    padding: 15px 30px !important;
    border-radius: 5px !important;
    display: inline-block !important;
    line-height: 1.2 !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    margin-top: 10px !important;
}

/* マウスを乗せたとき */
body a.e2pdf-download:hover::after {
    background-color: #005a9c !important;
    opacity: 0.9 !important;
}