/*
Theme Name: hemitech-theme
Theme URI: https://wordpress.org/themes/hemitech-theme/
Author: MM
Tested up to: 6.6
Requires PHP: 7.0
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*-------------------------
    common
-------------------------*/

body{
    color: var(--color-white);
}
section{
    padding: 90px 100px calc(90px + 30px);
}
h1{
    margin-bottom: 1em;
}
h2{
    font-size: 48px;
}
p{
    font-size: 18px;
}
.content-line{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
}

/*-------------------------
    header
-------------------------*/
ul.menu>li:first-child a:hover{
    color: var(--color-light-blue);
}

/*-------------------------
    #company-title
-------------------------*/
#company-title{
    min-height: 640px;
}

#company-title::before{
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    background: url(https://hemitech.co.jp/wp/wp-content/uploads/2024/11/10.png);
    background-position: center;
    background-size: cover;
}

#company-title p{
    font-size: 26px;
    font-weight: 600;
}

#company-title a{
    width: 60px;
    height: 37px;
    display: block;
    margin: 70px auto 0;
    padding: 10px;

}

 #company-title a.fade-up{
    animation: 0.5s ease;
}

/*-------------------------
    #company-about
-------------------------*/
#company-about{
    background: radial-gradient(circle at 1.5136719743410747% 96.42651240030925%, #2481C9 0%, 17.5%, rgba(36, 129, 201, 0) 35%), radial-gradient(circle at 89.16200002034506% 99.62390263875326%, #E98125 0%, 25%, rgba(233, 129, 37, 0) 50%), radial-gradient(circle at 0% 0%, #19387F 0%, 42%, rgba(25, 56, 127, 0) 70%), radial-gradient(circle at 86.80736541748047% 17.089845339457195%, #2481C9 0%, 60%, rgba(36, 129, 201, 0) 100%), radial-gradient(circle at 48.9013671875% 49.521484375%, #070F23 0%, 100%, rgba(7, 15, 35, 0) 100%);
}
#company-about h2{
    font-size: 56px;
}
#company-about>div>div{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}
#company-about>div>div>div:nth-child(1){
    width: 400px;
}
#company-about>div>div>div:nth-child(2){
    width: calc(100% - 40px - 400px);
}
#company-about dl{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
}
#company-about dl>.content-flex{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
}
#company-about dt,
#company-about dd{
    font-size: 18px;
    line-height: 1.7;
}
#company-about dt{
    width: calc(18px * 4);
}
#company-about dd{
    width: calc(100% - 18px * 4 - 30px);
}

/*-------------------------
    #company-greeting
-------------------------*/
#company-greeting{
    background: var(--color-bg-gray);
}
#company-greeting .content-flex{
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}
#company-greeting .content-flex>div{
    width: calc((100% - 40px) * .6);
}
#company-greeting .content-flex>div:has(img){
    width: calc((100% - 40px) * .4);
}
#company-greeting h2, #company-greeting p{
    color: var(--color-black);
}
#company-greeting p{
    margin-bottom: 2em;
    line-height: 1.7;
}
#company-greeting .wp-block-buttons-is-layout-flex{
    justify-content: flex-start;
}
#company-greeting .content-line{
    background: linear-gradient(45deg, #ABB4BD, var(--color-light-blue));
}

/*-------------------------
    #company-mission-vision
-------------------------*/
#company-mission-vision video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#company-mission-vision h2{
    margin-bottom: 30px;
}
#company-mission-vision p.heading{
    font-weight: 600;
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 100px;
}
#company-mission-vision .vision-wrap{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    gap: 40px;
}
#company-mission-vision .vision-wrap ul{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
}
#company-mission-vision .vision-wrap li{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 290px;
    height: 100%;
    min-height: 110px;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    padding-left: 10px;
    z-index: 0;
}
#company-mission-vision .vision-wrap li::before,
#company-mission-vision .vision-wrap li::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
#company-mission-vision .vision-wrap li::before{
    background: rgba(0, 0, 0, 0.7);
    transform: skewX(-10deg);
}
#company-mission-vision .vision-wrap li::after{
    background: var(--color-light-blue);
    width: 8px;
    transform: skewX(-10deg);
}
#company-mission-vision .content-line{
    background: linear-gradient(45deg, var(--color-light-blue), var(--color-orange) 80%);
}

/*-------------------------
    footer
-------------------------*/
.footer-wrapper>div:nth-child(3)>a:nth-child(3)>p{
    font-weight: 600;
    color: var(--color-white);
}

@media screen and (max-width: 1024px){
    section{
        padding: 90px 50px calc(90px + 30px);
    }
    #company-greeting .content-flex>div:has(img){
        max-width: 500px;
        margin: 0 auto;
    }
    #company-mission-vision .vision-wrap li{
        font-size: 20px;
    }
}
@media screen and (max-width: 768px){
    section{
        padding: 45px 20px calc(45px + 30px);
    }
    .content-line{
        height: 20px;
    }
    #company-title{
        min-height: 450px;
    }
    h1, h2{
        font-size: 30px;
        margin-bottom: 20px;
    }
    #company-title p{
        font-size: 20px;
    }
    #company-title a{
        margin-top: 2em;
    }
    #company-about>div>div,
    #company-greeting .content-flex{
        flex-direction: column;
    }
    #company-about>div>div>div,
    #company-greeting .content-flex>div{
        width: 100% !important;
    }
    #company-about dl{
        gap: 10px;
    }
    #company-about dl>.content-flex{
        gap: 10px;
    }
    #company-about dt,
    #company-about dd{
        font-size: 16px;
    }
    #company-about dt{
        width: calc(16px * 4);
    }
    #company-about dd{
        width: calc(100% - 16px * 4 - 10px);
    }
    #company-about img{
        height: 200px;
        object-fit: cover;
    }
    #company-greeting .content-flex{
        gap: 0;
    }
    #company-greeting p{
        font-size: 16px;
    }
    #company-greeting .wp-block-buttons-is-layout-flex{
        justify-content: center;
        margin-top: 2em;
    }
    #company-mission-vision h2{
        margin-bottom: 10px;
    }
    #company-mission-vision p.heading{
        font-size: 18px;
        margin-bottom: 40px;
    }
    #company-mission-vision .vision-wrap,
    #company-mission-vision .vision-wrap ul{
        gap: 20px;
    }
    #company-mission-vision ul{
        flex-direction: column;
    }
    #company-mission-vision .vision-wrap li{
        min-height: 80px;
    }
}