/*-------------------------
    common
-------------------------*/
body{
    color: white;
}

h1>img{
    max-width: 471px;
}

h2{
    font-size: 30px;
    margin-top: 1em;
}

p{
    margin-bottom: 1em;
    font-size: 18px;
}

img{
    width: 100%;
}

/*-------------------------
    solution-child-title
-------------------------*/
#solution-child-title{
    height  : 500px;
}

.page-id-1322 #solution-child-title{
    height  : 400px;
}

#solution-child-title h2{
    text-shadow: 0 0 5px var(--color-gray);
}

#solution-child-title .content-line{
    background: #2580C8;
    max-width: 100%;
    width: 100%;
    height: 40px;
    position: absolute;
    bottom: 0;
    left: 0;
}

video{
    height: 1500px;
    object-fit: cover;
    position: fixed;
    top: var(--header-height-pc);
    left: 0;
}

.video-bg{
    background: var(--color-black);
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0.4;
}

#solution-child-title .btn-flex{
    max-width: 300px;
    justify-content: space-between;
}

#solution-child-title .wp-block-button__link{
    font-size: 38px;
    line-height: inherit;
    width: 120px;
    height: 50px;
    box-shadow: white 5px 5px;
}

#solution-child-title .wp-block-buttons.btn-orange:hover{
    background: #E98024;
    color: white;
}

/*-------------------------
    main-content
-------------------------*/
#main-content{
    background: white;
    padding: 90px 0;
}

#main-content h2{
    color: #2580C8;
    font-size: 50px;
    font-weight: 900;
    margin: 0;
}

#main-content .btn-blue .wp-block-button__link{
    margin-left: auto;
    margin-right: auto;
    /* display: flex; */
    /* justify-content: center; */
    align-items: center;
    box-shadow: #1A3980 5px 5px;
}

#main-content .btn-white{
    width: 200px;
}

.wp-block-buttons-is-layout-flex:has(.btn-white){
    justify-content: flex-start;
}

#main-content .wp-block-buttons{
    margin-top: 50px;
}

#main-content .wp-block-buttons:has(.btn-blue){
    justify-content: center;
}

/*-------------------------
    related-product
-------------------------*/
#related-product {
    background: #DFE1E8;
    padding: 90px 10%;
}

#related-product h2{
    font-size: 50px;
    margin-top: 0;
    color: #1A3980;
}

.product-contents{
    display: grid;
    gap: 50px 20px;
    color: black;
}

.product-flex{
    width: 230px;
    margin: 0 auto;
    box-sizing: border-box;
}

.product-flex img{
    width: 230px;
    margin-bottom: 1.5em;
}

.text-wrapper{
    margin-bottom: 20px;
    overflow: hidden;
    box-sizing: border-box;
}

.text-wrapper p.heading, section:nth-child(2) p.heading{
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.text-wrapper p:nth-of-type(2) {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0;
}

.product-flex a{
    display: inline-block;
    width: 230px;
    height: 230px;
}

.product-flex ul{
    display: block;
    padding-left: 1.25em;
}

.product-flex p{
    font-size: 16px;
}

.product-flex li{
    font-size: 14px;
    list-style: disc;
}

@media screen and (max-width:1024px) {
    video{
        top: var(--header-height-sp);
        height: 1000px;
    }
    #solution-child-title{
        padding: 45px 20px;
        height: 400px;
    }
    .page-id-1322 #solution-child-title{
        height : 300px;
    }
    #main-content .wp-block-buttons{
        display: flex;
        margin-left: auto;
        margin-right: auto;
        align-items: center;
        justify-content: center;
    }
    section:nth-of-type(2) h2{
        padding-left: 20px;
    }
    .product-contents{
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px){
    #solution-child-title{
        height: 400px;
    }
    #solution-child-title h2{
        font-size: 20px;
    }
    #main-content{
        padding: 45px 0 50px;
    }
    #main-content h2, #related-product h2{
        font-size: 30px;
    }
}

@media screen and (max-width: 600px) {
    video{
        height: 450px;
        object-position: 35%;
    }
    #solution-child-title .content-line{
        height: 10px;
    }
    h1>img{
        width: 260px;
    }
    #solution-child-title .btn-flex{
        margin: 0 auto;
    }
    #related-product{
        padding: 45px 20px;
    }
}