
/* =====================
	フォント設定
======================= */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif !important;
}

/* =====================
	テーブル共通スタイル
======================= */
body .table td,
body .table th,
body table.dataTable td,
body table.dataTable th {
  padding: 0.2em !important;
}

/* テーブルヘッダーの下線を統一 */
body .table thead th {
  border-bottom-width: 1px !important;
}

/* =====================
	電光掲示板
======================= */

a.header-info {
    color: inherit;
    maegin:0px 10px
}


.marquee {
width:100%;
overflow:hidden;
background-color:#ffffff !important;
position:relative;
will-change: animation, transform;
}

.marquee p:after {
content:"";
white-space:nowrap;
padding-right:50px;
}

.marquee p {
margin:0;
padding-left:600px;
display:inline-block;
white-space:nowrap;
	-webkit-animation-name:marquee;
	-webkit-animation-timing-function:linear;
	-webkit-animation-duration:240s;
	-webkit-animation-iteration-count:infinite;
	-moz-animation-name:marquee;
	-moz-animation-timing-function:linear;
	-moz-animation-duration:240s;
	-moz-animation-iteration-count:infinite;
	-ms-animation-name:marquee;
	-ms-animation-timing-function:linear;
	-ms-animation-duration:240s;
	-ms-animation-iteration-count:infinite;
	-o-animation-name:marquee;
	-o-animation-timing-function:linear;
	-o-animation-duration:240s;
	-o-animation-iteration-count:infinite;
	animation-name:marquee;
	animation-timing-function:linear;
	animation-duration:240s;
	animation-iteration-count:infinite;
}
@-webkit-keyframes marquee {
  from   { -webkit-transform: translate(0%);}
  99%,to { -webkit-transform: translate(-100%);}
}
@-moz-keyframes marquee {
  from   { -moz-transform: translate(0%);}
  99%,to { -moz-transform: translate(-100%);}
}
@-ms-keyframes marquee {
  from   { -ms-transform: translate(0%);}
  99%,to { -ms-transform: translate(-100%);}
}
@-o-keyframes marquee {
  from   { -o-transform: translate(0%);}
  99%,to { -o-transform: translate(-100%);}
}
@keyframes marquee {
  from   { transform: translate(0%);}
  99%,to { transform: translate(-100%);}
}


.cardTitleIcon{
	margin-right:3px
}

.mobile.smallscreen .sidebar-inner.leftscroll {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}


.main-sidebar {
    z-index:996;
}

.font-size-pc{
	font-size: 0.75rem;
}
.headerinfo {
  left: 0;
  position: fixed;
  right: 0;
  top: 50px;
  height: 25px;
  z-index:997; }

/* カードヘッダを少し狭く*/
.card-header {
    padding: .40rem 1.25rem;
}

.card-body {
    padding: 0.50rem 1.25rem;
}

.col{
	padding-bottom:10px !important
}

/* タイトル*/
.page-title {
    margin: 0px -20px 20px -20px;
    padding: 13px 25px 0 25px;
    box-shadow: none;
}
.card .card-header a[data-toggle="collapse"] {
	display: block;
}

.card .card-header a[data-toggle="collapse"]:active, .card .card-header a[data-toggle="collapse"]:hover,
	.card .card-header a[data-toggle="collapse"]:focus {
	text-decoration: none;
	//
	リンクテキストの下線を消す
}

.card {
	margin-bottom:0px;
	border-collapse:
}
.cardbottom {
	margin-bottom:0px;
}

h1.main-title, h2.main-title {
    padding: 0.2em 0.5em 0.1em 0.5em;
    margin: 1px 0px 1px 0px;
    text-align: left;
    border-style: solid;
    border-width: 0 0 1px 22px;
    line-height: 1.4em;
}

h1 {
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

@media ( min-width : 1350px) {
	.container {
		max-width: 1350px;
	}
}

.btn-outline-primary {
	/*background-color: white !important*/

}

.btn-outline-primary:hover {
	color: inherit !important
}

.ui-helper-hidden-accessible {
	display: none;
	background-color: white;
}


.main-title {
	font-size: 1.0rem !important;
}

.bg-none {
	background-color: transparent;
}
.bg-whitesmoke {
	background-color: whitesmoke !important;
	color: black;
}
.bg-silver {
	background-color: silver !important;
	color: black;
}
.bg-silver2 {
	background-color: silver !important;
	color: #696969;
}

.bg-lightgrey {
	background-color: lightgrey !important;
	color: black;
}

.bg-lightyellow {
	background-color: #ffff99 !important;
	color: black;
}

.bg-orange {
	background-color: orange !important;
	color: black;
}
.bg-bisque {
	background-color: Bisque !important;
	color: black;
}
.bg-green {
	background-color: #00d56a !important;
	color: white !important;
}
.bg-springgreen {
	background-color: springgreen !important;
	color: black;
}
.bg-springgreen2 {
	background-color: #99ffcc !important;
	color: black;
}
.bg-lightgreen2 {
	background-color: #dbffdb !important;
	color: black;
}
.bg-lightgreen3 {
	background-color: #E9FFE0 !important;
	color: black;
}


.betTan {
	background-color: #dbffdb !important;
	color: black;
}
.betFuk {
	background-color: #dbffdb !important;
	color: black;
}
.betRen {
	background-color: #99ffcc !important;
	color: black;
}
.betWide {
	background-color: #99ffcc !important;
	color: black;
}
.betSanfuk {
	background-color: springgreen !important;
	color: black;
}
.betSantan {
	background-color: #00d56a !important;
	color: white !important;
}


.bg-black {
	background-color: black !important;
	color: white !important;
}
.bg-red {
	background-color: red !important;
	color: white !important;
}

.bg-hot1 {
	background-color: #ff0000 !important;
	color: white !important;
}
.bg-hot2 {
	background-color: #ff2b2b !important;
	color: white !important;
}
.bg-hot3 {
	background-color: #ff5555 !important;
	color: black;
}
.bg-hot4 {
	background-color: #ff8080 !important;
	color: black;
}
.bg-hot5 {
	background-color: #ffaaaa !important;
	color: black;
}
.bg-hot6 {
	background-color: #ffd5d5 !important;
	color: black;
}
.bg-hot7 {
	background-color: #ffeaea !important;
	color: black;
}
.bg-hot8 {
	background-color: #fff4f4 !important;
	color: black;
}



.bg-yellow {
	background-color: yellow !important;
	color: black;
}

.bg-rightyellow {
	background-color: #FFFACD !important;
	color: black;
}

.bg-blue {
	background-color: blue !important;
	color: white !important;
}

.bg-white {
	background-color: white !important;
	color: black;
}

.bg-black {
	background-color: black !important;
	color: white !important;
}

.bg-lightblue {
	background-color: lightblue !important;
	color: black;
}

.bg-gold {
	background-color: #e0d9b6 !important;
	color: black;
}

.cl-black {
	color: black !important;
}

.cl-white {
	color: white !important;
}

.cl-red {
	color: red !important;
}

.cl-blue {
	color: blue !important;
}

.cl-yellow {
	color: yellow !important;
}

.cl-orange {
	color: orange !important;
}

.cl-silver {
	color: silver !important;
}

.cl-lightblue {
	color: lightblue !important;
}

.cl-aqua {
	color: aqua !important;
}

.cl-aquamarine {
	color: aquamarine !important;
}
.cl-royalblue{
	color: royalblue !important;
}
.cl-mistyrose {
	color: mistyrose !important;
}

.cl-deepskyblue {
	color: deepskyblue !important;
}

.cl-pink {
	color: pink !important;
}

.cl-mediumpurple {
	color: mediumpurple !important;
}

.cl-lightsteelblue {
	color: lightsteelblue !important;
}

.cl-orchid {
	color: orchid !important;
}

.cl-hotpink {
	color: hotpink !important;
}

.cl-gray {
	color: gray !important;
}

.handon {
	cursor: pointer;
}

.empb {
	font-weight: bold;
	color: red;
}
.emp{
	color: red;
}



dt {

}

.male {
	background-color: lightcyan !important;

	border-color : #915524;
}

.female {
	background-color: mistyrose !important;
	border-color : #915524;
}


#blood_area {
	height: 150px;
}


