/* 全体 */
html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

html, body, form, input, textarea, button, .container, .footer, .submitLink {
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  padding: 0;
  color: #333333;
  background-color: #000000;
  font-family: "小塚ゴシック Pro", "Kozuka Gothic Pro", sans-serif;
}

a {
  color: #0066CC;
  text-decoration: none;
}

img {
  vertical-align: top;
}

.hidden {
    display: none;
}

/* コンテナー */
.container {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  margin: 40px auto;
  max-width: 1200px;
  padding: 20px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
}

.header a {
  color: #fff;
}

.header h2 {
  font-size: 144%;
}

.menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.menu-bt {
  padding: 30px 20px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  background-color: #00A3E0;
  color: #FFFFFF;
  font-size: 120%;
}

.menu-bt2 {
  padding: 30px 20px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  color: #FFFFFF;
}

.header-img {
  margin: 0 auto;
  max-width: 1200px;
}
.header-img img {
  width: 100%;
}

.illustration {
  max-width: 100%;
}

.lump-container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background-color: #FFFFFF;
  padding: 60px 10px;
}

.rows {
  display: flex;
  flex-wrap: wrap; /* 複数行にまたがる場合のために設定 */
  justify-content: space-between; /* 列間のスペースを均等に分散 */
  align-items: flex-start; /* 各行を上端で揃える */
  width: 100%; /* コンテナの幅 */
  margin: 0 auto 80px auto; /* 中央に配置 */
}

.rows-row {
  display: flex;
  flex-direction: column; /* 子要素を縦に並べる */
  align-items: center; /* 子要素を中央揃えにする */
  flex-grow: 1; /* 利用可能なスペースを均等に使用 */
  flex-basis: 0; /* 列の基本サイズを0に設定して、flex-growが効くようにする */
  margin: 10px; /* 列間の余白 */
  font-size: 140%;
  color: #404040;
}

.rows-row img {
  width: 90%;
  max-width: 400px; /* 画像の幅を親要素に合わせる */
  object-fit: cover; /* 画像のアスペクト比を保持 */
  margin-top: 10px; /* テキストと画像の間隔 */
  margin-bottom: 0; /* テキストと画像の間隔 */
}

.img-full {
  width: 100%;
  /* margin-bottom: 40px;*/
}

.lump-container-title {
  font-size: 200%;
  color: #4D4D4D;
  font-weight: bold;
  padding: 30px 40px;
  border: 2px solid #284A66;
  border-radius: 20px;
  display: inline-block;
  margin: 0 auto 50px auto;
}

.lump-container-description-big {
  font-size: 240%;
  color: #404040;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.lump-container-description-middle {
  font-size: 140%;
  color: #404040;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
}

#investment {
  padding-bottom: 60px;
}

#investment .lump-container-description-big br {
  display: none;
}

.br-validity br {
  display: inline-block !important;
}

