@charset "UTF-8";

#titleBox {
    position: relative;
    background-color: #FFF8EF;
    margin: 0 auto;
    padding: 20px 0;
}
#titleBox::after {
    content: "";
    position: absolute;
    background: url(../img/horse/grass.png) repeat-x ;
    background-size: contain;
    aspect-ratio: 9 / 1;
    width: 100%;
    height: 22%;
    top: 80%;
    left: 0%;
}
.font-color {
    color: #333;
}
.font-size-17 {
    font-size: 1.7rem;
}
section {
    padding: 25px 15px;
}
.flex-col {
    display: flex;
    flex-direction: column;
}
.horseSetsumei p {
    padding: 15px 10px 5px;
}
h1 {
    font-size: 2.6rem;
}
h1 span {
    font-size: 2.0rem;
    font-weight: 500;
}
h2.horse-h2{
    width: 100%;
    background-color: #006700;
    color: #fff;
    padding: 8px 15px ;
}
h2.Aeru {
    background-color: #AF4300;
}
h2.Aenai {
    background-color: #0D3992;
}
h2.horse-h2 span {
    padding: 0 5px 0 0;
}
h3.name-fukidashi {
    display: flex;
    padding: 4px 5px;
    margin: 0 0 10px 0;
    border-radius: 44px;
    align-items: center;
    color: #fff;
    gap: 0px;
    position: relative;
}
h3.name-fukidashi img {
    width: 44px;
}
h3.name-fukidashi .name {
    font-size: 2.5rem;
    font-weight: 600;
    padding: 0 0 0 10px;
}
h3.name-fukidashi::after {
    content: "";
    position: absolute;
    width: 24px;
    right: calc(100% - 78px);
    top: calc(100% - 13px);
    aspect-ratio: 24 / 24;
}
h4 {
    border-bottom: #4D8525 1px solid;
    font-size: 1.8rem;
    color: #4D8525;
}
h4.check {
    padding: 8px 5px 4px 54px;
    background: url(../img/horse/icon-check.svg) no-repeat calc(0% + 5px) center;
}
h4.hert {
    padding: 8px 5px 4px 43px;
    background: url(../img/horse/icon-hert.svg) no-repeat calc(0% + 5px) center;
}
.Red {
    background-color: #E97713;
}
.Blue {
    background-color: #005DA8;
}
.Red::after {
    background: url("../img/horse/fukidashi-02.svg") no-repeat center / contain;
}
.Blue::after {
    background: url(../img/horse/fukidashi-03.svg) no-repeat center / contain;
}
.bottom-wrap {
    position: relative;
}
.bottom-wrap .uma-text {
    width: 100%;
    font-size: 1.8rem;
    color: #595757;
    font-weight: 600;
    border: 2px solid #E97713;
    border-radius: 15px;
    padding: 21px 16px;
    text-align: center;
    line-height: 30px;
}
.uma::before {
    content: "";
    position: absolute;
    background: url(../img/horse/fukidasi.svg)  no-repeat center / contain;
    aspect-ratio: 50 / 32 ;
    width: 50px;
    top: calc(0% + 20px);
    left: calc(50% + 5%);
}
.uma {
    display: block;
    position: relative;
    text-align: right;
    top: -35px;
}
.bottom-wrap .uma img {
    width: 22%;
    padding-right: 20px;
}
.bottom-wrap .uma::after {
    content: "";
    position: absolute;
    background: url(../img/horse/grass.png)  repeat-x ;
    aspect-ratio: 9 / 1;
    width: 100%;
    top: 82%;
    left: 0%;

}
.text01 {
    margin: 0 0 50px 0;
    padding: 10px 10px;
}
section p.text02 {
    padding: 15px 10px 40px ;
}
.text03 {
    line-height: 28px;
    padding: 0 0 60px 0;
}
.tyuui {
    font-size: 1.5rem;
    text-indent: -1em;
    margin: 0 0 0 13px;
}
.horse .text01 p {
    padding: 10px 0 0 0;
}
.horseSetsumei {
    width: 100%;
    margin: 0px auto 60px;
}
.taikou-img {
    width: 100%;
    padding: 25px 0 0 0;
}
.top-text {
    font-weight: 600;
    line-height: 30px;
    padding: 15px 10px;
    text-align: center;
    margin: 25px 15px 0 ;
    border-top: 1px dashed #ff9500;
    border-bottom: 1px dashed #ff9500;
}
.syurui-wrap {
    width: 100%;
    padding: 30px 10px 50px;
    gap: 38px;
}
.horse-syurui {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 14px;
}
.horse-syurui p {
    color: #333;
}
.horse-syurui img {
    display: block;
}
.syurui {
    align-items: flex-start;
    gap: 15px;
    text-align: left;
}
.horse-syurui .name {
    font-size: 3.0rem;
    font-weight: 700;
    padding: 0;
    line-height: 1.2;
}
.name span {
    display: inline-block;
    font-size: 1.7rem;
}
.horse-syurui .setsumei {
    line-height: 28px;
    padding: 0;
}
.taikou-img {
    display: block;
    text-align: center;
}
.taikou-img img {
    width: 95%;
}
.taikou-wrap {
    padding: 15px 10px 60px ;
}
.horse-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}
.horse-table th, .horse-table td {
    padding: 6px 20px;
    border: 1px solid #BCBCBC;
}
/* 奇数行（1,3,5…）の背景色 */
.horse-table tr:nth-child(odd) th {
    background-color: #FFD5B1;
}
.horse-table tr:nth-child(odd) td {
    background-color: #fff8ef;
}
/* 偶数行（2,4,6…）の背景色 */
.horse-table tr:nth-child(even) th {
    background-color: #FFF3D8;
}
/*海外馬*/
.taikou-wrap .horse-table .green-zone th {
    background-color: #e5f5db;
}
.taikou-wrap .horse-table .green-zone td {
    background-color: #fff;
}
.zoo-syoukai-wrap , .bokujou-syoukai-wrap {
    gap: 60px;
    padding: 0 0 80px 0;
}
.zoo-syoukai {
    gap: 6px;
}

