@charset "utf-8";

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 0.667vw;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    background-color: #fff;
    font-size: 2rem;
    color: #333333;
    font-feature-settings: "palt";
    position: relative;
    padding-top: 72rem;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.sp-only {
    display: none;
}

.sec-title {
    font-size: 2.6rem;
    text-align: center;
    font-family: "gotham", sans-serif;
    font-weight: bold;
    color: #000;
    position: relative;
    padding-bottom: 0.8rem;
    margin-bottom: 2rem;
}

.sec-title::before {
    content: "";
    display: inline-block;
    width: 26.7rem;
    height: 2.1rem;
    background-image: url(../img/title_line.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

.sec-title.gray::before {
    background-image: url(../img/title_line_gray.png);
}

.fadein {
    opacity: 0;
    transition: all 2s;
    transition-delay: 0.5s;
}

.fadein.scrollin {
    opacity: 1;
}

/* ヘッダー */

header {
    position: sticky;
    top: 0;
}

header.is-stuck {
    background-color: rgb(255 255 255 / 75%);
    z-index: 99;
}

header .logo {
    opacity: 0;
}

header.is-stuck .logo {
    opacity: 1;
}

header .logo a {
    display: flex;
}

header .logo img {
    width: 8.4rem;
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 91rem;
    margin: auto;
    padding: 1.2rem 0;
}

.navi-btn {
    display: none;
}

.gnav ul {
    list-style: none;
    display: flex;
    gap: 4.8rem;
}

.gnav ul li {
    position: relative;
}

.gnav ul li a {
    color: #333333;
    text-decoration: none;
    font-family: "gotham", sans-serif;
    font-weight: 500;
    font-size: 1.8rem;
}

.gnav ul li.active a {
    color: #00b0f0;
}

.gnav ul li.active::before {
    content: "";
    background-image: url(../img/nav_line.png);
    width: 12.4rem;
    height: 2.1rem;
    display: inline-block;
    background-size: cover;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

/* フッター */

footer {
    background-color: #e6e6e6;
    text-align: center;
    padding: 4rem 0;
}

.copyright {
    font-size: 1.2rem;
    color: #666666;
}

/* MV */

#mv {
    position: absolute;
    padding-top: 4.8rem;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.mv-inner {
    width: 100rem;
    margin: auto;
    position: relative;
}

#mv ul {
    list-style: none;
}

.main-logo {
    width: 15.2rem;
    position: absolute;
    top: 100%;
    padding-top: 7.2rem;
    z-index: 99;
    left: 4rem;
    background: #fff;
}

#mv .slick-prev,
.slick-next {
    width: 1.4rem;
    height: 2.8rem;
}

#mv .slick-prev::before {
    content: "";
    width: 1.4rem;
    height: 2.8rem;
    background-image: url(../img/slide_prev.png);
    display: inline-block;
    background-size: cover;
    background-position: center;
}

#mv .slick-next::before {
    content: "";
    width: 1.4rem;
    height: 2.8rem;
    background-image: url(../img/slide_next.png);
    display: inline-block;
    background-size: cover;
    background-position: center;
}

#mv .slick-dots {
    bottom: -2.8rem;
}

#mv .slick-dots li {
    width: 1rem;
    height: 1rem;
    margin: 0 0.5rem;
}

#mv .slick-dots li button {
    appearance: none;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #dcdddd;
    padding: 0;
}

#mv .slick-dots li button:before {
    display: none;
}

#mv .slick-dots li.slick-active button {
    background-color: #00b0f0;
}

/* ABOUT */

#about {
    padding-top: 8.4rem;
    padding-bottom: 6.4rem;
    text-align: center;
}

.about-contents {
    margin-top: 6rem;
    line-height: 4rem;
    display: inline-block;
    position: relative;
}

.deco1 {
    width: 32.5rem;
    position: absolute;
    left: 103%;
    bottom: 98%;
    z-index: -1;
}

.deco2 {
    width: 37.6rem;
    position: absolute;
    right: 97.5%;
    top: 23%;
}

/* SERVICE */

#service {
    padding-top: 4rem;
    padding-bottom: 12.4rem;
    text-align: center;
    background-position: center;
    position: relative;
    background-color: #c6eefc;
}

#service::before {
    content: "";
    display: block;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 100%;
    height: 1rem;
    background-image: url(../img/service_border_t.png);
    background-size: 147.8rem;
    background-position-x: 1rem;
}

