/*********************************************************
HOME ページ専用スタイル
*********************************************************/

/*****HOME Hero Image Slider - 独立的Slider样式*****/
#contents-home #main-home {
    width: 100%;
    height: 100vh;
    max-height: 100dvh;
    position: relative;
    overflow: hidden;
}
#contents-home .background-slider-home {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#contents-home .bg-item-home {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
}
#contents-home .bg-item-home.active {
    opacity: 1;
    visibility: visible;
}
#contents-home .content-slider-home {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#contents-home .slide-item-home {
    position: absolute;
    width: 90%;
    margin: 0 auto;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25);
}
#contents-home .slide-item-home.active {
    opacity: 1;
    visibility: visible;
}

/*****contents-home HORIZON 样式*****/
#contents-home #horizon {
    padding: 5em 10px;
    width: 100%;
    text-align: center;
    background: url("../img/top/bg_holizon.png") no-repeat;
    background-size: cover;
    background-position: center;
    box-sizing: border-box;
}
#contents-home #horizon h2 {
    font-family: 'TwCenMT', sans-serif;
    font-size: 85px;
    font-weight: 700;
    color: #FFF;
    line-height: 1.0;
    margin-bottom: 0.5em;
}
#contents-home #horizon h2 p {
    font-family: 'NotoSansJP', sans-serif;
    font-size: 14px;
    font-weight: 700;
}
#contents-home #horizon #concept p {
    font-family: "Noto Serif", serif;
    font-size: 19px;
    font-weight: 700;
    color: #FFF;
    line-height: 1.6;
    margin-bottom: 1em;
}

/*****contents-home campaign - 3列*****/
#contents-home #campaign {
    width: 100%;
    padding: 5em 0;
}
#contents-home #cmp_box {
    width: 95%;
    max-width: 1000px;
    margin: 0 auto;
}
#contents-home #cmp_box #cmp_txt {
    background: #000;
    color: #FFF;
    font-weight: bold;
    padding: 8px 10px;
    margin-top: 10px;
}
#contents-home #cmp_items {
    display: flex;
    justify-content: space-between;
}
#contents-home #cmp_items p {
    width: 32%;
    background: #FFF;
    padding: 5px;
    margin-top: 10px;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}
#contents-home #numkit {
    margin-top: 2em;
    width: 95%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 60px; /* 下部余白確保 */
    position: relative; /* 位置指定 */
    z-index: 10; /* 前面表示 */
}

/*****media queries*****/
@media screen and (min-width:640px){
    #contents-home #horizon {
        padding: 6em 10px;
    }
    #contents-home #horizon h2 {
        font-size: 100px;
    }
    #contents-home #horizon h2 p {
        font-size: 16px;
    }
    #contents-home #horizon #concept p {
        font-size: 24px;
    }
}

@media only screen and (min-width: 768px) {
    #contents-home #campaign {
        width: 95%;
        margin: 0 auto;
        padding-top: 3em;
        padding-bottom: 15em;
    }
    #contents-home #cmp_items p {
        padding: 10px;
    }
}

@media only screen and (min-width: 1280px) {
    #contents-home #horizon_wrap {
        width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    #contents-home #horizon h2 {
        font-size: 136px;
    }
    #contents-home #horizon h2 p {
        font-size: 22px;
    }
    #contents-home #horizon #concept p {
        font-size: 30px;
    }
}
