@charset "UTF-8";
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

p,
h1,
h2,
h3,
h4,
a,
li,
i {
    margin: 0;
    color: #5d6164;
}

a {
    text-decoration: none;
}

.fa-twitter {
    font-size: 30px;
}

#container {
    font-size: 18px;
}

h2 {
    font-size: 60px;
    text-align: center;
}

h3 {
    font-size: 30px;
}

.module-title {
    position: relative;
    margin-bottom: 50px;
    font-weight: 300;
}

.module-title span {
    font-size: 100px;
    position: absolute;
    left: 0;
    right: 0;
    top: -40px;
    text-align: center;
    z-index: 0;
    opacity: 0.1;
    font-weight: 700;
}

.module-line {
    background: #666;
    width: 55px;
    height: 1px;
    margin: 30px auto;
}

.header {
    width: 100%;
    font-size: 35px;
    position: absolute;
    z-index: 999;
}

.header li {
    list-style-type: none;
}

.header a {
    color: #fff;
    height: 100%;
    width: 100%;
}

.nav-content {
    display: block;
}

.nav_list {
    margin: 8px 40px;
    display: flex;
    justify-content: flex-end;
}

.nav_list li {
    position: relative;
}

.nav_list li:not(:first-of-type) {
    margin-left: 30px;
}

.nav_list a:after {
    position: absolute;
    left: 0;
    content: "";
    width: 100%;
    height: 1.5px;
    background: #5d6164;
    bottom: -1px;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform 0.4s;
}

.nav_list a:hover:after {
    transform: scale(1, 1);
}

#main {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

#main::after {
    content: "";
    background-color: rgba(66, 62, 62, 0.4);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

#top-img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
}

.intro img {
    width: 500px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    z-index: 99;
}

.intro h3 {
    white-space: nowrap;
    color: #fff;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateY(-60%) translateX(-50%);
    -webkit-transform: translateY(-60%) translateX(-50%);
    z-index: 99;
}

.wheel {
    position: absolute;
    bottom: 36px;
    left: 50%;
    margin-left: -10px;
    width: 20px;
    height: 38px;
    border: 2px solid #fff;
    border-radius: 19px;
    box-sizing: border-box;
    z-index: 100;
    transition: all 0.2s ease-in-out;
}

.wheel:before {
    content: "";
    /*描画位置*/
    position: absolute;
    left: 6.5px;
    /*丸の形状*/
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #eee;
    animation: circlemove 1.6s ease-in-out infinite,
        cirlemovehide 1.6s ease-out infinite;
}

/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove {
    0% {
        bottom: 30px;
    }
    100% {
        bottom: 0px;
    }
}

/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    80% {
        opacity: 0.9;
    }
    100% {
        opacity: 0;
    }
}

#about {
    padding: 30px 100px 100px;
}

.about-flex {
    display: flex;
    justify-content: center;
    column-gap: 4%;
    align-items: center;
    max-width: 815px;
    margin: 0 auto;
}

.about-img-area {
    width: 320px;
    max-width: 400px;
    text-align: center;
    flex: 1;
}

.about-img-area img {
    width: 80%;
    border-radius: 30px;
    min-width: 280px;
}

.about-text-area {
    position: relative;
    max-width: 390px;
    width: 90%;
    padding-top: 30px;
}

.about-text-area h3 {
    margin: 0 7px;
}

.about-text-area p {
    margin-top: 10px;
    padding-left: 10px;
    width: 100%;
}

.about-text-area ul {
    margin-top: 5px;
    line-height: 33px;
    padding-left: 28px;
    width: 100%;
}

.about-right {
    position: relative;
    display: inline-block;
    margin-top: 30px;
    margin-left: 24px;
    width: 100%;
}

.about-icon {
    margin: 0 50 15px;
}

.about-icon i {
    position: absolute;
    font-size: 50px;
    left: 0;
    top: 0;
}

.about-iconbox-right {
    margin: 0 65px;
}

.about-title {
    display: flex;
}

.about-title i {
    margin-top: 6px;
}

.about-desc {
    display: inline-block;
    margin-bottom: 30px;
}

#works {
    padding: 30px 10px 100px;
}

.work-list {
    display: flex;
    justify-content: center;
    margin: 10px 5%;
}

.work-content {
    width: 100%;
    margin: 0 10px;
    text-align: center;
    align-items: center;
    max-width: 400px;
}

.work-content img {
    width: 80%;
    height: 200px;
    margin: 25px 10px 20px;
    object-fit: cover;
    border-radius: 30px;
}

.work-content p {
    text-align: left;
    line-height: 25px;
    margin: 0 30px;
}

.work-content h3 {
    margin-bottom: 20px;
}

.work-content a {
    transition: 0.5s linear;
}

.work-content a:hover {
    opacity: 0.7;
    transition: 0.5s linear;
}

#service {
    padding: 30px auto 100px;
}

.service-list {
    width: 90%;
    margin: 10px auto 0;
    padding-bottom: 100px;
    padding-top: 30px;
    display: flex;
    justify-content: center;
}

.service-content {
    background: #fff;
    padding: 30px 25px;
    position: relative;
    text-align: center;
    max-width: 340px;
    min-width: 280px;
    box-shadow: -6px 10px 20px rgb(0 0 0 / 6%);
}

.service-content:first-of-type {
    margin-right: 5%;
}

.service-content:not(:first-of-type) {
    margin-left: 5%;
}

.service-icon {
    position: absolute;
    left: 0;
    right: 0;
    top: -35px;
    height: 100px;
    width: 100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0px 10px 40px rgb(0 0 0 / 11%);
}