.submit-button,
.submit-button-span {
  background-image: linear-gradient(to bottom, #FFFF4F, #FFE502); /* グラデーションの背景 */
  color: #0F6870;
  border: 4px solid #0F6870;
  border-radius: 40px;
  padding: 10px 40px;
  font-size: 200%;
  font-weight: bold;
  cursor: pointer;
  outline: none;
  display: inline-block;
  margin: 10px;
  transition: background-color 0.3s;
  text-align: center;
  width: auto;
  animation: bounce 2s infinite;
}

.submit-button-span {
  padding: 20px 60px;
  font-size: 300%;
}

.registration br {
    display: none;
}

@keyframes bounce {
  0%, 100% {
    transform: scale(1); /* 通常のサイズ */
  }
  50% {
    transform: scale(1.2); /* 拡大 */
  }
}

.submit-button:hover,
.submit-button-span:hover {
  background-image: linear-gradient(to bottom, #FFFF80, #FFD700);
}

.race-results {
  width: 100%;
  max-width: 800px;
  margin: 0 auto; /* センタリング */
  border-collapse: collapse; /* 枠線のまとめ */
  box-sizing: border-box;
}

.race-results br {
  display: none;
}

.race-results th, .race-results td {
  border: 1px solid #ddd; /* 枠線のスタイル */
  padding: 6px; /* セルのパディング */
  text-align: center; /* テキストの中央揃え */
  vertical-align: middle; /* セルの内容を垂直方向に中央揃え */
}

.race-results th {
  background-color: #f2f2f2; /* ヘッダーの背景色 */
  color: black; /* ヘッダーのテキスト色 */
}

.payout {
  color: #F10C39; /* 文字色を変更 */
  font-weight: bold; /* フォントを太字に */
  font-size: 120%;
}

.payout:before {
  content: "\f0d6"; /* FontAwesomeのチェックサークルアイコン */
  font-family: "Font Awesome 5 Free"; /* FontAwesomeのフォントファミリー */
  padding-right: 5px; /* アイコンとテキストの間にスペースを追加 */
}

.betting {
  width: 800px;
  max-width: 100%;
  padding: 40px 20px;
  background: linear-gradient(#4D9CE3, #2686DD);
  margin: 0 auto 20px auto;
  box-sizing: border-box;
  color: #FFFFFF;
  font-size: 140%;
  text-align: left;
}

.betting .lump-container-description-big {
  color: #FFFFFF;
  font-size: 180%;
}

.chart-icon {
  font-size: 96px; /* アイコンのサイズ */
  color: white; /* アイコンの色 */
  display: block !important;
  margin-bottom: 20px;
}



/* 強調 */
.emphasis {
  color: #F10C39;
}
.emphasis_box {
  color: #FFFFFF;
  padding: 20px 10px 20px 10px;
  font-size: 16px;
  font-weight: 500;
  background-color: #E94F3D;
  border-radius: 4px;
  margin: 20px 0;
  text-align: center !important;
}

.emphasis_blue {
  color: #00A3E0;
}

.emphasis_yellow {
  color: #FCFC53;
}

/* hr風タイトル */
.hrline {
    background-color: #117882; /* 背景画像から色をピックアップし、透明度を加える */
    color: #ffffff; /* テキストは白色で */
    padding: 0.6em 1em;
    border-radius: 2em; /* 丸みを帯びたボーダー */
    margin: 1em 0; /* 上下にマージンを設定 */
    display: block; /* インラインブロックにして、テキストの幅に合わせる */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* ソフトな影を追加 */
}

/* hr風タイトル2 */
.hrline2 {
  position: relative;
  color: #268300;
  padding: 8px 8px 8px 14px;
  font-size: 16px;
  font-weight: 500;
  margin: 20px 0;
}

.hrline2:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 8px;
  background-color: #268300;
  border-radius: 4px; /* 角丸を追加 */
}

/* タイトル */
.container h2,
form h2 {
  color: #333333;
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 20px;
  text-align: center;
}

/* ラベル */
form label {
  color: #666666;
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin: 20px 0 5px;
}

/* プルダウン（select） */
form select {
  -webkit-appearance: none; 
  -moz-appearance: none; 
  appearance: none;
  background-color: #F5F5F7;
  /* Add arrow as a background image */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="black" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"></path></svg>');
  background-position: right 10px center; 
  background-repeat: no-repeat;
  background-size: 30px; 
  border-radius: 4px;
  border: none;
  box-shadow: none;
  color: #333333;
  font-size: 18px;
  padding: 10px;
  width: 100%;
}

/* テキスト入力 */
form input[type="text"],
form input[type="password"],
form input[type="email"],
form textarea {
  background-color: #FFFFFF;
  border-radius: 4px;
  border: none;
  box-shadow: none;
  color: #333333;
  font-size: 16px;
  padding: 10px;
  width: 100%;
  margin-bottom: 10px;
}

/* テキストエリア */
form textarea {
  height: 120px;
}

/* ボタン */
form button,
form input[type="submit"],
.submitLink {
  background-color: #007AFF;
  border-radius: 4px;
  border: none;
  box-shadow: none;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  margin-top: 10px;
  margin-bottom: 20px;
  padding: 20px 10px;
  transition: background-color 0.3s ease;
  width :100%;
  text-align: center;
}

/* ボタンのhover */
form button:hover,
form input[type="submit"]:hover,
.submitLink:hover {
  background-color: #0068FF;
}

/* ボタンスタイルlight */
form input[type="submit"].light,
.submitLink.light {
  background-color: #49A0FF;
}
form input[type="submit"].light:hover,
.submitLink.light:hover {
  background-color: #007AFF;
}

/* キャンセルボタン */
form input[type="reset"] {
  background-color: #FFFFFF;
  border: 1px solid #007AFF;
  color: #007AFF;
  margin-left: 10px;
}

/* キャンセルボタンのhover */
form input[type="reset"]:hover {
  background-color: #007AFF;
  color: #FFFFFF;
}

/* サイン */
canvas#signature {
  background-color: #FFFFFF;
  border-radius: 4px;
  border: 1px solid #CCCCCC;
  display: block;
  margin: 10px 0 20px;
  width: 100%;
}

/* サインクリアボタン */
form #clear_signature {
  background-color: #FFFFFF;
  border: 1px solid #007AFF;
  color: #007AFF;
  font-size: 12px;
  padding: 5px 10px;
}
/* サインクリアボタンのhover */
form #clear_signature:hover {
  background-color: #007AFF;
  color: #FFFFFF;
}

