@charset "UTF-8";

/* general styling
============================================== */
html {
    font-size: 100%;
    scroll-behavior: smooth;
}
body {
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    /* background: #f3f6f4; */
    background: #000;
}
main {
    padding: 1rem 0 8rem 0;
    /* scroll-snap-type: y mandatory; */
}
p {
    line-height: 2rem;
}
* {
    /* border: solid 1px #301cc7; */
}

/* common
============================================== */
.wrapper {
    max-width: 1200px;
    margin: auto;
}
section {
    padding: 10rem 0;
}
.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 8rem;
}
.text-jp {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
}
/* アニメーション */
.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards; /* 再生終了後は最後の状態に */
    opacity: 0;
}
@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* header
============================================== */
header .wrapper {
    display: flex;
    padding: 3rem 1rem;
    justify-content: space-between;
    align-items: center;
}
.nav-bar ul {
    display: flex;
    gap: 5rem;
}
.nav-bar ul li {
    text-align: center;
}
.nav-bar ul li a {
    position: relative;
}
.nav-bar ul li a::after {
    content: '';
    /* 線の位置を決める */
    position: absolute;
    bottom: -5px;
    left: 0;
    /* 線の形状 */
    width: 100%;
    height: 1px;
    background:#fff;
    /* アニメーションの指定 */
    transition: all, .2s;
    transform: scale(0, 1);
    transform-origin: center top;
}
.nav-bar ul li a:hover::after {
    transform: scale(1, 1);
}

.current {
    border-bottom: solid 0.5px #ffffff;
}
.logo {
    width: 7rem;
}

/* hero
============================================== */
.hero {
    padding: 0;
    background: #000;
}
.hero-text {
    z-index: 1;
    margin: -100px -300px 0 100px;
}
.hero-title {
    font-size: 3.5rem;
    color: #FFF;
    margin-bottom: 2rem;
}
.hero .wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#myCanvas {
    width: 600px;
    height: 600px;
}
.scrolldown {
    position: absolute;
    right: 5%;
    bottom: 10px;
    height: 50px;
}
.scrolldown span {
    position: absolute;
    top: -40px;
    left: -18px;
    transform: rotate(90deg);
}
.scrolldown::after {
    content: "";
    position: absolute;
    top: 0;
    width: 1px;
    height: 30px;
    background: #eee;
    animation: pathmove 1.4s ease-in-out infinite;
}
@keyframes pathmove{
    0% {
        height: 0;
        top: 0;
    }
    30% {
        height: 30px;
    }
    100% {
        height: 0;
        top: 50px;
    }
}

/* vision
============================================== */
.vision {
    background-image: url(../images/vision-background.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    height: 700px;
}
.vision::before {
    content: '';
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.vision .wrapper {
    position: absolute;
    top: 10rem;
    left: 50%;
    width: 100%;
    transform: translate(-50%, 0);
    text-align: center;
}
.vision-sentence {
    font-weight: 400;
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* service
============================================== */
.service-item, .service-reverse {
    display: flex;
    margin-bottom: 14rem;
}
.service-item:last-child {
    margin-bottom: 0;
}
.service-image {
    position: relative;
}
.service-image > p {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 0;
    right: -50px;
    text-align: center;
    padding-top: 7px;

    font-size: 2rem;
    font-weight: 400;
    border: solid .5px #fff;
}
.service-image.reverse > p {
    position: absolute;
    top: 0;
    left: -50px;
}
.service-image img {
    width: 600px;
    height: 400px;
    object-fit: cover;
    border: solid .5px #fff;
}
.service-title-en {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}
.service-title-jp {
    font-size: 1.05rem;
    font-weight: 500;
}
.service-descript {
    margin: 0 0 0 10rem;
    padding: 3rem 0;
}
.service-descript.reverse {
    margin: 0 10rem 0 0;
}
.service-descript p {
    margin-top: 5rem;
}

/* news
============================================== */
.news-table {
    margin: 0 auto;
}
.news-table td {
    padding: 2rem 0;
    border-bottom: solid .5px #fff;
}
.news-table td:first-child {
    width: 350px;
}
.news-table td:nth-child(2) {
    width: 650px;
    padding-right: 4rem;
}

/* company
============================================== */
.company-table {
    margin: 0 auto;
}
.company-table td {
    padding: 2rem 0;
    border-bottom: solid .5px #fff;
}
.company-table td:first-child {
    width: 350px;
}
.company-table td:nth-child(2) {
    width: 650px;
    padding-right: 4rem;
}

/* contact
============================================== */
.contact-layout {
    width: 1000px;
    margin: 0 auto;
}
.contact-info {
    display: flex;
    margin-top: 5rem;
}
.address {
    margin-right: 5rem;
}
.sns li {
    line-height: 2rem;
}
.sns i {
    margin-right: 1rem;
}

/* footer
============================================== */
footer {
    /* background-color: #F0F0F0; */
    background-color: #000000;
    padding: 3rem 0 2rem 0;
    border-top: #f0f0f0 solid 0.5px;
    width: 100%;
}
footer .wrapper {
    display: flex;
    justify-content: space-between;
}
footer .logo {
    margin-bottom: 2rem;
}
footer p {
    font-size: .85rem;
}
.footer-sns {
    margin-right: 20rem;
}
.footer-nav li,
.footer-sns li {
    margin-bottom: 1rem;
}
.footer-sns li i {
    margin-right: .75rem;
}

/* mobile size
============================================== */
@media (max-width: 900px) {
    .projects .wrapper {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