#service::after {
    content: "";
    display: block;
    width: 100%;
    position: absolute;
    left: 0;
    top: 100%;
    height: 1rem;
    background-image: url(../img/service_border_b.png);
    background-size: 147.8rem;
    background-position-x: 1rem;
}

.service-contents {
    width: 87rem;
    margin: 6rem auto 0;
    position: relative;
    z-index: 2;
}

#service .lead {
    line-height: 4rem;
    margin-bottom: 5.8rem;
}

.service-list {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.service-list li {
    width: 15.6rem;
}

.service-list li p {
    line-height: 4rem;
    margin-top: 0.4rem;
}

.service-img-wrap {
    text-align: right;
    margin-top: 4.8rem;
    position: relative;
}

.service-img {
    width: 47.8rem;
}

.service-img.btm {
    position: absolute;
    left: 0;
    top: 20.8rem;
}

.service-msg {
    position: absolute;
    width: 26.1rem;
    height: 26.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../img/service_balloon.png);
    background-size: contain;
    font-size: 1.6rem;
    line-height: 3.5rem;
    text-align: center;
    top: -1.6rem;
    right: 52rem;
}

.deco3 {
    width: 37.5rem;
    position: absolute;
    bottom: 93%;
    left: 96%;
}

.deco4 {
    width: 32.5rem;
    position: absolute;
    right: 105.5%;
    bottom: 2%;
}

/* PHILOSOPHY */

#philosophy {
    text-align: center;
    padding-top: 16rem;
}

.philosophy-contents {
    margin-top: 6rem;
    position: relative;
    display: inline-block;
}

#philosophy .border {
    width: 21rem;
    margin-top: 8rem;
    margin-bottom: 5.2rem;
}

#philosophy dl dt {
    color: #00b0f0;
    font-weight: normal;
    font-size: 2.2rem;
    letter-spacing: 0.4rem;
    margin-bottom: 1.6rem;
}

#philosophy dl dd {
    line-height: 4rem;
}

.deco5 {
    position: absolute;
    width: 37.7rem;
    bottom: 112%;
    left: 98%;
}

/* COMPANY */

#company {
    padding-top: 12rem;
    padding-bottom: 9.2rem;
}

.company-contents {
    width: 92rem;
    margin: 10rem auto 0;
    position: relative;
    padding-left: 11rem;
}

#company h3 {
    color: #00b0f0;
    font-weight: normal;
    font-size: 1.9rem;
}

.company-prof {
    display: flex;
    gap: 2.8rem;
    position: relative;
    z-index: 2;
}

.company-prof .img-area {
    width: 31.3rem;
    flex-shrink: 0;
}

.company-prof .contents-area {
    width: 100%;
}

.company-history {
    margin-top: 2rem;
}

.company-contents table {
    width: 100%;
    border-collapse: collapse;
}

.company-contents table th {
    border-bottom: 1px solid #cccccc;
    font-weight: normal;
    text-align: left;
    vertical-align: text-top;
    padding: 0.7rem 0;
    width: 14rem;
}

.company-contents table td {
    border-bottom: 1px solid #cccccc;
    padding: 0.7rem 0;
}

.company-contents table td a {
    color: #333333;
    text-decoration: none;
}

.company-contents table tr:last-child th,
.company-contents table tr:last-child td {
    border-bottom: none;
}

.deco6 {
    width: 40.1rem;
    position: absolute;
    bottom: 79.5%;
    right: 92.5%;
}

.deco7 {
    width: 30.2rem;
    position: absolute;
    left: 92%;
    top: 16.4%;
}

.deco8 {
    width: 32.5rem;
    position: absolute;
    bottom: -6%;
    right: 97%;
}

/* CONTACT */

#contact {
    padding-top: 6rem;
    padding-bottom: 1.2rem;
    position: relative;
    background-color: #e6e6e6;
}

#contact::before {
    content: "";
    display: block;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 100%;
    height: 1rem;
    background-image: url(../img/contact_border.png);
    background-size: 147.8rem;
    background-position-x: 1rem;
}

.contact-contents {
    width: 70rem;
    margin: 6.8rem auto 0;
}

#contact .map iframe {
    width: 100%;
    height: 36.4rem;
}

#contact .address {
    font-size: 1.6rem;
    padding: 2rem 4rem;
}

#contact .contact {
    padding: 2rem 4rem;
}

#contact h3 {
    color: #808080;
    font-weight: normal;
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

#contact .contact table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.6rem;
}

#contact .contact table th {
    text-align: left;
    font-weight: normal;
    padding: 0.2rem 0;
    width: 8rem;
}

#contact .contact table td {
    padding: 0.2rem 0;
}