/* Undoボタン */
form #undo_signature {
  background-color: #FFFFFF;
  border: 1px solid #007AFF;
  color: #007AFF;
  font-size: 12px;
  padding: 5px 10px;
}

/* Undoボタンのhover */
form #undo_signature:hover {
  background-color: #007AFF;
  color: #FFFFFF;
}

/* フッター */
.footer {
    padding: 1em;
    background-color: #020f10;
    color: #ffffff;
    text-align: center;
    bottom: 0;
    width: 100%;
}
.footer a {
    color: #ffffff;
}

/* ローディングインジケータ */
.loading-indicator {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -25px;
  margin-left: -25px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border-left-color: #007AFF;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


table.blue {
  width: 100%;
  table-layout: fixed;
  color: #1E90FF;
  border-collapse: collapse;
}

table.blue th, table.blue td {
  border: 1px solid lightgray; /* ボーダーの設定 */
  padding: 2px 0;  /* テキストとボーダーとの間にスペースを設ける */
  text-align: center;
}

table.red {
  width: 100%;
  table-layout: fixed;
  color: #D62828;
  border-collapse: collapse;
}

table.red th, table.red td {
  border: 1px solid lightgray; /* ボーダーの設定 */
  padding: 2px 0;  /* テキストとボーダーとの間にスペースを設ける */
  text-align: center;
}
table.result {
  width: 100%;
  table-layout: fixed;
  color: #000000;
  border-collapse: collapse;
  background-color: #EEEEEE;
  padding-left: 72px; /* 画像の幅 + 余白の幅（例として20px余白を追加しています） */
}
table.result th, table.result td {
  border: 1px solid lightgray; /* ボーダーの設定 */
  padding: 4px 0;  /* テキストとボーダーとの間にスペースを設ける */
  text-align: center;
  font-size: 110%;
}
table.result-target {
  background-image: url('./img/goal.png');
  background-repeat: no-repeat;
  background-position: 6px center;
  background-size: 66px 79px;
  padding-left: 72px; /* 画像の幅 + 余白の幅（例として20px余白を追加しています） */
}

table.investment {
  width: 100%;
  border-collapse: collapse;
}

table.investment th, table.investment td {
  border: 1px solid lightgray; /* ボーダーの設定 */
  padding: 2px 0;  /* テキストとボーダーとの間にスペースを設ける */
  text-align: center;
  font-size: 12px;
}

#scrollToTopBtn, #refreshBtn {
  position: fixed; /* Fixed/sticky position */
  right: 16px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #007AFF; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  width: 50px; /* Width of the button */
  height: 50px; /* Height of the button */
  border-radius: 4px; /* Rounded corners */
  padding: 12px; /* Padding for the SVG */
  font-size: 24px; /* Font size for the refresh character */
  text-align: center; /* Center the refresh character */
  line-height: 26px; /* 文字の高さを調整 */
  font-weight: bold;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#scrollToTopBtn {
  bottom: 150px; /* Place the button at the bottom of the page */
}

#refreshBtn {
  bottom: 90px; /* Place the button above the scroll to top button */
}

#scrollToTopBtn:hover, #refreshBtn:hover {
  background-color: #0068FF; /* Add a dark-grey background on hover */
}

#scrollToTopBtn svg, #refreshBtn svg {
  width: 100%;
  height: 100%;
}


.fixed-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #FAFAFC;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 70px;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.fixed-menu .menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    width: 100%;
}

.fixed-menu .menu-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #333;
}

.fixed-menu .menu-item img {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}

