@charset "utf-8";
/*===============================================================//
// ユーザページ                                                  //
// 概要：ユーザページの基本スタイル                              //
// 作成者：k.moriguchi                                           //
// 作成日：2010/10/13                                            //
// 更新履歴：                                                    //
//===============================================================*/


/* --------------------------------

登録馬検索

-------------------------------　*/
.search_horse {
  height: 2250px;
  margin-top:40px;
  margin-left: 50px;
  margin-right: auto;
  position: relative;
  text-align: center;
  top: 2px;
  width: 970px;
  font-size:8px;
  overflow: scroll;
}

.search_horse dd span{
  line-height:130%;
  margin:0;
  padding:0;
  font-size:10px;
}

.search_horse dd span b{
  margin:0 -30px 0 -10px;
  padding:0;
}

.search_horse dd span strong{
  margin:0;
  padding:0;
}

.search_horse dt a:link,.search_horse dt a:visited,.search_horse dt a:hover,.search_horse dt a:active{
  color:#FFFFFF;
  font-size:10px;
  line-height:250%;
}

.search_horse dt strong{
  color:#FFFFFF;
  font-size:10px;
  line-height:250%;
}

.search_horse dl, .search_horse dt, .search_horse dd {
  color: #000000;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

.search_horse a:link {
  color: #000;
}

.search_horse a, .search_horse0 a {


}

.search_horse a {
  text-decoration:under-line;
}

.search_horse dl span{
  padding-left:10px;
}

.search_horse-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(16rem, 1fr));
  grid-template-rows: repeat(4, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  grid-gap:2px;
  border: 2px solid var(--border-color-secondary);
  overflow-x: scroll;
}

.search_horse-grid + hr {
  border: 2px dashed var(--border-color-accent);
  margin-block: 2.5rem;
}

.search_horse-grid__item1 { grid-area: 1 / 1 / 5 / 2; }
.search_horse-grid__item2 { grid-area: 1 / 2 / 3 / 3; }
.search_horse-grid__item3 { grid-area: 3 / 2 / 5 / 3; }
.search_horse-grid__item4 { grid-area: 1 / 3 / 2 / 4; }
.search_horse-grid__item5 { grid-area: 2 / 3 / 3 / 4; }
.search_horse-grid__item6 { grid-area: 3 / 3 / 4 / 4; }
.search_horse-grid__item7 { grid-area: 4 / 3 / 5 / 4; }

div[class^="search_horse-grid__item"] {
  box-shadow:0 0 0 2px var(--border-color-secondary);
  padding: 1.5rem;
  word-wrap: break-word;
  word-break: break-all;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

div[class^="search_horse-grid__item"] .phname {
  font-size: large;
  display: inline-block;
  margin-bottom: 1rem;
}


div[class^="search_horse-grid__item"] .phname-parent {
  font-size: 1rem;
}

div[class^="search_horse-grid__item"].ho_number_01 {
  background-color:  var(--horse-color-male);
}

div[class^="search_horse-grid__item"].ho_number_02 {
  background-color:  var(--horse-color-female);
}


/* --------------------------------

登録馬詳細

-------------------------------　*/

.search_horse_detail {
  height: 100%;
  margin: 1rem auto 0 0;
  position: relative;
  text-align: center;
  top: 2px;
  /* width: 970px; */
  /* font-size:12px; */
  font-size: 1.125rem;
  overflow: scroll;
  width: calc(100vw - 1rem);
  max-height: 75vh;
  min-height: 100px;
}

.search_horse_detail table#table-01{
  /* width: 970px; */
  width: 100%;
  min-width: 970px;
  /* border: 1px #CCC solid; */
  border-collapse:separate;
  border-spacing: 0;
  font-size: 1.125rem;
}

.search_horse_detail table#table-01 caption{
  text-align:center;
  font-size:14px;
  font-weight:bold;
  color:#F06;
  padding:10px 0;
}

.search_horse_detail table#table-01 th{
  padding: 5px;
  border: var(--border-color-primary) solid;
  border-width: 0 0 1px 1px;
  background: var(--bg-color-primary);
  line-height: 120%;
  text-align: center;

}

.search_horse_detail table#table-01 th{
  text-align: center;
  background-color: var(--bg-color-primary);
  /* background-color: transparent; */
  /* background-image: url(../../../images/site/th_bg.gif); */
  /* background-repeat: repeat-x; */
  /* background-attachment: scroll; */
  /* background-position: 0% 0%; */
}


.search_horse_detail table#table-01 th.sticky {
  position: sticky;
  position: -webkit-sticky;
  top: -1px;
  left: 0;
  z-index: 1;
  padding: 1rem;
  white-space: nowrap;
}

.search_horse_detail table#table-01 th.sticky:before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.search_horse_detail table#table-01 td{
  /* padding: 5px; */
  padding: 1rem;
  border: 1px var(--border-color-secondary) dashed;
  border-width: 0 0 1px 0;
  text-align: left;
  /* word-break: break-all; */
  white-space: nowrap;
  /* line-height:160%; */
  line-height:1.75;
}

.search_horse_detail table#table-01 td.center{
  text-align: center;
}

/*****　オス　*****/

.search_horse_detail table#table-01 tr.child_01{
  background-color:var(--horse-color-male);
  border-width: 0 0 1px 0;

}

/*****　メス　*****/

.search_horse_detail table#table-01 tr.child_02{
  background-color:var(--horse-color-female);
  border-width: 0 0 1px 0;

}

/*****　1代目　*****/

.search_horse_detail span.child_01_0 {
  /* font-size: 14px; */
  font-size: 1.125rem;
  line-height: 1.4;
}

.search_horse_detail span.child_01_1 {
  background-image: url(../../../images/site/arrow_03.png);
  background-position: 0 0.2em;
  background-repeat: no-repeat;
  /* font-size: 14px; */
  font-size: 1.125rem;
  line-height: 1.4;
  margin-bottom: 0;
  padding-bottom: 0.2em;
  padding-left: 19px;
  padding-top: 0.1em;
}


.search_horse_detail span.child_01_2 {
  background-image: url(../../../images/site/arrow_04.png);
  background-position: 0 0.2em;
  background-repeat: no-repeat;
  /* font-size: 14px; */
  font-size: 1.125rem;
  line-height: 1.4;
  margin-bottom: 0;
  padding-bottom: 0.2em;
  padding-left: 19px;
  padding-top: 0.1em;
}

/*****　2代目　*****/

.search_horse_detail span.child_02_1 {
  background-image: url(../../../images/site/arrow_03.png);
  background-position: 0 0.2em;
  background-repeat: no-repeat;
  /* font-size: 14px; */
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0;
  padding-bottom: 0.2em;
  padding-left: 19px;
  margin-left:20px;
}


.search_horse_detail span.child_02_2 {
  background-image: url(../../../images/site/arrow_04.png);
  background-position: 0 0.2em;
  background-repeat: no-repeat;
  /* font-size: 14px; */
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0;
  padding-bottom: 0.2em;
  padding-left: 19px;
  margin-left:20px;
}
