@charset "utf-8";
/* 共通設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
html {
    scroll-behavior: smooth;
}
section {
    padding: 100px;
}
.heading {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    color: #111;
}
img {
    max-width: 100%;
    vertical-align: bottom;
}
a {
    text-decoration: none;
}
/* ボタン */
.btn {
    position: relative;
    background: rgb(2, 20, 34, .7);
    color: #fff;
    border: 1px solid rgb(255, 255, 255, .5);
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    font-size: 18px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: 500;
    border-radius: 5px;
    transition: .5s;
}
.btn:hover {
    background: rgb(2, 20, 34);
    border: 1px solid rgb(255, 255, 255);
}


/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: .5s;
    text-shadow: 2px 2px #000;
}

/* ヘッダーjs */
header.sticky {
    background: #fff;
    text-shadow: none;
    padding: 20px 100px;
    box-shadow: 0 5px 20px rgb(0, 0, 0, .1);
}
header.sticky .logo {
    color: #111;
}
header.sticky ul li a  {
    color: #111;
}


header .logo {
    color: #fff;
    font-size: 24px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
}
header ul {
    position: relative;
    display: flex;
}
header ul li {
    position: relative;
    list-style: none;  
}
header ul li a {
    position: relative;
    display: inline-block;
    margin: 0 15px;
    color: #fff;
    text-decoration: none;
}

/* メイン */
/* ホーム */
.banner {
    position: relative;
    min-height: 100vh;
    background: url(../img/mainVisual.jpg);
    background-size: cover;
    background-position: right;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-shadow: 2px 2px #000;
}
.banner h2 {
    font-size: 3em;
    color: #fff;
    font-weight: 500;
    line-height: 1.5em;
}
.banner h2 span {
    font-size: 1.5em;
    font-weight: 700;
}
.banner h3 {
    font-size: 1.5em;
    color: #fff;
    font-weight: 500;
}
.heading {
    position: relative;
}
.heading h2 {
    font-weight: 600;
    font-size: 30px;
}
.content {
    display: flex;
    justify-content: space-between;
}
.w70 {
    min-width: 70%;
    padding-right: 30px;
}
.contentBx h3 {
    font-size: 24px;
    margin-bottom: 48px;
}
.contentBx dl {
    display: flex;
    flex-wrap: wrap;
    line-height: 1.7;
}
.contentBx .dl {
    margin-bottom: 16px;
}
.contentBx dt {
    width: 20%;
}
.contentBx dd {
    width: 80%;
}
.w30 {
    min-width: 30%;
}

/* 作品集 */
.works {
    background: #111;
}
.heading.white {
    color: #fff;
}
.works .content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}
.works .content .worksBx {
    padding: 40px 20px;
    background: #222;
    color: #fff;
    max-width: 340px;
    margin: 20px;
    text-align: center;
    transition: .5s;
    position: relative;
}
.works .content .worksBx:hover {
    background: #0a61a893;
}
.works .content .worksBx img {
    max-width: 250px;
    max-height: 150px;
    object-fit: cover;
}
.works .content .worksBx h2 {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 16px 0;
}
.works .content .worksBx p {
    text-align: justify;
    margin-bottom: 20px;
}
.works .content .worksBx .link {
    position: absolute;
    bottom: 10px;
    text-shadow: 1px 1px 1px #1d0f8a;
    transition: .5s;
}
.works .content .worksBx .link:hover {
    color: #fff;
}
.works .content .worksBx span {
    color: red;
    text-shadow: .5px .5px 1px rgb(255, 0, 208);
}


/* フッター */
.copyright {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 10px;
}


@media (max-width:991px) {
    header,
    header.sticky {
        padding: 20px 50px;
        z-index: 1000;
    }

    /* トグルメニュー */
    .menu {
        position: fixed;
        top: 75px;
        left: -100%;
        display: block;
        padding: 250px 50px;
        text-align: center;
        width: 100%;
        height: 100vh;
        background: #fff;
        opacity: 0;
        transition: .5s;
        z-index: 999;
        border-top: 1px solid rgb(0, 0, 0, .2);
        text-shadow: none;
    }
    .menu.active {
        left: 0;
        opacity: 1;
    }
    header ul li a {
        color: #111;
        font-size: 24px;
        margin: 10px;
    }
    .toggle {
        width: 100%;
        height: 40px;
        background: url(../img/img10.png);
        background-position: right;
        background-repeat: no-repeat;
        background-size: 30px;
        cursor: pointer;
        transition:all .3s;
    }
    .toggle.active {
        background: url(../img/img02.png);
        background-position: right;
        background-repeat: no-repeat;
        background-size: 25px;
        cursor: pointer;
    }
    header.sticky .toggle {
        filter: invert(1);
    }
    section {
        padding: 100px 50px;
    }
    .banner {
        padding: 150px 50px 100px;
    }
    .banner h2 {
        font-size: 1.5em;
    }
    .banner h3{
        font-size: 1em;
    }
    .btn {
        margin-top: 10px;
        padding: 10px 20px;
        font-size: 16px;
    }
    .heading h2 {
        font-size: 24px;
    }
    .contentBx h3 {
        font-size: 20px;
        text-align: center;
    }
    .content {
        flex-direction: column;
    }
    .w70 {
        margin-bottom: 30px;
        width: 100%;
    }
    .w30 img {
        width: 100%;
    }
    .works .content .worksBx {
        margin: 10px;
    }
}
@media (max-width:600px) {
    header,
    header.sticky {
        padding: 20px 20px;
    }
    .banner {
        padding: 150px 20px 100px;
    }
    section {
        padding: 100px 20px;
    }
}