@charset "UTF-8";

/* 
TOP画像
------------------------------------------------------ */
.cover {
    background-image: url(../images/keyvisual03.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    height: 85vh;
    width: 100%;
    margin-top: 50px;
}

.bg_02,.bg_03 {
    position: absolute;
    transform: translate(-50%, -50%);
    font-weight: normal;
    letter-spacing: 5px;
    color: #fff;
    text-shadow: 1px 2px 3px #0d0d0d;
    text-align: center;
}

.bg_02 {
    top: 50%;
    left: 50%;
    font-size: 50px;
}

.bg_03 {
    bottom: 29%;
    left: 50%;
    font-size: 35px;
}

/* 予想記事・競馬開発box
----------------------------------------- */
.flex_item {
    margin: 100px auto;
    width: 70%;
    display: flex;
}

.flex_item:nth-child(odd) {
    flex-direction: row-reverse;
}

/*  画像 */
.flex_item_img {
    display: grid;
    align-items: center;
}
.flex_item_img img {
    width: 640px;
    padding-right: 0;
    object-fit: cover;
    border-radius: 15px;
    margin: auto;
}

/* テキスト */
.about_text {
    width: 65%;
    padding:  0 5%;
    display: block;
    margin: auto;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.15rem;
}

.about_text h3 {
    margin: 0 auto;
    font-size: 40px;
    padding: 20px 0;
    letter-spacing: 0.2rem;
}

.about_text img {
    height: 90px;
    display: block;
    margin: auto;
}

.text_1 {
    text-align: justify;
    text-align-last: left;
}

.text_2 {
    text-align: center;
}

/* ボタン共通設定 */
.about_btn {
    position: relative;
    text-decoration: none;
    display: block;
    background: transparent;
    border-radius: 5px;
    border: solid 1px #519768;
    outline: none;
    transition: all 0.2s ease;
    margin: 30px auto;
    width: 300px;
}

.about_btn:hover {
    border-color: transparent;
}

.about_btn span {
    z-index: 2;
    display: block;
    padding: 20px 65px;
    background: #fff;
    font-size: 0.78rem;
    border-radius: 5px;
    color: #519768;
    transition: all 0.3s ease;
}

.pushright:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 4px;
    left: 4px;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background-color: #519768;
}

.pushright:hover span {
    background-color: #519768;
    color: #fff;
    transform: translate(4px, 4px);
}

/* 
CONTACT背景画像
-------------------------------------------- */
.contact {
    margin: 0 auto;
    background-image: url(../images/contact_top03.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    height: 35vh;
    background-position: 100%;
}

.section_inner {
    max-width: none;
    padding-top: 110px;
    margin: auto;
}

.section_ttl {
    transform: translate(0, 0);
    opacity: 1;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 25px;
    text-align: center;
    font-size: 3.8rem;
    font-weight: 400;
    line-height: 1;
    transition: all .3s ease-out;
    color: #fff;
    text-shadow: 1px 2px 3px #4d4d4d;
}

.contact_btn {
    display: block;
    width: 200px;
    margin: 0 auto;
    padding-right: 75px;
    position: relative;
    transition: all .3s ease-out;
    font-size: 0.8rem;
    letter-spacing: 0.15rem;
    color: #fff;
    text-shadow: 1px 2px 3px #4d4d4d;
}

.contact_btn::after {
    display: block;
    background-image: url(../images/yoshio_arrow.png);
    width: 60px;
    height: 11px;
    background-size: 60px auto;
    position: absolute;
    top: 50%;
    right: 0;
    margin: auto;
    content: "";
    transform: translate(0, -50%);
    transition-duration: 0.5s;
}

.contact_btn:hover::after {
    transform: translate(30%, -50%);
    transition-duration: 0.6s;
}


/* レスポンシブ */
@media screen and (max-width: 1000px) {
    .list_item {
        font-size: 0.9rem;
        padding: 20px 15px;
        margin: auto;
    }

    .cover {
        width: 100%;
        height: 600px;
        position: relative;
        margin-top: 0;
    }

    .bg_02 {
        font-size: 1.6rem;
    }

    .bg_03 {
        font-size: 1.2rem;
        bottom: 32%;
    }

    .navigation {
        margin-left: 0;
        padding: 22.5px 0;
        display: none;
    }

    .navigation_list li {
        font-size: 16px;
    }

    .flex_item {
        margin: 20px auto;
        width: 100%;
    }

    .flex_items {
        width: 100%;
        padding-top: 150px;
        margin: 0 auto;
    }

    .flex_item img {
        display: none;
    }

    .about_text {
        width: 100%;
        padding-bottom: 50px;
    }

    .about_text img {
        width: 60px;
        height: 60px;
        display: block;
        margin: auto;
    }

    .about_text h3 {
        font-size: 1.5rem;
        padding: 20px 0;
    }

    .about_text p {
        width: 100%;
        font-size: 0.85rem;
    }

    .text_1{
        text-align: justify;
    }

    .about_text a {
        margin-top: 50px;
    }

    .flex_item:not(:last-child) {
        margin-bottom: 20px;
    }

    .contact {
        height: 30vh;
    }

    .section_inner {
        padding-top: 80px;
    }
    
    .flex_item:nth-child(odd) {
        flex-direction: column;
    }

}