@charset "utf-8";
/*
Theme Name: :株式会社 悠優
Author: yuta.s
Author URI: https://addone-works.com/
Description:株式会社 悠優のテーマ
version: 1.0.0
*/

/*header
-----------------------------------------------------------------------------------------*/
.header-bg {
    height: 100vh;
    width: 100%;
    position: relative;
}

.header-top {
    height: 100px;
    position: fixed;
    width: 100%;
    z-index: 999999;
    padding: 5px;
    text-align: left;
}

.header-top.invert {
    background-color: rgba(255, 255, 255, 0.8);
    transition: 1s;
}

.header-logo {
    height: 100%;
    text-align: left;
}

.catch-box {
    font-size: 600%;
    position: relative;
}

.catch-box p {
    position: absolute;
    right: 1.2%;
    top: 12%;
    z-index: -1;
}

#dolphin-box {
    overflow: hidden;
}

#dolphin-box img {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    max-width: 95%;
}

#dolphin-box .src1 {
    opacity: 1;
    z-index: 2;
}

#dolphin-box .src2 {
    opacity: 0;
}

.sub-catch {
    text-align: right;
    font-size: 180%;
    margin-top: 30px;
}

.head-italic-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    z-index: 999;
}

.head-italic {
    display: inline-block;
    transform: rotate(-7deg);
}

.header-wave {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 30;
}

.wave-parallax>use {
    animation: move-forever 12s linear infinite;
}

.wave-parallax>use:nth-child(1) {
    animation-delay: -2s;
}

.wave-parallax>use:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 5s;
}

.wave-parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 3s;
}

@keyframes move-forever {
    0% {
        transform: translate(-90px, 0%);
    }

    100% {
        transform: translate(85px, 0%);
    }
}

.wave {
    display: block;
    width: 100%;
    height: 3em;
    max-height: 100vh;
    margin: 0;
    bottom: 0px;
}

header .fa-phone-volume {
    z-index: 99990;
    position: fixed;
    bottom: 10%;
    right: 2%;
    font-size: 500%;
}

.drawer-menu li {
    margin-top: 30px;
    padding: 0 3%;
}

a.drawer-menu-item {
    font-size: 220%;
    color: rgb(50, 98, 134);
}

/* ドロワーメニューの背景色 */
nav.drawer-nav {
    background: rgb(239, 251, 255);
}

/* ドロワーメニュー開いた時の幅 */
.drawer--right.drawer-open .drawer-nav {
    width: 40%;
}

/* ハンバーガーアイコンのサイズ */
button.drawer-hamburger {
    width: 3%;
}

/* ハンバーガーアイコンの位置 */
button.drawer-hamburger {
    top: 1% !important;
    right: 2% !important;
}


/*footer
-----------------------------------------------------------------------------------------*/
.footer-img-flex {
    display: flex;
}

.footer-img-flex img {
    padding: 5px;
    box-sizing: border-box;
}

.copy {
    padding: 10px 0;
    background-color: rgb(239, 251, 255);
}

@media screen and (max-width:1200px) {
    .catch-box {
        font-size: 400%;
    }
}

@media screen and (max-width:1023px) {
    .header-top {
        height: 50px;
    }

    .catch-box {
        font-size: 180%;
    }

    .catch-box p {
        right: 2.5%;
    }

    .sub-catch {
        font-size: 85%;
        margin-top: 30px;
    }

    header .fa-phone-volume {
        right: 3%;
        font-size: 300%;
    }

    .drawer-menu li {
        margin-top: 30px;
        padding: 0 3%;
    }

    a.drawer-menu-item {
        font-size: 120%;
    }

    /* ドロワーメニュー開いた時の幅 */
    .drawer--right.drawer-open .drawer-nav {
        width: 55%;
    }

    /* ハンバーガーアイコンのサイズ */
    button.drawer-hamburger {
        width: 13%;
    }

    /* ハンバーガーアイコンの位置 */
    button.drawer-hamburger {
        top: 0.2% !important;
        right: 1% !important;
    }

    /*footer
-----------------------------------------------------------------------------------------*/
    .footer-img-flex {
        display: block;
    }

    .footer-img-flex img {
        padding: 5px;
        box-sizing: border-box;
    }

    .copy {
        padding: 10px 0;
    }
}

@media (max-width: 50em) {
    .wave {
        height: 10vw;
    }
}