.zoo-syoukai p.tokutyou {
    font-size: 1.6rem;
    line-height: 28px;
    padding: 10px 10px 25px 10px;
}
.zoo-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 10px;
}
.zoo-list a {
    display: block;
    border: 1px solid #EFAE76;
    border-radius: 100px;
    align-items: center;
    text-decoration: none;
    background: url(../img/horse/allow.svg) no-repeat center / contain;
    background-size: 10px;
    background-position:calc(100% - 12px);
    padding: 10px 15px;
    font-size: 1.6rem;
}
.zoo-list a:hover {
    color: #fff;
    border: 1px solid #E97713;
    background-color: #E97713;
    background-position: calc(100% - 8px);
}
.basyo a:hover {
    color: #fff;
    border: 1px solid #005DA8;
    background-color: #005DA8;
    background-position: calc(100% - 6px);
}
.uma-img {
    width: 100%;
    margin: 10px auto;
    text-align: center;
}
.bokujou-syoukai-wrap .tokutyou {
    font-size: 1.6rem;
    padding: 15px 10px 30px 10px;
    line-height: 28px;
}
.basyo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
}
p.basyo-name  {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2f3468;
    padding: 5px ;
}
.basyo a {
    display: block;
    font-size: 1.7rem;
    text-decoration: underline;
    color: #2933A2;
    text-align: center;
    width: 100%;
    border: 1px solid #7FCDD2;
    border-radius: 10px;
    padding: 10px 30px 10px 25px;
    margin: 10px;
    background: url(../img/horse/allow-02.svg) no-repeat calc(100% - 10px) center;
}
.bokujou-about {
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 8px;
}
.bokujou-about p {
    line-height: 28px;
    padding: 10px 0 10px 5px;
}
.bokujou-about img {
    width: 35px;
    height: 86px;
}

.point , .hozen {
    gap: 50px;
    padding: 35px 0;
}
.hozen-text, .hozen p {
    padding: 15px 10px 10px;
}


@media screen and (min-width: 767px){
    h2.horse-h2 {
        font-size: 1.9rem;
    }
    .top-text {
        font-size: 2.2rem;
        line-height: 48px;
    }
    .bottom-wrap .uma-text {
        font-size: 2.3rem;
        line-height: 48px;
        padding: 35px 25px;
    }
    br.off-br {
        display: none;
    }
    .horseSetsumei p {
        line-height: 28px;
    }
    section p.text02 {
        padding: 15px 10px 60px;
    }
    
    .uma-img {
        margin: 15px auto;
    }

    .horseSetsumei {
        width: 100%;
        max-width: 900px;
    }
    .syurui-wrap {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-content: flex-start;
        padding: 30px 0 80px;
        gap: 60px;
    }
    .horse-syurui {
        width: 45%;
    }
    .taikou-wrap {
        padding-bottom: 80px;
    }
    .horse-table {
        font-size: 1.9rem;
    }
    .zoo-syoukai-wrap, .bokujou-syoukai-wrap {
        flex-direction: row;
        flex-wrap: wrap;
        row-gap: 80px;
        justify-content: space-between;
    }
    h3.name-fukidashi {
        padding: 8px;
    }
    h3.name-fukidashi img {
        width: 60px;
    }
    .zoo-syoukai , .bokujou-syoukai {
        width: 46%;
    }
    .zoo-syoukai p.tokutyou {
        font-size: 1.7rem;
        line-height: 30px;
        min-height: 16rem;
        padding: 10px 15px 0 ;
    }
    .uma-img img {
        width: 100%;
    }
    .bokujou-syoukai-wrap .tokutyou {
        width: 100%;
        padding: 10px 0;
        font-size: 1.7rem;
        line-height: 30px;
        min-height: 22rem;
    }
    .basyo {
        width: 100%;
        padding: 5px 10px;
        gap: 6px;
    }
    p.point-text {
        padding: 15px 10px 20px;
    }
    .point , .hozen {
        gap: 60px;
        padding: 40px 0 80px 0;
    }
    .uma::before {
        width: 60px;
        left: calc(50% + 22%);
    }
    .bottom-wrap .uma img {
        width: 16%;
    }

}
