@charset "UTF-8";

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
}

/* header */

.header {
    padding: 5px 5vw 5px;
    position: fixed;
    top: 0;
    z-index: 20;
    width: 100%;
    background-color: #fcfcfc;
    box-shadow: 3px 0 3px #f3fbfe;
}

.header-inner {
    max-width: 1200px;
    width: 100%;
    height: clamp(50px, 12vw, 100px);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 10vw;
    max-width: 100px;
    min-width: 60px;
    height: auto;
    transform: translateY(15%);
}

.header-rightside {
    width: 460px;
    height: 100%;
    position: relative;
}

nav {
    height: 100%;
    width: 100%;
}

/* btn */

.common-btn {
    width: clamp(120px, 15vw, 160px);
    height: clamp(40px, 5vw, 50px);
    background-color: azure;
    border-radius: 30px;
    background: linear-gradient(45deg, #50D5FF, #51C0E3);
    padding: 0 clamp(19px, 1%, 25px);
}

.common-btn:hover{
    background: linear-gradient(45deg, #7be0ff, #6fdeff);
}

.common-btn a {
    position: relative;
    display: block;
    width: 100%;
    display: block;
    height: 100%;
}


.common-btn-text {
    position: absolute;
    font-size: clamp(20px, 2.5vw, 27px);
    font-weight: 600;
    color: #fcfcfc;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.btn-icon {
    width: 1vw;
    height: 1vw;
    max-width: 12px;
    min-width: 10px;
    max-height: 12px;
    min-height: 10px;
    border-right: solid 3px;
    border-top: solid 3px;
    transform: rotate(45deg) translateY(-50%);
    color: #fcfcfc;
    position: absolute;
    right: 0;
    top: 50%;
}

.contact-btn {
    position: absolute;
    right: 0;
    top: 10%;
    width: 17vw;
    max-width: 145px;
    min-width: 110px;
    max-height: 45px;
    min-height: 35px;
    padding: 0 clamp(15px, 1%, 25px);

}

.contact-btn-text {
    font-size: clamp(14px, 2.2vw, 20px);
}

.contact-btn-icon {
    width: clamp(8px, 1.3vw, 10px);
    height: clamp(8px, 1.3vw, 10px);
}

.header-menu-btn {
    display: flex;
    position: absolute;
    bottom: 0;
    right: 0;
}

.header-menu-btn li {
    max-width: 150px;
    min-width: 130px;
    color: #3BACD0;
}

.header-menu-btn li:hover{
    color: #6bcce9;
}

.header-menu-btn li a {
    display: block;
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 600;
    text-align: center;
}

.header-menu-btn *:not(:last-child) {
    border-right: solid 2px #cef4ff;
}

/* ハンバーガーメニュー */
.hum-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.hum-menu li {
    width: 30px;
    height: 5px;
    background-color: #3BACD0;
    margin-top: 5px;
    transition: all .3s;
}

.hum-menu.is-active li:nth-of-type(2) {
    display: none;
}

.hum-menu.is-active li:nth-of-type(1) {
    transform: translateY(5px) rotate(45deg);
    width: 32px;
}

.hum-menu.is-active li:nth-of-type(3) {
    transform: translateY(-5px) rotate(-45deg);
    width: 32px;
}

.hum-menu-inner {
    position: fixed;
    height: calc(100vh - 50px);
    width: 100vw;
    top: clamp(50px, 12vw, 100px);
    left: 100%;
    padding-top: 5vh;
    background-color: #fcfcfc;
    transition: all .3s;
}

.hum-menu-inner.is-active {
    left: 0;
}

.hum-menu-inner li {
    height: 8vh;
    min-height: 70px;
    font-weight: 600;
    color: #565252;
}

.hum-menu-inner li a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.hum-menu-inner li a p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(20px, 4vw, 25px);
}



.hum-menu-inner li:hover {
    background: linear-gradient(30deg, #50D5FF, #51C0E3);
    color: #fcfcfc;
}

/* アニメーション */
canvas {
    display: block;
    vertical-align: bottom;
}

.first-view {
    width: 100%;
    background-color: #fcfcfc;
    position: relative;
    margin-top: 50px;
}

.first-view-anim-back,
.first-view-anim-front {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.first-view-anim-back {
    z-index: 1;
}

.first-view-anim-front {
    z-index: 2;
}


/* title */
.first-view-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 200px;
    width: 20vw;
    min-width: 130px;
    background-color: #fcfcfc8e;
    height: 65px;
    z-index: 5;
}

.content-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 600;
    color: #565252;
    text-align: center;
}

.content-subTitle {
    text-align: center;
    margin-top: 3px;
    font-size: 21px;
    font-size: clamp(10px, 1.8vw, 15px);
    font-weight: 600;
    color: #3BACD0;
}

.main {
    background-color: #fcfcfc;
}


/* footer */
.footer {
    background-color: #606060;
}

.footer-inner {
    padding: 17px 0 10px;
    max-width: 1200px;
    width: 100%;
    height: 120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:space-between;
}

.footer-icon {
    width: 50px;
    height: 30px;
    border-radius: 7px;
    background: linear-gradient(to bottom, #50D5FF, #51C0E3);
    position: relative;
}

.footer-icon:hover{
    background: linear-gradient(45deg, #57d8ff, #6fdeff);
}

.footer-icon a {
    display: block;
    width: 100%;
    height: 100%;
}

.footer-icon-inner {
    width: 15px;
    height: 15px;
    border-right: solid 4px #fcfcfc;
    border-top: solid 4px #fcfcfc;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30%) rotate(-45deg);
}

.footer-text {
    color: #d3d3d3;
}

/* レスポンシブデザイン */
@media(max-width:400px) {
    .contact-btn {
        display: none;
    }
}

@media (max-width: 759px) {

    /* header */
    .header-menu-btn {
        display: none;
    }

    .hum-menu {
        display: block;
    }


    .contact-btn {
        right: 20%;
        top: 50%;
        transform: translateY(-50%);

    }

    .footer-inner {
        height: 130px;
    }

}