.fixed-menu .menu-item span {
    font-size: 12px;
}

/* モーダルウィンドウの基本スタイル */
.modal {
    display: none; /* 非表示にしておく */
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4);
}

/* モーダルウィンドウのコンテンツのスタイル */
.modal-content {
    background-color: #fefefe;
    position: relative;
    padding: 20px;
    border: 1px solid #888;
    max-width: 560px;
    border-radius: 10px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    height: 74%;
    overflow-y: auto;    /* 追加した部分 */
    top: 6%;            /* 必要に応じて調整 */
}

/* モーダルウィンドウのクローズボタンのスタイル */
.close {
    color: #fff; 
    font-size: 28px;
    font-weight: bold;
    position: fixed; 
    top: 20px;
    right: 20px;
    background-color: #666;
    border-radius: 50%;
    padding: 10px;
    width: 28px; 
    height: 28px; 
    line-height: 28px; /* ラインハイトを高さと同じに設定 */
    text-align: center;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


/* トグル */
.toggle-link {
    color:#3498DB;
    cursor:pointer;
}

/* 画像遅延読み込み */
img[data-src] {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

img.lazy-loaded {
    opacity: 1;
}


/* スマホ最適化 */
@media only screen and (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .container {
        margin-left: 10px;
        margin-right: 10px;
        padding: 16px;
    }

    .close {
        line-height: 22px; /* ラインハイトを微調整 */
    }

    .hrline {
        padding: 0.4em 0.8em; /* モバイルではパディングを少し減らす */
        margin: 0.8em 0; /* マージンも調整 */
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        text-align: center;
        padding: 10px 0;
        width: 100%;
    }

    .menu {
        justify-content: initial;
        margin: 10px auto;
        text-align: center;
    }

    .menu-bt {
        border-radius: 10px;
    }
    .menu-bt,
    .menu-bt2 {
        padding: 10px;
    }

    #investment .lump-container-description-big {
        font-size: 220%;
    }

    #investment .lump-container-description-big br {
        display: inline;
    }

    #investment .lump-container-description-middle br {
        display: none;
    }

    .lump-container {
        padding: 30px 10px;
    }

    .about-section img {
        width: 100%;
        margin-bottom: 40px;
    }

    .rows {
        flex-direction: column;
        align-items: flex-start;
    }

    .rows-row {
        width: 100%;
        font-size: 120%;
    }

    .rows-row img {
        width: 70%;
    }

    .race-results br {
        display: inline;
    }

    .registration br {
        display: inline;
    }

    .submit-button-span {
        padding: 20px;
        font-size: 200%;
    }



    .lump-container-description {
    font-size: 120%;
    }

    .lump-container-check {
    font-size: 160%;
    }

    #investment .lump-container-title {
    font-size: 180%;
    padding: 20px 30px;
    border: 2px solid #284A66;
    border-radius: 20px;
    display: inline-block;
    margin: 0 auto 50px auto;
    }

    .sp-brclear-left-style {
    text-align: left;
    }
    .sp-brclear-left-style br {
    display: none;
    }

}

/*  */
.example-point-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 0;
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
}

.example-point-list li {
  margin: 10px 0;
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.example-point-list li img {
  width: 600px;
  max-width: 100%;
}

.example-point-list h3 {
  margin: 0;
  padding: 10px;
  font-size: 20px;
  color: #ffffff;
  background-color: #268300;
}

.example-point-list div {
  margin: 0;
  padding: 15px;
  font-size: 18px;
  line-height: 1.4;
  color: #333333;
  padding: 20px;
}

.point-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 0;
  width: 600px;
  max-width: 100%;
  margin: 0 auto;
}

