@charset 'utf-8';

#contents {
    padding-top: 0;
}

article.hero {
    height: 100vh;
    max-height: 100%;
    overflow: hidden;
    position: relative;
}

article.hero div.header-image {
    height: 100%;
}

article.hero div.header-image img {
    height: 100%;
    left: 0;
    object-fit: cover;
    top: 0;
    transform: none;
    width: 100%;
    max-width: 1000%;
    min-height: 100%;
    padding-bottom: 1px;
}

#scroll-to-content {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 20px;
    z-index: 5;
    cursor: pointer;
    height: 1.5em;
    width: 3.5em;
    overflow: hidden;
    opacity: .5;
    transform: translateX(-50%);
    animation: pulsate 1.5s ease-out infinite;
    cursor: pointer;
    font-size: 1rem;
}

@keyframes pulsate {
    0% {
        opacity: .5
    }

    50% {
        opacity: 1
    }

    100% {
        opacity: .3
    }
}

#scroll-to-content::before {
    content: '';
    display: block;
    position: absolute;
    left: 15px;
    bottom: 10px;
    height: 30px;
    width: 30px;
    border: 2px solid #fff;
    transform: rotate(45deg);
}

#scroll-to-content:hover {
    opacity: 1;
}

/*=================================================*/

div.circle {
    position: relative;
}

div.circle::before {
    content: ' ';
    display: block;
    width: 160px;
    height: 80px;
    border-radius: 50% 50% 0 0/100% 100% 0 0;
    background:#e6e2de;

    position: absolute;
    top: -80px;
    left: 0%;
    transform: translateX(0%);
}

.circle-bottom {
    width: 160px;
    height: 80px;
    border-radius: 0 0 50% 50% /0 0 100% 100%;
    background: #444;
    color: #fff;
    text-align: center;
    position: absolute;
    left: 0%;
    transform: translateX(0%);
}

.circle-bottom span {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Lato', sans-serif;
    font-size: 20px;
}

/*=================================================*/

article#works .works-wrapper {
    padding-top: 120px;
}


/*=================================================*/

article#about div.circle::before {
    background:#fff;
}

article#about .about-wrapper .col-text h3 {
    font-family: "UDDigiKyokasho R JIS2004", sans-serif;
    font-size: 23px;
    line-height: 36px;
    margin-bottom: 24px;
}

article#about .about-wrapper .col-text p {
    font-family: "UDDigiKyokasho R JIS2004", sans-serif;
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 100px;
}

a.btn.btn-about {
    margin: 0 0;
}

/*=================================================*/

@media screen and (max-width: 1024px) {
}

/*=================================================*/

@media screen and (max-width: 599px) {
    #contents {
        padding-top: 0px;
    }

    article.hero {
        height: 70vh;
    }
  
    article#works .works-wrapper {
        padding-top: 30px;
    }
 
    div.circle::before {
        top: -60px;
        left: 0%;
        width: 120px;
        height: 60px;
        transform: translateX(0%);
    }
    
    .circle-bottom {
        width: 120px;
        height: 60px;
        z-index: 10;
        position: relative;
        left: 0%;
        transform: translateX(0%);
    }
    
    .circle-bottom span {
        top: 42%;
        font-size: 18px;
    }
  
    article#about .about-wrapper .col-text h3 {
        font-size: 20px;
        line-height: 32px;
        margin-bottom: 20px;
    }
    
    article#about .about-wrapper .col-text p {
        font-size: 15px;
        line-height: 26px;
        margin-bottom: 30px;
    }
   
    a.btn.btn-about {
        width: auto;
        margin: 0 auto;
    }
}