#contact .contact table td a {
    text-decoration: none;
    color: #333;
}

#contact .contact table td .email {
    text-decoration: underline;
}

@media screen and (max-width: 786px) {
    html {
        font-size: 1.273vw;
    }

    body {
        padding-top: 0;
        overflow: auto;
    }

    main {
        overflow-x: hidden;
    }

    header {
        position: sticky;
        width: 100%;
        background-color: #fff;
        z-index: 99;
        height: 14rem;
        top: 0;
    }

    .header-wrap {
        width: 72rem;
        padding: 0;
        height: 14rem;
    }

    header .logo {
        opacity: 1;
    }

    header .logo img {
        width: 13.6rem;
    }

    .navi-btn {
        font-family: "gotham", sans-serif;
        color: #00b0f0;
        font-size: 2.5rem;
        height: 7rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        margin-top: 0.8rem;
    }

    .open-btn {
        width: 7rem;
        position: relative;
        cursor: pointer;
        display: inline-block;
        height: 2.4rem;
        z-index: 100;
    }

    .navi-btn .open-btn span {
        position: absolute;
        display: block;
        width: 7rem;
        height: 0.2rem;
        background: #00b0f0;
        border-radius: 1rem;
        transition: all .3s;
    }

    .navi-btn .open-btn span:nth-of-type(2) {
        top: 2rem;
        opacity: 1;
        transition: all .3s;
    }

    .navi-btn.active {
        justify-content: center;
    }

    .navi-btn.active .open-btn span {
        background-color: #fff;
    }

    .navi-btn.active .open-btn span:first-of-type {
        transform: rotate(-45deg) translateY(0.8rem) translateX(-0.6rem);
    }

    .navi-btn.active .open-btn span:nth-of-type(2) {
        transform: rotate(45deg) translateY(-0.7rem) translateX(-0.4rem);
    }

    .navi-btn.active p {
        display: none;
    }

    .gnav {
        position: fixed;
        z-index: 99;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background-color: rgb(0 176 240 / 65%);
        transition: all 0.2s ease-in-out 0.05s;
        backdrop-filter: blur(1.2rem);
        -webkit-backdrop-filter: blur(1.2rem);
        height: 100dvh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .gnav.active {
        right: 0;
    }

    .gnav ul {
        text-align: left;
        flex-direction: column;
        gap: 6rem;
    }

    .gnav ul li.active::before {
        display: none;
    }

    .gnav ul li a {
        color: #fff;
        font-size: 7.6rem;
    }

    .gnav ul li.active a {
        color: #fff;
    }

    #mv {
        position: relative;
        padding-top: 0;
    }

    .mv-inner {
        width: 100%;
    }

    #mv .slick-dots {
        bottom: -4rem;
    }

    .main-logo {
        display: none;
    }

    .deco1 {
        width: 25.1rem;
        left: 86%;
        bottom: 27%;
    }

    .deco2 {
        width: 26.3rem;
        right: 72%;
        top: -84%;
    }

    #service {
        padding-bottom: 10rem;
    }

    #service::before,
    #service::after {
        background-position-x: -0.8rem;
    }

    #service .lead {
        margin-bottom: 4rem;
    }

    .service-contents {
        width: 72rem;
    }

    .service-list {
        gap: 1.2rem;
    }

    .service-list li {
        width: 100%;
    }

    .service-list li p {
        font-size: 1.8rem;
    }

    .service-img {
        width: 40rem;
    }

    .service-img.btm {
        top: 17.2rem;
    }

    .service-msg {
        width: 20.8rem;
        height: 20.8rem;
        font-size: 1.3rem;
        line-height: 2.6rem;
        top: -0.6rem;
        right: 43rem;
    }

    .deco3 {
        width: 26.3rem;
        bottom: 96%;
        left: 76%;
    }

    .deco4 {
        width: 25.1rem;
        right: 84.5%;
        bottom: -4%;
        z-index: -1;
    }

    .deco5 {
        width: 28rem;
        bottom: 116%;
        left: 88%;
    }

    .company-contents {
        width: 72rem;
        padding-left: 0;
    }

    .deco6 {
        width: 26.3rem;
        bottom: 100%;
        right: 71%;
    }

    #contact::before {
        background-position-x: -0.8rem;
    }

    .deco7 {
        width: 22rem;
        left: 82%;
        top: 30%;
    }

    .deco8 {
        width: 20rem;
        bottom: -6%;
        right: 86%;
        z-index: -1;
    }
}

@media only screen and (min-width: 1500px) {
    html {
        font-size: 10px;
    }
}