.graph {
	width: 100%;
	display: inline-block;
	vertical-align: middle;
}

.graph .bar1 {
	display: block;
	position: relative;
	background: #3F88C5;
	color: white;
	font-weight: normal;
	height: 10px;
	width: 100%;
}

.graph .bar2 {
	display: block;
	position: relative;
	color: white;
	font-weight: normal;
	background: #FF5E5B;
	height: 10px;
	width: 100%;
}

i.racevideo {
	cursor: pointer;
	background-color: #adffad;
	color: dimgray;
	border-radius:.3em;
	border:solid .08em dimgray;
}

i.multivideo {
	cursor: pointer;
	background-color: aqua;
	color: dimgray;
	border-radius:.3em;
	border:solid .08em dimgray;
}

i.paddocvideo {
	cursor: pointer;
	background-color: #ffccff;
	color: dimgray;
	border-radius:.3em;
	border:solid .08em dimgray;
}

i.jockeyvideo {
	cursor: pointer;
	background-color: white;
	color: dimgray;
	border-radius:.3em;
	border:solid .08em dimgray;
}

i.trngvideo {
	cursor: pointer;
	background-color: yellow;
	color: dimgray;
	border-radius:.3em;
	border:solid .08em dimgray;
}
.springgreen {
	color: springgreen;
}

.red {
	font-weight: bold;
	color: red !important;
}

.orange {
	font-weight: bold;
	color: orange;
}

.yellow {
	font-weight: bold;
	color: yellow;
}

.silver {
	font-weight: bold;
	color: silver;
}



@-webkit-keyframes marquee {
  from   { -webkit-transform: translate(0%);}
  99%,to { -webkit-transform: translate(-100%);}
}
@-moz-keyframes marquee {
  from   { -moz-transform: translate(0%);}
  99%,to { -moz-transform: translate(-100%);}
}
@keyframes marquee {
  from   { transform: translate(0%);}
  99%,to { transform: translate(-100%);}
}



.dataTable>thead>tr>th[class*="sort"]:after {
	content: "" !important;
}

.dataTable>thead>tr>th[class*="sort"]:before {
	content: "" !important;
}

.dataTables_wrapper{
	padding:0px 0px 0px 0px;
}

table.dataTable thead>tr>th.sorting_asc, table.dataTable thead>tr>th.sorting_desc,
	table.dataTable thead>tr>th.sorting, table.dataTable thead>tr>td.sorting_asc,
	table.dataTable thead>tr>td.sorting_desc, table.dataTable thead>tr>td.sorting
	{
	padding: .1em;
}

/* テーブルセルの余白設定はbs5-compat.cssに統一 */


@media ( min-width : 768px) {
	i.mini {
		padding: 0px 3px 0px 2px;
		font-size: 9px;
	}
}


.fa-leaf {
	margin-right:3px
}

.fa-trophy {
	margin-right:3px
}

.fa-horse {
	margin-right:3px
}

.trophy10 {
	color: red;
	}

.trophy20 {
	color: orange;
	}

.trophy30 {
	color: pink;
}

.trophy50 {
	color: paleturquoise;
}

.trophy60 {
	color: #e2c6ff;
}

.kara {
	border-top: none !important;
	border-bottom: none !important;
	text-align: left
}

.sita {
	border-top: none !important;
	text-align: left;
	padding: 0px
}

.aqua {
	font-weight: bold;
	color: #0261fd !important;
}

.blood-row {
	height: 150px;
}

div.legbox_area {
	width: 100px;
}

;
margin




:




0
px




3
px




}
div.legbox_hidden {
	visibility: hidden;
	float: left;
	width: 17px;
	text-align: center;
	padding: 0px 1px;
	border: none;
	margin: 0px 3px
}

div.legbox_none {
	display: none;
	float: left;
}

.form_required {
	background-color: rgb(250, 255, 189) !important;
}


.ui-widget.ui-widget-content {
	border: 1px solid #c5c5c5;
}

.ui-widget-content {
	padding: 10px 0px;
	border: 1px solid #dddddd !important;
	background: #ffffff !important;
	color: #333333 !important;
}

.ui-widget-content a {
	color: #333333;
	margin-top: 3px;
}

.ui-state-focus, .ui-state-active, .ui-widget-content .ui-state-active,
	.ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active,
	.ui-button.ui-state-active:hover {
	border: 1px solid #003eff;
	background: #007fff;
	font-weight: normal;
	color: white !important;
	cursor: pointer
}

.ppx-20 {
	padding: 0px 20px
}

.bg-lyellow {
	background-color: FFFFCC !important;
	color: black;
}

.bg-aqua {
	background-color: aqua!important;
	color: black;
}

.bg-aqua2 {
	background-color: paleturquoise!important;
	color: black;
}

.bg-aqua3 {
	background-color: #dbffff !important;
	color: black;
}

.bg-hotpink {
	background-color: hotpink !important;
	color: black;
}

.bg-pink {
	background-color: pink !important;
	color: black;
}
.bg-lightpink {
	background-color: #ffccff !important;
	color: black;
}

.bg-pink3 {
	background-color: #ffdbff !important;
	color: black;
}

.bg-pink4 {
	background-color: #ffedff !important;
	color: black;
}

.col-125 {
	width: 12.5%;
}

.col-142 {
	width: 14.2%;
}

.weather-icon {
	height: 40px;
	width: 40px;
	margin: 0 auto;
}

.weather-icon-l {
	height: 60px;
	width: 60px;
}
.weather-icon-s {
	height: 20px;
	width: 20px;
	margin:0px;
}

.ui-autocomplete {
	z-index: 1000 !important;
}

.ui-font {

}

/*美浦*/
.ewcd_1 {
	background-color: #bcffbc !important;
}
/*栗東*/
.ewcd_2 {
	background-color: #ffd6d6 !important;
}
/*地方*/
.ewcd_3 {
	background-color: silver !important;
}
/*外国*/
.ewcd_4 {
	background-color: purple !important;
}

