@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,600;0,800;0,900;1,200;1,300;1,400;1,600;1,800;1,900&display=swap');

body {
    font-family: 'Nunito', sans-serif;
    --bg-opacity: 1;
    background-color: #f7fafc;
    background-color: rgba(247, 250, 252, var(--bg-opacity));
}

/*
common
*/
img {
    width: 100%;
}

img.bg {
    height: 500px;
    width: 100%;
    object-fit: cover;
}

.mb-50 {
    margin-bottom: 50px;
}

article {
    padding: 50px 0;
}

article p {
    letter-spacing: .2em;
}

.title {
    margin-bottom: 50px;
    text-align: center;
}

.title h2 {
    font-size: 43px;
    letter-spacing: .15em;
}

.btn-axive {
    border: 1px solid #29275e;
    padding: 1em;
    line-height: 1;
    display: block;
    text-align: center;
    transition: all .2s ease;
    color: #29275e;
    text-decoration: none;
    letter-spacing: .2em;
    background-color: white;
}

.btn-axive:hover {
    background: #29275e;
    color: white;
    letter-spacing: 0.5rem;
}

.box {
    height: 100%;
    border: 1px solid #333;
    padding: 30px 1em;
    text-align: center;
    justify-content: center;
}

.box.no-border {
    border: 0;
}

.box p {
    letter-spacing: 1;
    line-height: 1.41;
    text-align: center;
    margin-bottom: 0;
}

.box.box-right h4 {
    margin-bottom: 1em;
}

.box.box-right h5 {
    text-align: left;
}

.box.box-right h5::before {
    content: '・';
}

.box.box-right p {
    text-align: left;
    margin-bottom: 1.5em;
}

@media(max-width: 767px) {
    .mb-50 {
        margin-bottom: 30px;
    }

    img.bg {
        height: 300px;
    }

    article {
        padding: 30px 0;
    }

    .title {
        margin-bottom: 30px;
    }

    .title h2 {
        font-size: 29px;
    }

    p {
        font-size: 14px;
    }
}

/*
header
*/
header {
    background-color: white;
    position: fixed;
    width: 100%;
    z-index: 5;
    padding: 11px 1em;
    left: 0;
    top: 0;
    border-bottom: 1px solid #DFDFDF;
}

header .logo {
    display: block;
    max-width: 150px;
    width: 100%;
    margin: 0 auto 1em;
}

header nav ul {
    justify-content: center;
}

header nav ul li+li {
    padding-left: 3em;
}

header nav ul li a {
    color: black;
    letter-spacing: .1em;
    text-decoration: none;
    font-weight: 200;
}

@media(max-width: 767px) {
    header .logo {
        max-width: 100px;
        margin: 0 auto 8px;
    }
}

/*
drawer
*/
#drawer {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: white;
    z-index: 2;
    right: -100%;
    transition: all 1s;
    z-index: 5;
}

#drawer.drawer-active {
    right: 0;
}

#drawer ul {
    margin: 0;
    height: 100%;
}

#drawer ul li {
    width: 50%;
    height: 25%;
    border-top: 1px solid #DFDFDF;
    position: relative;
}

#drawer ul li a {
    display: flex;
    justify-content: center;
    height: 100%;
    text-decoration: none;
    letter-spacing: .2em;
    color: white;
    position: relative;
    z-index: 3;
}

#drawer ul li .overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, .3);
    top: 0;
    left: 0;
    z-index: 2;
}

#drawer ul li img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

#drawer ul li a p {
    align-self: center;
    margin-bottom: 0;
    font-size: 18px;
}

#drawer ul li:nth-child(even) {
    border-left: 1px solid #DFDFDF;
}

@media(min-width: 768px) {
    #drawer {
        display: none;
    }
}

@media(max-width: 767px) {
    nav {
        display: none;
    }
}

@media(max-width: 767px) {
    #slick-nav {
        position: fixed;
        z-index: 15;
        width: 30px;
        height: 20px;
        right: 19px;
        top: 21px;
        cursor: pointer;
    }

    #slick-nav span {
        height: 1px;
        width: 100%;
        background-color: black;
        position: absolute;
        border-radius: 1px;
    }

    #slick-nav span.bar2 {
        top: 9.5px;
    }

    #slick-nav span.bar3 {
        bottom: 0;
    }
}

/*
top
*/
#main {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 108px;
}

#main img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
}

#main .overlay {
    position: absolute;
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
    top: 0;
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

#main h2 {
    position: relative;
    color: white;
    align-self: center;
    transition: all 1s;
    transition-delay: .5s;
    opacity: 0;
    font-size: 43px;
    letter-spacing: .2em;
    text-align: center;
}

#main h2.active {
    opacity: 1;
}

#top-news {
    position: relative;
}

#top-news img.bg-news {
    position: absolute;
    top: 0;
    z-index: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#top-news .inner {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8);
    padding: 2em 36px;
}

#top-news .inner p {
    align-self: center;
    margin: 0;
}

#top-news .inner .days {
    justify-content: flex-end;
    background: #29275e;
    color: white;
}

@media(max-width: 767px) {
    #main {
        margin-top: 61px;
    }

    #main h2 {
        font-size: 24px;
    }
}

/*
solution
*/
#solution-night .navy {
    color: #26265b;
}

#solution-night .blue {
    color: #2e9dd0;
}

#solution-video h3 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 1em;
}

#solution-video video {
    margin-bottom: 50px;
}

#solution-night h3 span {
    font-size: 90%;
    color: black;
}

/*
news
*/
#news p {
    margin-bottom: 0;
    align-self: center;
    width: 100%;
}

#news .days {
    text-align: right;
    padding: 1em;
    background: #29275e;
    color: white;
    margin-bottom: .5em;
    display: flex;
}

#news .news {
    margin-bottom: .5em;
    display: flex;
    flex-wrap: wrap;
}

/*
#contact-confirm
*/
#contact-confirm {
    padding: 50px 0;
}

/*
footer
*/
footer {
    background-color: #252525;
    padding-bottom: 1em;
}

footer .logo {
    max-width: 120px;
    width: 100%;
    display: block;
    margin: 0 auto;
    padding: 50px 0;
}

footer small {
    color: white;
    text-align: center;
    margin-bottom: 1em;
    display: block;
}