.point-list li {
  margin: 10px 0;
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.point-list li table {
  width: 300px;
  max-width: 80%;
  margin: 0 auto 20px auto;
}
.point-list li th, td {
  font-size: 20px;
  font-weight: bold;
  padding: 2px;
  text-align: left;
}

.point-list h3 {
  margin: 0;
  padding: 10px;
  font-size: 20px;
  color: #ffffff;
  background-color: #E94F3D;
}

.point-list h4 {
  margin: 0;
  padding: 10px;
  font-size: 20px;
  color: #ffffff;
  background-color: #0081EA;
}

.point-list p {
  margin: 0;
  padding: 15px;
  font-size: 18px;
  line-height: 1.4;
  color: #333333;
}

table.atarib{
  width: 100%;
  max-width: 100%;
  border: 1px #cccccc solid;
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 15px;
  table-layout: fixed;
  margin: 0 auto;
}

table.atarib th {
  padding: 5px;
  border: #cccccc;
  border-width: 0 0 1px 1px;
  background: #fb8200;
  font-weight: bold;
  line-height: 120%;
  text-align: center;
  color:#fff;
}
table.atarib td {
  padding: 5px 10px 5px 10px;
  border: 1px #cccccc solid;
  border-width: 0 0 1px 1px;
  text-align: center;
  background-color: #fff;
  color: #5d5d5d;
}

.lump-container-description-middle p {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
}

.input-icon {
  display: flex;
  align-items: center;
  position: relative;
  width: 800px;
  max-width: 90%;
  margin: 0 auto;
  background-color: #e2e2e2;
  padding: 10px;
}

input[type="email"] {
  flex: 1;
  border: none;
  background-color: transparent;
  padding-left: 40px;
  font-size: 16px;
  height: 60px;
  outline: none;
  color: #333;
}

input[type="email"]::placeholder {
  color: #999;
}

.fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f5f5f5;
  padding: 10px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

.fixed-footer a {
  color: #007bff;
  text-decoration: none;
}

.fixed-footer a:hover {
  text-decoration: underline;
}

#scrollButton {
    position: fixed;
    right: 20px;
    bottom: 90px;
    background: #00A3E0;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    border-radius: 20px;
    cursor: pointer;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
}

/* オッズ変動グラフセクション */
.odds-graph-container {
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.graph-item {
  background-color: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  overflow: hidden;
  border: 2px solid #E3F2FD;
}

.graph-header {
  background: linear-gradient(135deg, #00A3E0, #0088CC);
  color: #FFFFFF;
  padding: 20px;
  text-align: center;
}

.graph-header h3 {
  margin: 0 0 10px 0;
  font-size: 24px;
  font-weight: bold;
}

.graph-header h3 i {
  margin-right: 10px;
  color: #FFD700;
}

.graph-subtitle {
  font-size: 16px;
  opacity: 0.9;
  margin: 0;
}

.graph-content {
  padding: 20px;
  text-align: center;
}

.graph-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.graph-image:hover {
  transform: scale(1.02);
}

.graph-description {
  margin-top: 15px;
}

.highlight-point {
  background: linear-gradient(135deg, #FFE082, #FFC107);
  color: #D84315;
  padding: 15px 20px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 3px 10px rgba(255, 193, 7, 0.3);
  animation: pulse-glow 2s infinite;
}

.highlight-point i {
  margin-right: 10px;
  font-size: 18px;
  color: #E65100;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 3px 10px rgba(255, 193, 7, 0.3);
  }
  50% {
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.6);
  }
}

/* 特徴説明グリッド */
.graph-features {
  margin-top: 50px;
}

.feature-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.feature-item {
  background-color: #FFFFFF;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  min-width: 200px;
  flex: 1;
  box-shadow: 0 6px 20px rgba(0, 163, 224, 0.15);
  border: 2px solid #E3F2FD;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 163, 224, 0.25);
  border-color: #00A3E0;
}

.feature-icon {
  background: linear-gradient(135deg, #00A3E0, #0088CC);
  color: #FFFFFF;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(0, 163, 224, 0.3);
}

.feature-item h4 {
  color: #00A3E0;
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 15px 0;
}

.feature-item p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* スマートフォン対応 */
@media only screen and (max-width: 768px) {
  .odds-graph-container {
    padding: 0 10px;
  }
  
  .graph-header {
    padding: 15px;
  }
  
  .graph-header h3 {
    font-size: 20px;
  }
  
  .graph-subtitle {
    font-size: 14px;
  }
  
  .graph-content {
    padding: 15px;
  }
  
  .highlight-point {
    font-size: 14px;
    padding: 12px 16px;
    flex-direction: column;
    text-align: center;
  }
  
  .highlight-point i {
    margin-right: 0;
    margin-bottom: 5px;
  }
  
  .feature-grid {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
  }
  
  .feature-item {
    min-width: auto;
    padding: 25px 15px;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .feature-item h4 {
    font-size: 16px;
  }
  
  .feature-item p {
    font-size: 13px;
  }
}