.course_01 {
	background-color: #bcffff !important;
	color: black;
} /*札幌*/
.course_02 {
	background-color: #ccffff !important;
	color: black;
} /*函館*/
.course_04 {
	background-color: #ccffe5 !important;
	color: black;
} /*新潟*/
.course_03 {
	background-color: #dbffed !important;
	color: black;
} /*福島*/
.course_05 {
	background-color: #bcffbc !important;
	color: black;
} /*東京*/
.course_06 {
	background-color: #ddffbc !important;
	color: black;
} /*中山*/
.course_07 {
	background-color: #ffffbc !important;
	color: black;
} /*中京*/
.course_08 {
	background-color: #ffddbc !important;
	color: black;
} /*京都*/
.course_09 {
	background-color: #ffd6d6 !important;
	color: black;
} /*阪神*/
.course_10 {
	background-color: #ffc1ff !important;
	color: black;
} /*小倉*/
.course_3 {
	background-color: gainsboro !important
} /*地方*/
.course_4 {
	background-color: gainsboro !important
} /*地方*/
.course_5 {
	background-color: gainsboro !important
} /*地方*/
.course_6 {
	background-color: gainsboro !important
} /*地方*/
.course_A {
	background-color: purple !important;
	color: white !important;
} /*海外*/
.course_B {
	background-color: purple !important;
	color: white !important;
} /*海外*/
.course_C {
	background-color: purple !important;
	color: white !important;
} /*海外*/
.course_G {
	background-color: purple !important;
	color: white !important;
} /*海外*/
.stat_1 {
	color: black;
} /*良*/
.stat_2 {
	background-color: gainsboro !important;
	color: black;
} /*稍*/
.stat_3 {
	background-color: lightgrey !important;
	color: black;
} /*重*/
.stat_4 {
	background-color: silver !important;
	color: black;
} /*不*/
.horse_m_1 {
	background-color: gainsboro !important
} /*デビュー前*/
.horse_m_23 {
	background-color: gainsboro !important
} /*2,3才*/
.horse_m_4 {
	background-color: gainsboro !important
} /*古馬*/
.horse_m_E {
	background-color: gainsboro !important
} /*引退*/
.horse_f_1 {
	background-color: gainsboro !important
} /*デビュー前*/
.horse_f_23 {
	background-color: gainsboro !important
} /*2,3才*/
.horse_f_4 {
	background-color: gainsboro !important
} /*古馬*/
.horse_f_E {
	background-color: gainsboro !important
} /*引退*/
.chartWrapper {
	position: relative;
}

.chartWrapper>canvas {
	position: absolute;
	left: 0;
	top: 0;
	pointer-events: none;
}

.chartAreaWrapper {
	/*width: 600px;*/
	overflow-x: scroll;
}

.card-title {
	/*font-weight:bold;*/
	font-size: 0.9rem;
    margin: .20rem .0rem;
}
.card-title-memo {
	padding-top:3px;
	text-align:right;
}

.radiusBox {
    padding: 0.1em 0.2em;
    margin: 0em 0;
    border-radius: 10px;/*角の丸み*/
}


.badge-light {
    width:20px;
    border: 1px solid gray
}



.picker__select--month, .picker__select--year {
    padding: .0em .5em !important;
}




.stretched-link::after{
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	pointer-events: auto;
	content: "";
	background-color: rgba(0, 0, 0, 0)
}

.inline-link{
  position: relative; z-index: 2;
}

.easy-autocomplete-container{
	width:500px;
}
.easy-autocomplete-container li{
	white-space:nowrap;
}




@media ( min-width : 768px) {
	.show-block-over-sm collapse.collapse {
		display: block;
	}
}

@media ( min-width : 768px) {
	.show-flex-over-sm.collapse {
		display: flex;
	}
}

@media ( min-width : 768px) {
	.hide-over-sm {
		display: none;
	}
}

@media ( max-width : 768px) {
	table tr {
	    height:30px;
	}
	table tr td{
	    vertical-align: middle;
	}
}

table td a.widelink {
    display:block;
    width:100%;
    height:100%;
}
table td.link {
   	cursor: pointer;
}


@media screen and ( min-width: 640px ){
	a:hover,
	a:active,
	a:focus{
	 opacity: 0.5;
	}
}
.collapsing {
  transition: none !important;
}


.footer-mobile {
    border-top: 1px solid rgba(115, 140, 152, 0.2);
    font-size:14px;
    bottom: 0;
    color: #818a91;
    padding: 10px;
    right: 0;
}
.femail-circle {
  font-size: 0.2em;
}
.femail-circle{
  width:0.8em;text-align:left;
}
.femail-mark{
  background-color:#ffc1ff
}

.btn-mini{
  font-size:12px;
  cursor:pointer;
  color: #0ca4ca !important;
}

dd{
  margin-bottom: 0.3rem; !important;
}

dl{
  margin-bottom: 0.5rem; !important;
}

.help-area {
    color: #155724;
    border-color: #a0522d;
}

div.prarea{
	background-color:yellow;
	border-style: solid;
	border-color: red;
	font-size:24px;
	margin:3px 0px;
}


.track_Turf{
	background-color: #dbffdb !important;
	color: black;
	display: inline-block;
	width: 1.2em;
	text-align: center;
}

.track_Dirt{
	background-color: Bisque !important;
	color: black;
	display: inline-block;
	width: 1.2em;
	text-align: center;
}
ul.tipster {
	padding: 0;
	position: relative;
}

.tipster {
	font-size: 0.9rem;
}

textarea.reason {
	width:100%;height:50%;
}
textarea:disabled {
	width:100%;height:50%;
	background-color:transparent;
	border-color : #915524;
	color:black;
}
ul.tipster {
	padding: 0;
	position: relative;
}

li.tipster {
	color: #black;
	border-left: solid 6px #3db9dc; /*左側の線*/
	border-bottom: solid 1px #3db9dc;
	margin-bottom: 3px; /*下のバーとの余白*/
	line-height: 1.5;
	padding: 0.5em;
	list-style-type: none !important; /*ポチ消す*/
}

.tipster {
	font-size: 0.9rem;
}

ol > li.bold{
	font-weight: bold;
}

li > ul{
	font-weight: normal;
}

.gakubuti{
    border: 10px solid;
    border-image: linear-gradient(to right bottom,#e0d9b6,#b4983a) 1 / 10px;
    /* レイアウトシフト防止のための画像枠確保 */
    width: 100%;
    height: auto;
    aspect-ratio: 600/315; /* Twitter Card標準比率 1.91:1 */
    object-fit: cover;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: block;
    position: relative;
}

/* 読み込み中のプレースホルダー */
.gakubuti:not(.lazyloaded):not(.ls-is-cached)::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 3px solid #dee2e6;
    border-top: 3px solid #6c757d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 読み込み中テキスト */
.gakubuti:not(.lazyloaded):not(.ls-is-cached)::after {
    content: 'ランキング画像読み込み中...';
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    color: #6c757d;
    font-size: 14px;
    text-align: center;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .gakubuti {
        /* スマホでは少し高さを抑える */
        aspect-ratio: 16/9;
    }

    /* スマホでは読み込み表示を小さく */
    .gakubuti:not(.lazyloaded):not(.ls-is-cached)::before {
        width: 40px;
        height: 40px;
    }

    .gakubuti:not(.lazyloaded):not(.ls-is-cached)::after {
        font-size: 12px;
        top: 65%;
    }
}
.gakubutiS{
    border: 5px solid;
    border-image: linear-gradient(to right bottom,#e0d9b6,#b4983a) 1 / 10px;
}




/*
右から左へ
----------------------------*/
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/*
IE11対策
----------------------------*/
_:-ms-lang(x)::-ms-backdrop,
.d-demo {
  display: -ms-grid;
  overflow: hidden;
}
/*----------------------------*/

.d-demo__wrap {
  display: flex;
  overflow: hidden;
}

.d-demo__list {
  display: flex;
  list-style: none;
}

.d-demo__list--left{
animation :infinity-scroll-left 95s infinite linear 0.5s both;
}

.d-demo__item {
  width: 200px;
  margin-right:10px
}
.d-demo__item > img{
   width: 100%;
}
/*
左から右へ
----------------------------*/
@keyframes infinity-scroll-right {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0%);
  }
}

