﻿h2, h3{
    font-weight: bold;
}

header h1{
    max-width: 200px;
    text-align: center;
    margin: auto;
    margin-bottom: 30px;
}

.bg_color2 {
    background-color: #f8f3ef;
}

.border_color1 {
    border-color: #703407;
}

.bg_color1 {
    background-color: #703407;
}

/*#contents2:before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    background-image: url(./Dup/img/hoso.png);
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: 60%;
    pointer-events: none;
    z-index: 1;
}*/

.keiba{
    max-width: 1080px;
    margin: 50px auto;
}

.keiba .catch{
    max-width: 250px;
    margin: auto;
    display: block;
    width: 50%;
}

.keiba .beer{
    background-color: #f8f3ef;
    padding: 20px 10px;
    position: relative;
}



.keiba .beer p{
        text-align: center;
    font-size: 25px;
    font-weight: bold;
    line-height: 1.2em;
    background-color: white;
    padding: 30px;
}

.keiba .beer p span{
    color: #c30d23;
    font-size: 2em;
    margin-top: 30px;
    display: block;
}

.keiba h3{
        text-align: center;
    font-size: 40px;
    margin-bottom: 50px;
        line-height: 1.5em;
}

.keiba .beer img{
        position: absolute;
    bottom: 0;
    right: 0;
    min-width: 400px;
}

#main_img{
        height: 100%;
    min-height: 100%;
}

#main_img:before{
        content: "";
    display: block;
    width: 100.1%;
    height: 99.5%;
    position: absolute;
    top: 49.6%;
    left: 50%;
    background-image: url(./Dup/img/ue.png), url(./Dup/img/right.png), url(./Dup/img/left.png);
    background-position: center top, 95% 70%, 5% 100%;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: cover, 12%, 17%;
    pointer-events: none;
    z-index: 1;
}

.jiman{
        margin-top: -2%;
    z-index: -1;
    position: relative;
}

#contents2 div.posi_abs:before{
        content: "";
    display: block;
    width: 300px;
    height: 300px;
    position: absolute;
    top: 10%;
    left: 85%;
    background-image: url(./Dup/img/tyo.png);
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

#intro h3, #contents1 h4{
            color: #c30d23;
    font-size: 30px;
    font-weight: bold;
    line-height: 1.3em;
    margin-bottom: 30px;
}

#contents2 h3{
    font-size: 30px;
}

.cms_5-c .box_txt1::before {
    color: rgb(195, 13, 35);
}

.mail_contact{
    display: none;
}


#main_wrap{
    overflow: hidden;
}

.keiba.ichi{
    padding: 0 20px;
    margin-bottom: 100px;
}

.keiba.ichi h3{
        background-image: url(./Dup/img/point.png);
            background-position: center;
    background-repeat: no-repeat;
    background-size: 80%;
    padding: 100px 0;
}

#intro p{
    text-shadow: white 3px 0px, white -3px 0px, white 0px -3px, white -3px 0px, white 3px 3px, white -3px 3px, white 3px -3px, white -3px -3px, white 1px 3px, white -1px 3px, white 1px -3px, white -1px -3px, white 3px 1px, white -3px 1px, white 3px -1px, white -3px -1px, white 1px 1px, white -1px 1px, white 1px -1px, white -1px -1px;
}

#intro{
    padding-bottom: 0;
}

.linkStyle{    font-weight: bold;
    color: #553210;}

/* ---------- カスタム ---------- */
@media screen and (max-width: 1000px){
#intro div.d_flex figure, #intro div.d_flex div.grid_6{
    width: 100% !important;
    padding-left: 0;
}

#contents2 div.posi_abs:before {
    width: 200px;
    height: 200px;
    left: 92%;
}

.jiman {
    margin-top: 3%;
}

#main_img:before {
    background-size: cover, 13%, 20%;
}

}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#contents2 h3 {
    width: 80%;
    transform: translateX(-60px);
}
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
header h1 {
    max-width: 100px;
    margin-bottom: 0 !important;
}

#main_img .bg_img{
    /*transform: scale(1.5);*/
    width: 130%;
}

#main_img:before{
    background-image: url(./Dup/img/ue.jpg), url(./Dup/img/right.png), url(./Dup/img/left.png);
        background-position: center top, 100% 40%, 0% 110%;
    background-size: contain, 15%, 30%;
    pointer-events: none;
    z-index: 1;
}

#contents2 div.posi_abs:before {
    width: 150px;
    height: 150px;
    left: 87%;
    top: 5%;
}

#contents2 h3 {
    font-size: 24px;
}

.keiba {
    padding: 0 20px;
}

.keiba h3 {
    margin-bottom: 50px;
}

.keiba .beer img {
    position: relative;
    min-width: 300px;
}

.keiba .beer p span {
    font-size: 1.5em;
}

#intro h3, #contents1 h4 {
    font-size: 28px;
}

.keiba h3 {
    font-size: 32px;
}

.keiba.ichi h3 {
    padding: 30px 0;
    font-size: 19px;
    line-height: 2.2em;
}

.keiba.ichi h3 span{
    font-size: 30px;
}

.keiba.ichi {
    margin-bottom: 0px;
}

}


/* ---------- SEO対策 ---------- */
.font_14 {
    font-size: 16px;
}
.font_12_sp {
    font-size: 16px;
}
@media screen and (max-width: 667px){
#intro h2 {
    font-size: 28px;
}
.keiba.ichi h3 {
    font-size: 20px;
}
}