.service-icon i {
    position: absolute;
    left: 0;
    right: 0;
    top: 25px;
    font-size: 50px;
}

.service-title h3 {
    margin: 50px 0 15px;
}

.service-desc {
    text-align: left;
}

#contact {
    padding: 30px 20px 30px;
}

#contact p {
    text-align: center;
}

.email {
    font-size: 30px;
    text-decoration: underline;
    margin: 25px auto;
}

.g-form {
    position: relative;
    padding-bottom: 140px;
    overflow: hidden;
    min-height: 880px;
}

.g-form iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.footer-box {
    background: #2f3132;
    padding: 24px 60px 30px;
    text-align: center;
}

.footer-box p {
    font-size: 20px;
    margin-top: 10px;
}

.pagetop {
    height: 45px;
    width: 45px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #5d6164;
    border: solid 2px #c7c3c3;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #c7c3c3;
    border-right: 3px solid #fff;
    transform: translateY(20%) rotate(-45deg);
}

.pagetop:hover {
    height: 60px;
    width: 60px;
    border: solid 3px #c7c3c3;
}

@media screen and (min-width: 768px) {
    .pc_none {
        display: none !important;
    }
}

@media screen and (max-width: 767px) {
    #container {
        font-size: 16px;
    }

    h2 {
        font-size: 40px;
    }

    h3 {
        font-size: 30px;
    }

    .module-title {
        margin-bottom: 8px;
    }

    .module-title span {
        display: none;
    }

    #nav-open {
        background: #000;
        width: 39px;
        height: 34px;
        position: fixed;
        right: 0;
        top: 0;
        padding: 18px;
        z-index: 9998;
        cursor: pointer;
    }

    #nav-open span,
    #nav-open span:before,
    #nav-open span:after {
        position: absolute;
        transition: all 0.4s;
        height: 4px;
        width: 40px;
        border-radius: 2px;
        background: #fff;
        display: block;
        content: "";
        z-index: 9999;
    }

    #nav-open span:before {
        bottom: -15px;
    }

    #nav-open span:after {
        bottom: -30px;
    }

    #nav-open.active span {
        -webkit-transform: translateY(15px) rotate(-45deg);
        transform: translateY(15px) rotate(-45deg);
    }

    #nav-open.active span:before {
        -webkit-transform: translateY(-8px) rotate(45deg);
        transform: translateY(-8px) rotate(45deg);
        opacity: 0;
    }

    #nav-open.active span:after {
        -webkit-transform: translateY(-30px) rotate(45deg);
        transform: translateY(-30px) rotate(90deg);
    }

    #nav-content {
        display: none;
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        transition: 0.6s ease-out;
    }

    #nav-content.open {
        display: block;
        opacity: 1;
        overflow: auto;
        position: fixed;
        z-index: 9997;
        width: 100%;
        height: 100%;
        background: #fff;
        opacity: 0.8;
    }

    #nav-content a {
        color: #000;
        opacity: 1;
    }

    .nav_list {
        display: block;
        margin-top: 100px;
        padding: 0;
        font-size: 50px;
    }

    .nav_list li {
        text-align: center;
        margin-bottom: 20px;
        padding-bottom: 14px;
        border-bottom: 2px solid #000;
        width: 100%;
    }

    .nav_list li:first-of-type {
        position: static;
    }

    .nav_list li:not(:first-of-type) {
        margin-left: 0;
    }

    .nav_btn {
        display: block;
        cursor: pointer;
    }

    #main {
        height: 600px;
    }

    #main h1 {
        font-size: 80px;
        white-space: normal;
        text-align: center;
    }

    .intro img {
        width: 80%;
        height: auto;
    }

    #about {
        padding: 30px 10px 0;
    }

    .about-flex {
        display: block;
        flex-wrap: wrap;
    }

    .about-img-area {
        width: 100%;
        margin: 0 auto;
    }

    .about-right {
        margin: 0 auto;
    }

    .about-text-area {
        width: 100%;
        margin: 30px auto 10px;
        padding-left: 10px;
    }

    .about-text-area p {
        margin-top: 10px;
    }

    .about-text-area ul {
        margin: 10px auto 0;
    }

    .about-title i {
        margin-top: 7px;
    }

    #works {
        padding: 30px 10px 0;
    }

    #works h2 {
        margin-bottom: 8px;
    }

    .work-list {
        display: block;
    }

    .work-content {
        margin: 30px auto 0;
    }

    #service {
        padding: 30px 10px 0;
    }

    #service h2 {
        margin-bottom: 8px;
    }

    .service-list {
        display: block;
        padding-bottom: 0;
        margin: 0 auto;
    }

    .service-content {
        min-width: auto;
    }

    .service-content:first-of-type {
        margin: 30px auto 0;
    }

    .service-content:not(:first-of-type) {
        margin: 80px auto 0;
    }

    #contact {
        padding: 40px 10px 0;
    }

    .email {
        font-size: 25px;
    }

    .g-form {
        margin: 0 auto 30px;
        width: 90%;
    }

    .footer-nav {
        padding: 0 60px;
        margin-bottom: 10px;
    }

    .footer-nav ul {
        flex-wrap: wrap;
        padding: 0;
    }

    .footer-nav li:not(:last-of-type) {
        margin-right: 0;
        width: 50%;
    }

    .footer-nav li:last-of-type {
        width: 50%;
    }

    .footer-box {
        padding: 10px 20px 30px;
    }

    .footer-box p {
        font-size: 25px;
    }

    .sns-area {
        margin-top: 20px;
    }
}