.d-demo__list--right{
animation :infinity-scroll-right 95s infinite linear 0.5s both;
}

.demo__wrap:hover .d-demo__list--left{
  animation-play-state: paused;
}


ul.newsList {
	display: flex;
	flex-flow: row wrap;
	padding:3px 0px;
	font-size: 11.5px;
	margin:2px;
}

ul.topBorder {
	border-top: 1px dotted #a0522d;
}

ul.newsList li {
	display: block;
}

ul.newsList li:nth-child(2) {
	flex-basis: 100%;
}

/* ラベルのスタイルをカスタマイズ */
label {
    font-size: 16px; /* フォントサイズを大きく */
    font-weight: bold; /* 太字に */
    color: #333; /* 色を濃いめに設定 */
    margin-bottom: 5px; /* ラベルと入力フィールドの間にマージンを設定 */
    display: block; /* ラベルをブロック要素に */
}

/* 入力フィールドのスタイルを微調整 */
.form-control {
    margin-bottom: 3px; /* 入力フィールドの下にスペースを追加 */
}

/* ヘッダ検索欄placeholderの虫眼鏡アイコン */
#hsnm_entry::placeholder {
    font-family: "Font Awesome 6 Free", "Hiragino Sans", sans-serif;
    font-weight: 900;
}

/* 小さい説明テキストのスタイルを微調整 */
.form-text.text-muted {
    font-size: 14px; /* サイズを少し小さく */
}
.snsYoutube {
    color: red;
    display: inline-block;
    vertical-align: middle;
    line-height: 1; /* アイコンの行高さを詰める */
    font-size: 20px; /* 必要に応じてアイコンの大きさを指定 */
    width: 20px;     /* 必要なら明示的に幅を指定 */
    height: 20px;    /* 必要なら明示的に高さを指定 */
}




ol {
	margin-top: .10rem;
}

ul {
	margin-top: .10rem;
}

.fixed-bottom-banner {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
}

.retina-img {
    max-width: 320px;
    height: auto;
}

.close-button {
    position: absolute;
    top: -25px;
    left: 0;
    width: 24px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.close-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fixed-bottom-banner {
    animation: fadeIn 0.8s ease-in-out forwards;
}

@media (min-width: 992px) {
    .fixed-bottom-banner {
        display: none !important;
    }
}

/* 開いた時にコンテンツに合わせて高さを自動調整 */
#toggleNotice:checked ~ .notice-container {
  height: auto !important;
  max-height: 500px !important; /* 上限を設定 */
  min-height: 100px !important; /* 最低高さを確保 */
}

.toggle-bar {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 10px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 10px;
  z-index: 10;
}

.toggle-bar:hover {
  background: #e9ecef;
}

#toggleNotice:checked + .notice-container + .toggle-bar .arrow {
  display: none;
}

#toggleNotice:checked + .notice-container + .toggle-bar::after {
  content: "▲";
}


:root{
  --fixed-header-height: 45px;
}

.card-header{
  /* 上端に来たときナビバーと重ならないようにする */
  scroll-margin-top: calc(var(--fixed-header-height) + 8px);
}



