@charset "utf-8";
/*
font-family: 'Noto Sans JP', sans-serif;
font-family: 'Quicksand', sans-serif;
font-family: 'Zen Maru Gothic', sans-serif;
*/

/*  home.css
---------------------------------------------- */

/*  pc
---------------------------------------------- */

/* change color */
.color-r #about .txt h2 span,
.color-r #about .txt a:hover {
    color: #D95C5C;
}
.color-g #about .txt h2 span,
.color-g #about .txt a:hover {
    color: #52A085;
}
.color-k #about .txt h2 span,
.color-k #about .txt a:hover {
    color: #747474;
}

/* mv */
#mv .marquee_area {
    margin-top: 80px;
}

/* about */
#about {
    padding-top: 100px;
    background: url('https://osaka-info.jp/special/universal/wp-content/themes/universal-tourism/assets/img/home/about_bg.png') no-repeat bottom / 100%;
}
#about .inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
#about .txt {
    width: 345px;
}
#about .txt h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    font-size: 3.2rem;
    line-height: 4.8rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
}
#about .txt h2 span {
    position: relative;
}
#about .txt h2::after,
#about .txt h2 span:nth-child(2)::after {
    content: '';
    position: absolute;
    display: block;
}
#about .txt h2::after {
    bottom: 5px;
    right: -40px;
    width: 26px;
    height: 34px;
    background: url('https://osaka-info.jp/special/universal/wp-content/themes/universal-tourism/assets/img/icon/icon_flag.svg') no-repeat center / cover;
}
#about .txt h2 span:nth-child(2)::after {
    top: -10px;
    right: -35px;
    width: 27px;
    height: 23px;
    background: url('https://osaka-info.jp/special/universal/wp-content/themes/universal-tourism/assets/img/icon/icon_strong.svg') no-repeat center / cover;
}
#about .txt p {
    margin-bottom: 65px;
    font-size: 1.6rem;
    line-height: 3.2rem;
}
#about .txt a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 190px;
    font-size: 1.6rem;
    font-weight: 700;
    transition: .2s linear;
}
#about .txt a:hover .link_icon {
    background-color: #171717;
    transition: .2s linear;
}
.color-k #about .txt a:hover .link_icon {
    box-sizing: border-box;
    border: 2px solid #000;
    background-color: #FFF;
    transition: .2s linear;
}
.color-k #about .txt a:hover .link_icon::before {
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
}
#about .img {
    width: calc(100% - 455px);
}

/* search */
#search {
    padding: 30px 0 150px;
    /* background: #F8F6F0 url('../img/home/search_bg.svg') no-repeat top; */
    background: #F8F6F0;
}

/* parallax */
#parallax {
    width: 100%;
    height: 300px;
    background: #F8F6F0 url('https://osaka-info.jp/special/universal/wp-content/themes/universal-tourism/assets/img/home/parallax.webp') no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

/*  mobile & smart phone
---------------------------------------------- */
@media only screen and (max-width: 959px) {	

    /* mv */
    #mv {
        margin-top: 20px;
    }
    /* #mv .inner {
        height: 460px;
        border-radius: 20px;
        overflow: hidden;
    } */
    #mv .inner img {
        /* width: 100%;
        height: 100%;
        object-fit: cover; */
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
    }
    #mv .marquee_area {
        margin-top: 40px;
    }

    /* about */
    #about {
        padding-top: 30px;
        background: url('https://osaka-info.jp/special/universal/wp-content/themes/universal-tourism/assets/img/home/about_bg_sp.png') no-repeat bottom / 100%;
    }
    #about .inner {
        display: block;
    }
    #about .txt {
        width: 100%;
    }
    #about .txt h2 {
        margin-bottom: 20px;
        font-size: 2rem;
        line-height: 3.4rem;
    }
    #about .txt h2::after {
        bottom: 6px;
        right: -20px;
        width: 13px;
        height: 18px;
    }
    #about .txt h2 span:nth-child(2)::after {
        top: -5px;
        right: -20px;
        width: 18px;
        height: 16px;
    }
    #about .txt p {
        font-size: 1.4rem;
        line-height: 2.8rem;
    }
    #about .txt a {
        width: 150px;
        margin-left: calc(100% - 150px);
        margin-bottom: 40px;
        font-size: 1.4rem;
    }
    #about .img {
        display: block;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    /* search */
    #search {
        padding: 45px 0 70px;
    }

    /* parallax */
    #parallax {
        height: 200px;
        background: #F8F6F0 url('https://osaka-info.jp/special/universal/wp-content/themes/universal-tourism/assets/img/home/parallax_sp.webp') no-repeat;
        background-size: cover;
        background-position: center bottom;
        background-attachment: scroll;
    }
    
}