/* 馬名の強調：主役としての存在感と可読性を両立 */
.horse-name {
    font-weight: 700;                           /* 視覚的に太く */
    color: #6b2b00;                             /* 濃い栗色：背景が白でも黒でも 4.5:1 以上 */
    background: linear-gradient(to bottom,      /* マーカーペンのような強調 */
        transparent 90%,
        #ff6b6b 90% 100%);                      /* 赤色の下線 */
    padding: 0 2px;
    text-decoration: none;                      /* 下線を外し、背景強調と競合を避ける */
}

/* 馬主名の強調：馬名と同様のマーカーペン風デザイン（紫色版） */
.po-name {
    font-weight: 700;                           /* 視覚的に太く */
    color: #5e0f9c;                             /* ダークパープル：高コントラスト */
    background: linear-gradient(to bottom,      /* マーカーペンのような強調 */
        transparent 90%,
        #d090ff 90% 100%);                      /* 薄い紫色で下部に線を引く */
    padding: 0 2px;
    text-decoration: none;                      /* 下線を外し、背景強調と競合を避ける */
}

/* 馬主以外の人名の強調：馬名と同様のマーカーペン風デザイン（オレンジ色版） */
.person-name {
    font-weight: 700;                           /* 視覚的に太く */
    color: #8b4513;                             /* ダークブラウン：高コントラスト */
    background: linear-gradient(to bottom,      /* マーカーペンのような強調 */
        transparent 90%,
        #0080FF 90% 100%);                      /* 青色で下部に線を引く */
    padding: 0 2px;
    text-decoration: none;                      /* 下線を外し、背景強調と競合を避ける */
}

/* レース名の強調：馬名と同様のマーカーペン風デザイン（緑色版） */
.race-name {
    font-weight: 700;                           /* 視覚的に太く */
    color: #0e452a;                             /* ブリティッシュグリーン：高コントラスト */
    background: linear-gradient(to bottom,      /* マーカーペンのような強調 */
        transparent 90%,
        springgreen 90% 100%);                  /* springgreenで下部に線を引く */
    padding: 0 2px;
    text-decoration: none;                      /* 下線を外し、背景強調と競合を避ける */
    border: none;                               /* ボーダーを削除 */
    border-radius: 0;                           /* 角丸を削除 */
    display: inline;                            /* インライン表示 */
    text-indent: 0;                             /* 親要素のtext-indentを無効化 */
}

/* DataTables カスタマイズ */

/* テーブルヘッダーの背景色を強制的に維持 */
.thead-dark th,
table.dataTable.thead-dark thead th,
table.dataTable thead.thead-dark th,
.table .thead-dark th {
    background-color: #343a40 !important;
    color: white !important;
    border-color: #454d55 !important;
}

.thead-light th,
table.dataTable.thead-light thead th,
table.dataTable thead.thead-light th,
.table .thead-light th {
    background-color: #f8f9fa !important;
    color: #495057 !important;
    border-color: #dee2e6 !important;
}

/* table-striped のヘッダー色を維持 */
.table-striped > thead > tr > th {
    background-color: #f5deb3 !important;
    color: black !important;
}

/* DataTables のソートアイコン（▲▼）を完全に削除 */
/* ::before と ::after 両方を削除 */
table.dataTable thead th::before,
table.dataTable thead th::after,
table.dataTable thead td::before,
table.dataTable thead td::after {
    content: none !important;
    display: none !important;
}

/* DataTables 1.x のソートクラス */
table.dataTable thead .sorting::before,
table.dataTable thead .sorting::after,
table.dataTable thead .sorting_asc::before,
table.dataTable thead .sorting_asc::after,
table.dataTable thead .sorting_desc::before,
table.dataTable thead .sorting_desc::after,
table.dataTable thead .sorting_asc_disabled::before,
table.dataTable thead .sorting_asc_disabled::after,
table.dataTable thead .sorting_desc_disabled::before,
table.dataTable thead .sorting_desc_disabled::after {
    content: none !important;
    display: none !important;
}

/* DataTables 2.x のソートクラス */
table.dataTable thead .dt-orderable-asc::before,
table.dataTable thead .dt-orderable-asc::after,
table.dataTable thead .dt-orderable-desc::before,
table.dataTable thead .dt-orderable-desc::after,
table.dataTable thead .dt-ordering-asc::before,
table.dataTable thead .dt-ordering-asc::after,
table.dataTable thead .dt-ordering-desc::before,
table.dataTable thead .dt-ordering-desc::after,
table.dataTable thead .dt-column-order::before,
table.dataTable thead .dt-column-order::after {
    content: none !important;
    display: none !important;
}

/* ソートアイコン用のパディングも削除 */
table.dataTable thead th,
table.dataTable thead td {
    padding-right: 10px !important;
}

/* ソート可能なヘッダーでもアイコン表示を防ぐ */
.dataTable thead th.sorting:before,
.dataTable thead th.sorting:after {
    content: none !important;
    display: none !important;
}

/* =====================
	路線スケジュールボタン
======================= */
.btn-age-2, .btn-age-3, .btn-age-old {
    background-color: #fff !important;
    border-color: #000 !important;
    color: #333 !important;
}

.btn-age-2:hover, .btn-age-3:hover, .btn-age-old:hover {
    background-color: #f8f9fa !important;
    border-color: #000 !important;
    color: #333 !important;
}

/* =====================
	タブレット・スマホ表示でのヘッダー右寄せ修正
======================= */
@media (max-width: 991.98px) {
    .headerbar .row {
        justify-content: space-between !important;
    }

    .headerbar .row > div:last-child {
        margin-left: auto !important;
        order: 99 !important;
        display: flex !important;
        justify-content: flex-end !important;
    }

    .headerbar .navbar-custom {
        margin-left: 0 !important;
        margin-right: 15px !important;
    }

    .headerbar .navbar-custom .list-inline {
        justify-content: flex-end !important;
    }

    /* ドロップダウンメニューをアイコンの下に自然に配置し、ヘッダーを隠さないように */
    .headerbar .dropdown-menu {
        left: auto !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        margin-top: 1px !important;
        padding-top: 0 !important;
        border-top: none !important;
        top: 100% !important;
        position: absolute !important;
        margin-bottom: 0 !important;
        border-radius: 0 0 4px 4px !important;
    }
}

/* =====================
   JRA公式LIVEアイコン（ヘッダー用）
======================= */
.jra-live-icon {
    transition: opacity 0.3s;
}

.jra-live-icon.live-blinking {
    animation: live-icon-blink 1s ease-in-out infinite;
}

@keyframes live-icon-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* 浮遊LIVEバッジの点滅（スマホ用） */
.live-badge-blinking {
    animation: live-badge-blink 1s ease-in-out infinite;
}

@keyframes live-badge-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
/* =====================
	サジェスト種別色分け
======================= */
.suggest-horse {
    /* 馬は標準色 */
}

.suggest-jockey {
    color: #dc3545;
}

.suggest-race {
    color: #198754;
}

/* サジェストリスト内のバッジ */
.easy-autocomplete-container .badge {
    font-size: 0.7em;
    padding: 0.2em 0.4em;
}

/* =====================
	ページhero（DLページ・pogRanking等で使用）
======================= */
.site-hero {
	position: relative;
	width: 100%;
	border-radius: .5rem;
	overflow: hidden;
	margin-bottom: 1rem;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}
.site-hero__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 380px;
	object-fit: cover;
	object-position: center;
}
.site-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg,
			rgba(0, 0, 0, .6) 0%,
			rgba(0, 0, 0, .28) 45%,
			rgba(0, 0, 0, 0) 75%);
	display: flex;
	align-items: center;
	padding: 1.5rem 1.75rem;
}
.site-hero__inner {
	color: #fff;
	max-width: 56%;
	text-shadow: 0 2px 6px rgba(0, 0, 0, .55);
}
.site-hero__badge {
	display: inline-block;
	background: #ffc107;
	color: #212529;
	font-weight: 700;
	font-size: .85rem;
	padding: .15rem .6rem;
	border-radius: .25rem;
	letter-spacing: .04em;
	margin-bottom: .6rem;
	text-shadow: none;
}
.site-hero__title {
	font-size: clamp(1.15rem, 2.4vw, 1.85rem);
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 .35rem;
}
.site-hero__sub {
	font-size: clamp(.78rem, 1.4vw, .95rem);
	margin: 0 0 1rem;
	opacity: .92;
}
.site-hero__sub:last-child {
	margin-bottom: 0;
}
.site-hero__sub strong {
	color: #ffd54f;
	font-size: 1.1em;
}
.site-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: #17a2b8;
	color: #fff;
	font-weight: 700;
	padding: .65rem 1.4rem;
	border-radius: .35rem;
	border: 0;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
	transition: background .15s, transform .15s;
}
.site-hero__cta:hover,
.site-hero__cta:focus {
	background: #138496;
	color: #fff;
	transform: translateY(-1px);
	text-decoration: none;
}
@media (max-width: 575.98px) {
	.site-hero__inner { max-width: 70%; }
	.site-hero__overlay { padding: 1rem 1.1rem; }
	.site-hero__img { max-height: 220px; }
}

/* =====================================================================
   tipster page redesign (2026-05-04)
   - Premium landing for /pogs/tipster/
   - Scoped under .tp-page so it never leaks to other screens
   ===================================================================== */
.tp-page {
	--tp-primary: #8B4513;
	--tp-primary-dark: #6B340D;
	--tp-primary-soft: #F4E6D6;
	--tp-accent: #1E6B3C;
	--tp-accent-soft: #E6F2EA;
	--tp-warn: #C62828;
	--tp-bg-cream: #FFF8F1;
	--tp-bg-soft: #FAF3EA;
	--tp-text: #2A1F18;
	--tp-muted: #6E5B4F;
	--tp-border: #EADBC4;
	--tp-shadow-sm: 0 1px 3px rgba(40, 25, 10, .06);
	--tp-shadow-md: 0 6px 20px rgba(40, 25, 10, .09);
	--tp-shadow-lg: 0 18px 48px rgba(40, 25, 10, .16);
	font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "Meiryo", system-ui, -apple-system, sans-serif;
	color: var(--tp-text);
	line-height: 1.85;
	letter-spacing: .01em;
}
.tp-page * { box-sizing: border-box; }
.tp-page strong { font-weight: 800; color: var(--tp-primary-dark); }

/* ---------- HERO ---------- */
.tp-hero {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	padding: clamp(2.6rem, 6vw, 4.6rem) clamp(1.2rem, 4vw, 3rem);
	background:
		radial-gradient(ellipse at 80% 10%, rgba(255, 220, 180, .55), transparent 55%),
		radial-gradient(ellipse at 10% 90%, rgba(139, 69, 19, .18), transparent 60%),
		linear-gradient(135deg, #FFF8EE 0%, #F4E0C0 55%, #E8C58F 100%);
	box-shadow: var(--tp-shadow-md);
	margin-bottom: 2.4rem;
}
.tp-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 1px 1px, rgba(139, 69, 19, .08) 1px, transparent 0);
	background-size: 22px 22px;
	pointer-events: none;
	opacity: .55;
}
.tp-hero::after {
	content: "";
	position: absolute;
	right: -120px;
	top: -80px;
	width: 380px;
	height: 380px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(139, 69, 19, .14), transparent 70%);
	pointer-events: none;
}
.tp-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}
.tp-hero-eyebrow {
	display: inline-block;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .35em;
	color: var(--tp-primary-dark);
	background: rgba(255, 255, 255, .65);
	padding: .35em 1.1em .35em 1.45em;
	border-radius: 999px;
	border: 1px solid rgba(139, 69, 19, .25);
	margin: 0 0 1.4rem;
	text-transform: uppercase;
}
.tp-hero-title {
	font-size: clamp(2.1rem, 5.6vw, 3.6rem);
	font-weight: 900;
	letter-spacing: .02em;
	line-height: 1.25;
	color: var(--tp-primary-dark);
	margin: 0 0 .6rem;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .4);
}
.tp-hero-title .tp-accent {
	background: linear-gradient(135deg, #C8631F 0%, #8B4513 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.tp-hero-sub {
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .42em;
	color: var(--tp-primary);
	margin: 0 0 1.6rem;
	text-transform: uppercase;
}
.tp-hero-lead {
	font-size: clamp(.95rem, 1.8vw, 1.08rem);
	color: var(--tp-text);
	line-height: 1.9;
	max-width: 580px;
	margin: 0 auto 2rem;
}
.tp-hero-cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .9rem;
	margin-bottom: 1.2rem;
}
.tp-hero-meta {
	font-size: .82rem;
	color: var(--tp-muted);
	margin: 0;
}
.tp-hero-meta i { color: var(--tp-accent); margin-right: .25em; }
.tp-hero-meta span + span { margin-left: 1.1em; position: relative; }
.tp-hero-meta span + span::before {
	content: "•";
	color: rgba(110, 91, 79, .4);
	margin-right: 1.1em;
}

/* ---------- BUTTONS ---------- */
.tp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	font-weight: 700;
	font-size: 1rem;
	padding: .85em 1.8em;
	border-radius: 999px;
	border: 2px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
	min-height: 48px;
	letter-spacing: .02em;
	white-space: nowrap;
}
.tp-btn:hover, .tp-btn:focus { text-decoration: none; transform: translateY(-2px); }
.tp-btn:active { transform: translateY(0); }
.tp-btn-primary {
	background: linear-gradient(135deg, #A0522D 0%, #6B340D 100%);
	color: #fff !important;
	box-shadow: 0 8px 22px rgba(139, 69, 19, .35);
}
.tp-btn-primary:hover, .tp-btn-primary:focus {
	background: linear-gradient(135deg, #B25E36 0%, #7C3E12 100%);
	color: #fff !important;
	box-shadow: 0 12px 30px rgba(139, 69, 19, .45);
}
.tp-btn-ghost {
	background: rgba(255, 255, 255, .8);
	color: var(--tp-primary-dark) !important;
	border-color: var(--tp-primary);
	box-shadow: var(--tp-shadow-sm);
}
.tp-btn-ghost:hover, .tp-btn-ghost:focus {
	background: var(--tp-primary);
	color: #fff !important;
	border-color: var(--tp-primary);
	box-shadow: 0 8px 22px rgba(139, 69, 19, .25);
}
.tp-btn-lg { font-size: 1.08rem; padding: 1em 2.2em; min-height: 56px; }
.tp-btn-text {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	background: transparent;
	border: 0;
	padding: .5em .9em;
	color: var(--tp-primary-dark);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
	transition: color .2s, text-decoration-color .2s;
}
.tp-btn-text:hover, .tp-btn-text:focus { color: #C8631F; }

/* ---------- SECTION TITLE ---------- */
.tp-section { margin: 3rem 0; }
.tp-section-title {
	font-size: clamp(1.35rem, 2.6vw, 1.7rem);
	font-weight: 800;
	letter-spacing: .03em;
	color: var(--tp-primary-dark);
	margin: 0 0 1.6rem;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .7em;
}
.tp-section-title::before,
.tp-section-title::after {
	content: "";
	flex: 0 0 38px;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--tp-primary) 50%, transparent);
}
.tp-section-eyebrow {
	display: block;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .42em;
	color: var(--tp-primary);
	text-align: center;
	margin: 0 0 .55rem;
	text-transform: uppercase;
}

/* ---------- SPOTLIGHT (signature feature) ---------- */
.tp-spotlight {
	background: linear-gradient(135deg, #FFF8EE 0%, #FAF3EA 100%);
	border: 1px solid var(--tp-border);
	border-radius: 18px;
	padding: clamp(2rem, 4vw, 3rem) clamp(1.4rem, 3vw, 2.6rem);
	margin: 0 0 3rem;
	box-shadow: var(--tp-shadow-sm);
	position: relative;
	overflow: hidden;
}
.tp-spotlight::before {
	content: "";
	position: absolute;
	top: -60px;
	right: -60px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(139, 69, 19, .08), transparent 70%);
	pointer-events: none;
}
.tp-spotlight-eyebrow {
	display: block;
	text-align: center;
	font-size: .72rem;
	letter-spacing: .42em;
	font-weight: 700;
	color: var(--tp-primary);
	margin: 0 0 .8rem;
	text-transform: uppercase;
	position: relative;
	z-index: 1;
}
.tp-spotlight-title {
	font-size: clamp(1.4rem, 3.2vw, 2rem);
	font-weight: 900;
	color: var(--tp-primary-dark);
	text-align: center;
	margin: 0 0 1.1rem;
	letter-spacing: .03em;
	line-height: 1.4;
	position: relative;
	z-index: 1;
}
.tp-spotlight-title .tp-spotlight-mark {
	background: linear-gradient(135deg, #C8631F 0%, #8B4513 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.tp-spotlight-lead {
	text-align: center;
	color: var(--tp-text);
	font-size: 1rem;
	line-height: 1.85;
	max-width: 640px;
	margin: 0 auto 2rem;
	position: relative;
	z-index: 1;
}
.tp-spotlight-flow {
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1fr;
	gap: .9rem;
	align-items: stretch;
	max-width: 980px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}
.tp-spotlight-cell {
	background: #fff;
	border: 1px solid var(--tp-border);
	border-radius: 14px;
	padding: 1.4rem 1rem 1.2rem;
	text-align: center;
	box-shadow: var(--tp-shadow-sm);
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: transform .25s, box-shadow .25s;
}
.tp-spotlight-cell:hover { transform: translateY(-3px); box-shadow: var(--tp-shadow-md); }
.tp-spotlight-cell.is-you { border-top: 4px solid var(--tp-primary); }
.tp-spotlight-cell.is-us {
	border-top: 4px solid var(--tp-accent);
	background: linear-gradient(180deg, var(--tp-accent-soft) 0%, #fff 100%);
}
.tp-spotlight-cell-role {
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .3em;
	color: var(--tp-muted);
	margin: 0 0 .55rem;
	text-transform: uppercase;
}
.tp-spotlight-cell.is-us .tp-spotlight-cell-role { color: var(--tp-accent); }
.tp-spotlight-cell-icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--tp-primary-soft);
	color: var(--tp-primary-dark) !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	margin: 0 0 .65rem;
}
.tp-spotlight-cell.is-us .tp-spotlight-cell-icon {
	background: var(--tp-accent);
	color: #fff !important;
	box-shadow: 0 4px 14px rgba(30, 107, 60, .25);
}
.tp-spotlight-cell-icon i { color: inherit !important; }
.tp-spotlight-cell-title {
	font-size: 1rem;
	font-weight: 800;
	color: var(--tp-primary-dark);
	margin: 0 0 .35rem;
	letter-spacing: .01em;
}
.tp-spotlight-cell.is-us .tp-spotlight-cell-title { color: var(--tp-accent); }
.tp-spotlight-cell-desc {
	font-size: .85rem;
	color: var(--tp-muted);
	line-height: 1.6;
	margin: 0;
}
.tp-spotlight-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	color: var(--tp-primary);
	font-weight: 900;
}
.tp-spotlight-helper {
	text-align: center;
	margin: 1.6rem 0 0;
	font-size: .92rem;
	position: relative;
	z-index: 1;
}
.tp-spotlight-helper a {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	color: var(--tp-primary-dark);
	text-decoration: underline;
	text-underline-offset: 4px;
	font-weight: 700;
	transition: color .2s, text-decoration-color .2s;
}
.tp-spotlight-helper a:hover { color: #C8631F; }
.tp-spotlight-helper i { transition: transform .2s; }
.tp-spotlight-helper a:hover i { transform: translateX(3px); }

/* ---------- FEATURES (cards) ---------- */
.tp-features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.3rem;
	margin: 0 auto;
}
.tp-features-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
.tp-feature-card {
	background: #fff;
	border: 1px solid var(--tp-border);
	border-radius: 16px;
	padding: 1.8rem 1.5rem;
	box-shadow: var(--tp-shadow-sm);
	transition: transform .25s, box-shadow .25s, border-color .25s;
	text-align: center;
}
.tp-feature-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--tp-shadow-md);
	border-color: var(--tp-primary);
}
.tp-feature-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
	font-size: 1.6rem;
	color: #fff;
	background: linear-gradient(135deg, #A0522D, #6B340D);
	box-shadow: 0 6px 14px rgba(139, 69, 19, .3);
}
.tp-feature-card:nth-child(2) .tp-feature-icon { background: linear-gradient(135deg, #1E6B3C, #115028); box-shadow: 0 6px 14px rgba(30, 107, 60, .3); }
.tp-feature-card:nth-child(3) .tp-feature-icon { background: linear-gradient(135deg, #C8631F, #8B4513); box-shadow: 0 6px 14px rgba(200, 99, 31, .3); }
.tp-feature-card:nth-child(4) .tp-feature-icon { background: linear-gradient(135deg, #2E8B57, #1E6B3C); box-shadow: 0 6px 14px rgba(46, 139, 87, .3); }
.tp-feature-card .tp-feature-icon i { color: inherit !important; }
.tp-feature-title {
	font-size: 1.15rem;
	font-weight: 800;
	margin: 0 0 .55rem;
	color: var(--tp-primary-dark);
	letter-spacing: .02em;
}
.tp-feature-card p {
	font-size: .92rem;
	color: var(--tp-muted);
	line-height: 1.8;
	margin: 0;
}

/* ---------- TARGET grid (6 items / 3x2) ---------- */
.tp-target-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .9rem;
}
.tp-target-grid li {
	background: #fff;
	border: 1px solid var(--tp-border);
	border-left: 4px solid var(--tp-primary);
	border-radius: 12px;
	padding: 1rem 1.1rem;
	display: flex;
	align-items: center;
	gap: .8rem;
	font-size: .94rem;
	font-weight: 600;
	color: var(--tp-text);
	box-shadow: var(--tp-shadow-sm);
	transition: transform .2s, box-shadow .2s, border-left-color .2s;
}
.tp-target-grid li:hover {
	transform: translateY(-2px);
	box-shadow: var(--tp-shadow-md);
	border-left-color: #C8631F;
}
.tp-target-grid li i {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--tp-primary-soft);
	color: var(--tp-primary-dark) !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
}

/* ---------- FINAL CTA ---------- */
.tp-cta-final {
	background: linear-gradient(135deg, #FFF8EE 0%, #F4E0C0 100%);
	border: 1px solid var(--tp-border);
	border-radius: 18px;
	padding: clamp(2rem, 4vw, 3rem) clamp(1.2rem, 3vw, 2.6rem);
	text-align: center;
	box-shadow: var(--tp-shadow-md);
	margin: 3rem 0;
}
.tp-cta-final h2 {
	font-size: clamp(1.4rem, 3vw, 1.8rem);
	font-weight: 900;
	color: var(--tp-primary-dark);
	margin: 0 0 .8rem;
	letter-spacing: .02em;
}
.tp-cta-final p {
	color: var(--tp-text);
	font-size: 1rem;
	margin: 0 0 1.6rem;
}
.tp-cta-final .tp-cta-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .9rem;
	margin-bottom: .8rem;
}
.tp-cta-final .tp-helper {
	font-size: .82rem;
	color: var(--tp-muted);
	margin: 0;
}

/* ---------- HELP LINK ---------- */
.tp-help-link {
	background: var(--tp-bg-cream);
	border: 1px dashed var(--tp-border);
	border-radius: 14px;
	padding: 1.6rem 1.4rem;
	text-align: center;
	margin: 2.5rem 0;
}
.tp-help-link-text {
	font-size: .95rem;
	color: var(--tp-muted);
	margin: 0 0 1rem;
}
.tp-help-link .tp-btn { gap: .6em; }
.tp-help-link .tp-btn .fa-arrow-right { margin-left: .2em; }

/* ---------- GUIDE EMBED override (legacy, kept for other pages) ---------- */
.tp-page .help-embed-area { margin: 2.5rem 0; }
.tp-page details.help-embed {
	background: #fff;
	border: 1px solid var(--tp-border);
	border-radius: 14px;
	box-shadow: var(--tp-shadow-sm);
	overflow: hidden;
}
.tp-page details.help-embed > summary {
	background: var(--tp-bg-soft);
	color: var(--tp-primary-dark);
	font-weight: 700;
	padding: 1rem 1.4rem;
	cursor: pointer;
	border-bottom: 1px solid var(--tp-border);
}
.tp-page details.help-embed > summary:hover { background: #F4E6D6; }
.tp-page details.help-embed[open] > summary { border-bottom: 1px solid var(--tp-border); }
.tp-page .help-embed-body { padding: 1.4rem; }

/* ---------- RATIONALE ---------- */
.tp-rationale {
	margin: 3rem auto 0;
	max-width: 760px;
}
.tp-rationale blockquote {
	background: #fff;
	border: 1px solid var(--tp-border);
	border-left: 5px solid var(--tp-primary);
	border-radius: 12px;
	padding: 1.6rem 1.8rem;
	margin: 0;
	box-shadow: var(--tp-shadow-sm);
	color: var(--tp-text);
}
.tp-rationale blockquote h3 {
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--tp-primary-dark);
	margin: 0 0 .8rem;
	letter-spacing: .03em;
}
.tp-rationale blockquote p { font-size: .92rem; color: var(--tp-text); line-height: 1.85; margin: 0 0 .7em; }
.tp-rationale ul {
	margin: .6rem 0 1rem;
	padding-left: 1.3em;
	font-size: .9rem;
	color: var(--tp-muted);
	line-height: 1.85;
}
.tp-rationale ul li { margin-bottom: .25em; }
.tp-rationale footer {
	text-align: right;
	font-size: .85rem;
	color: var(--tp-muted);
	margin-top: .5rem;
	font-style: italic;
}

/* ---------- RESPONSIVE: tablet ---------- */
@media (max-width: 991.98px) {
	.tp-features { grid-template-columns: 1fr 1fr; }
	.tp-features:not(.tp-features-4) .tp-feature-card:nth-child(3) { grid-column: 1 / -1; }
	.tp-target-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tp-spotlight-flow { grid-template-columns: 1fr; gap: .6rem; }
	.tp-spotlight-arrow { transform: rotate(90deg); margin: 0 auto; }
}

/* ---------- RESPONSIVE: mobile ---------- */
@media (max-width: 575.98px) {
	.tp-hero { border-radius: 14px; padding: 2.2rem 1.1rem; }
	.tp-hero-eyebrow { font-size: .68rem; letter-spacing: .25em; padding: .3em .9em; margin-bottom: 1rem; }
	.tp-hero-title { font-size: 2rem; line-height: 1.2; }
	.tp-hero-sub { font-size: .7rem; letter-spacing: .3em; margin-bottom: 1.1rem; }
	.tp-hero-lead { font-size: .92rem; }
	.tp-hero-cta { flex-direction: column; align-items: stretch; gap: .65rem; }
	.tp-hero-cta .tp-btn { width: 100%; }
	.tp-features { grid-template-columns: 1fr; }
	.tp-features .tp-feature-card:nth-child(3) { grid-column: auto; }
	.tp-target-grid { grid-template-columns: 1fr; }
	.tp-section-title { font-size: 1.2rem; }
	.tp-section-title::before, .tp-section-title::after { flex: 0 0 18px; }
	.tp-cta-final h2 { font-size: 1.25rem; }
	.tp-cta-final .tp-cta-buttons { flex-direction: column; align-items: stretch; }
	.tp-cta-final .tp-cta-buttons .tp-btn { width: 100%; }
	.tp-rationale blockquote { padding: 1.2rem 1.1rem; }
}

/* =====================================================================
   TOP page: POG情報収集機能インフォグラフィック (2026-05-04)
   ===================================================================== */
.ic-graphic {
	max-width: 460px;
	margin: 0;
	font-family: "Hiragino Sans", "Meiryo", system-ui, sans-serif;
}
@media (max-width: 991.98px) {
	.ic-graphic { margin: 0 auto; }
}
.ic-graphic * { box-sizing: border-box; }

/* 情報源 4アイコン */
.ic-sources {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: .55rem;
	background: #FFF8F1;
	border: 1px solid #EADBC4;
	border-radius: 14px;
	padding: 1rem .8rem;
	box-shadow: 0 1px 3px rgba(40, 25, 10, .06);
}
.ic-source {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .35rem;
	padding: .4rem .2rem;
	background: #fff;
	border: 1px solid #F1E2CC;
	border-radius: 10px;
	transition: transform .2s, box-shadow .2s;
}
.ic-source:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(40, 25, 10, .08); }
.ic-source i {
	font-size: 1.35rem;
	color: #8B4513 !important;
	line-height: 1;
}
.ic-source span {
	font-size: .72rem;
	font-weight: 700;
	color: #2A1F18;
	letter-spacing: .02em;
	white-space: nowrap;
}

/* 矢印 */
.ic-arrow {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: .6rem 0;
	color: #8B4513;
	font-size: 1.4rem;
	line-height: 1;
}

/* エンジン（中央） */
.ic-engine {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .6rem;
	background: linear-gradient(135deg, #A0522D 0%, #6B340D 100%);
	color: #fff;
	border-radius: 999px;
	padding: .9rem 1.2rem;
	font-weight: 800;
	font-size: .92rem;
	letter-spacing: .03em;
	box-shadow: 0 8px 22px rgba(139, 69, 19, .3);
}
.ic-engine i { font-size: 1.15rem; color: #fff !important; }

/* 出力カード3枚 */
.ic-outputs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .7rem;
}
.ic-output {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	text-align: center;
	background: #fff;
	border: 1px solid #EADBC4;
	border-radius: 12px;
	padding: .55rem .55rem .8rem;
	color: #2A1F18 !important;
	text-decoration: none !important;
	transition: transform .2s, box-shadow .2s, border-color .2s;
	overflow: hidden;
}
.ic-output:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 18px rgba(40, 25, 10, .12);
	border-color: #8B4513;
}
.ic-output-thumb {
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 8px;
	background: #FAF3EA;
	border: 1px solid #F1E2CC;
	margin-bottom: .55rem;
}
.ic-output-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
	transition: transform .35s ease;
}
.ic-output:hover .ic-output-thumb img { transform: scale(1.04); }
.ic-output-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .2rem;
	padding: 0 .15rem;
}
.ic-output-body > i {
	font-size: 1.25rem;
	color: #8B4513 !important;
	margin-bottom: .1rem;
}
.ic-output-title {
	font-size: .9rem;
	font-weight: 800;
	color: #6B340D;
	letter-spacing: .02em;
	line-height: 1.3;
}
.ic-output-desc {
	font-size: .7rem;
	color: #6E5B4F;
	line-height: 1.45;
}
/* 週刊POG-INFO（画像のみ・枠なし） */
.ic-output.is-featured {
	grid-column: 1 / -1;
	background: transparent;
	border: 0;
	padding: 0;
	box-shadow: none;
	border-radius: 12px;
	overflow: visible;
}
.ic-output.is-featured:hover { box-shadow: none; border-color: transparent; }
.ic-output.is-featured > img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
	border: 1px solid #EADBC4;
	box-shadow: 0 4px 14px rgba(40, 25, 10, .08);
	transition: box-shadow .25s, transform .25s;
}
.ic-output.is-featured:hover > img {
	box-shadow: 0 10px 28px rgba(40, 25, 10, .18);
	transform: scale(1.015);
}
.ic-output-badge {
	position: absolute;
	top: -8px;
	right: -6px;
	background: #C8631F;
	color: #fff;
	font-size: .72rem;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

/* レスポンシブ */
@media (max-width: 575.98px) {
	.ic-graphic { max-width: 100%; }
	.ic-sources { grid-template-columns: repeat(2, 1fr); }
	.ic-source span { font-size: .78rem; }
	.ic-engine { font-size: .85rem; padding: .75rem 1rem; }
	.ic-output { padding: .5rem .45rem .7rem; }
	.ic-output-title { font-size: .88rem; }
	.ic-output-desc { font-size: .68rem; }
}
