@charset "utf-8";

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dt,
dd {
    margin: 0;
    padding: 0;
}

img {
    vertical-align: bottom;
}


html {
    font-size: 100%;
}

body {
    background-color: #F7F7F7;
    color: #1E505E;
    font-family: 'deuterium-variable', 'hiragino-kaku-gothic-pron', sans-serif;
    font-variation-settings: 'wght' 400;
    font-synthesis: none;
}

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

li {
    list-style: none;
}

a {
    color: #007394;
    text-decoration: none;
}

@view-transition {
    navigation: auto;
}

.fadein {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s;
}

.fadein.inview {
    opacity: 1;
    transform: translateY(0);
}

header {
    padding: 10px 30px;
    background-color: #f7f7f7;
}

.header-fixed {
    position: fixed;
    z-index: 50;
}

.main-logo {
    width: 50px;
    position: relative;
}

#header .hamburger {
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: fixed;
    top: 10px;
    right: 30px;
    z-index: 50;
}

#header .hamburger span {
    width: 1.5px;
    height: 20px;
    background-color: #007394;
    display: inline-block;
    position: absolute;
    transition: all 0.6s;
}

#header .hamburger span:nth-of-type(1) {
    top: 10px;
    left: 16px;
}

#header .hamburger span:nth-of-type(2) {
    top: 10px;
    left: 25px;
}

#header .hamburger span:nth-of-type(3) {
    top: 10px;
    left: 34px;
}

#header .hamburger.active span:nth-of-type(1) {
    left: 25px;
    transform: rotate(-45deg);
}

#header .hamburger.active span:nth-of-type(2) {
    opacity: 0;
}

#header .hamburger.active span:nth-of-type(3) {
    left: 25px;
    transform: rotate(45deg);
}


.navi {
    width: 160px;
    height: 480px;
    background-color: #FFF;
    border: 1px solid #007394;
    border-radius: 0px 0px 15px 15px;
    box-shadow: 13px 3px 0px 10px #Cee2e8;
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 40;
    transform: translateY(-120%);
    transition: transform ease 0.6s;
    pointer-events: none;
}

.navi.active {
    transform: translateY(0);
    pointer-events: auto;
}

.menu {
    width: 100%;
    height: 100vh;
    padding: 80px 0 45px;
    overflow: auto;
    text-align: center;
    position: relative;
}

.menu li {
    padding: 20px 0px;
    font-size: 16px;
}

.navi span {
    display: inline-block;
    background-color: #007394;
    position: absolute;
    width: 100%;
    height: 1px;
}

.navi span:nth-of-type(1) {
    bottom: 20px;
}

.navi span:nth-of-type(2) {
    bottom: 25px;
}

.navi span:nth-of-type(3) {
    bottom: 30px;
}

.header-title-ja {
    height: 240px;
    position: absolute;
    top: 24%;
    left: 43px;
    font-size: 14px;
    font-weight: 400;
    writing-mode: vertical-rl;
    letter-spacing: 8px;
    color: #3a8ba5;
    font-weight: 350;
}

.header-title-ja::before {
    content: "";
    background-color: #3a8ba5;
    width: 1px;
    height: 50px;
    position: absolute;
    top: -30%;
    left: 50%;
}

.inner-wrapper {
    padding: 0 30px;
}

.inner-wrapper2 {
    padding: 0 30px;
}

.section-title {
    padding-left: 35px;
    position: relative;
}

.section-title::before {
    content: "";
    background-color: #007394;
    height: 2px;
    width: 25px;
    position: absolute;
    top: 33%;
    left: 0%;
}

.title-en {
    color: #007394;
    font-size: 32px;
    font-weight: 400;
}

.title-ja {
    font-size: 10px;
}

.title-space {
    padding-top:70px;
    padding-bottom: 100px;
    max-width: 600px;
    margin: 0 auto;
}

.title {
    font-size: 32px;
    font-weight: 400;
    text-align: right;
    color: #007394;
}

.title-description {
    padding-top: 80px;
    font-size: 12px;
    text-align: right;
    line-height: 30px;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    position: relative;
    width: 160px;
    height: 30px;
    color: #007394;
    font-size: 14px;
    font-weight: 400;
}

.btn::after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    margin-left: 15px;
    background-image: url("/assets/images/right.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: all .3s ease-in-out;
}

.btn:hover::after {
    transform: translateX(5px);
}

.break::after {
    content: "\A";
    white-space: pre;
}

.break2::after {
    white-space: nowrap;
}



.hover-btn:hover {
    cursor: pointer
}

.hover-btn {
    position: relative;
    overflow: hidden;
}

/*button:before (attr data-hover)*/
.hover-btn:hover:before {
    opacity: 1;
    transform: translateY(0);
}

.hover-btn:before {
    content: attr(data-hover);
    position: absolute;
    top: 15%;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(100%);
    transition: all .3s ease-in-out;
    font-size: 16px;
}

/*button div (button text before hover)*/
.hover-btn:hover p {
    opacity: 0;
    transform: translateY(-100%)
}

.hover-btn p {
    transition: all .3s ease-in-out;
}



.contact {
    padding: 100px 0 100px;
    background-color: #FFF;
}

.contact-contents {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;
}

.contact-contents a {
    display: inline;
}

.contact-text {
    font-size: 12px;
    text-align: center;
}

.wrap {
    position: relative;
    width: 100%;
    min-height: 130px;

}

.circle_container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.text_circle {
    width: 230px;
    height: 230px;
    animation: rotateIt 20s linear infinite;
}

@keyframes rotateIt {
    to {
        transform: rotate(-360deg);
    }
}

.text_circle text {
    font-size: 24px;
    fill: #007394;
}

.text_circle textPath {
    letter-spacing: 6.5px;
}

.contact-img {
    margin: 0 auto 50px;
    position: relative;
    width: 125px;
    height: 125px;
    border: 1px #007394 solid;
    border-radius: 125px;
}

.contact-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    transition: transform .3s ease;
}

.contact-img:hover img {
    transform: translate(-50%, -50%) translate(10px, -10px);
}

footer {
    padding: 30px;
    background-color: #007394;
    color: #FFF;
}

footer .inner-wrapper {
    padding: 0px;
}

.main-title {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3rem;
}

.copyright {
    font-size: 10px;
    font-weight: 300;
}

.footer-menu {
    display: none;
}


@media(min-width:1024px) {
    header {
        padding: 20px 100px;
    }

    .main-logo {
        width: 80px;
        transition: transform 0.3s ease;
    }

    .main-logo:hover {
        transform: scale(1.05, 1.05);
    }

    #header .hamburger {
        width: 50px;
        height: 50px;
        top: 30px;
        right: 90px;
    }

    #header .hamburger span {
        height: 30px;
    }

    #header .hamburger span:nth-of-type(1) {
        top: 10px;
        left: 16px;
    }

    #header .hamburger span:nth-of-type(2) {
        top: 10px;
        left: 25px;
    }

    #header .hamburger span:nth-of-type(3) {
        top: 10px;
        left: 34px;
    }

    #header .hamburger.active span:nth-of-type(1) {
        left: 25px;
        transform: rotate(-45deg);
    }

    #header .hamburger.active span:nth-of-type(2) {
        opacity: 0;
    }

    #header .hamburger.active span:nth-of-type(3) {
        left: 25px;
        transform: rotate(45deg);
    }


    .navi {
        width: 230px;
        height: 600px;
    }

    .menu {
        width: 100%;
        height: 100vh;
        padding: 120px 0 120px;
    }

    .menu li {
        padding: 25px 0px;
        font-size: 20px;
    }

    .navi span {
        display: inline-block;
        background-color: #007394;
        position: absolute;
        width: 100%;
        height: 1px;
    }

    .navi span:nth-of-type(1) {
        bottom: 30px;
    }

    .navi span:nth-of-type(2) {
        bottom: 40px;
    }

    .navi span:nth-of-type(3) {
        bottom: 50px;
    }


    .header-title-ja {
        height: 400px;
        position: absolute;
        top: 40%;
        left: 120px;
        font-size: 24px;
        letter-spacing: 12px;
    }

    .header-title-ja::before {
        content: "";
        width: 1.5px;
        height: 100px;
        position: absolute;
        top: -35%;
        left: 50%;
    }


    .inner-wrapper {
        padding: 0 100px;
    }

    .inner-wrapper2 {
        max-width: 980px;
        margin: 0 15%;
    }

    .section-title {
        padding-left: 195px;
    }

    .section-title::before {
        height: 2px;
        width: 165px;
        top: 40%;
    }

    .title-en {
        font-size: 54px;
    }

    .title-ja {
        font-size: 14px;
    }

    .title-space {
        padding-bottom: 200px;
        max-width: 910px;
        margin: 0 auto;
    }

    .title {
        font-size: 54px;
    }

    .title-description {
        padding-top: 80px;
        padding-left: 70px;
        font-size: 16px;
        text-align: left;
    }

    .btn {
        margin: 0 auto;
        width: 250px;
        height: 60px;
        font-size: 20px;
    }

    .btn::after {
        content: "";
        display: block;
        width: 40px;
        height: 40px;
        margin-left: 25px;
        transition: all .3s ease-in-out;
    }

    .btn:hover::after {
        transform: translateX(10px);
    }

    .circle-link {
        position: relative;
    }

    .circle-link::before {
        content: "";
        position: absolute;
        left: var(--x);
        top: var(--y);
        width: 8px;
        height: 8px;
        background: #67ccce;
        opacity: 0.5;
        border-radius: 50%;
        pointer-events: none;
        transform: translateY(-50%) scale(0);
        transition: transform 0.3s ease;
    }

    .circle-link:hover::before {
        transform: translateY(-50%) scale(10);
    }

    .break::after {
        white-space: nowrap;
    }

    .break2::after {
        content: "\A";
        white-space: pre;
    }

    .contact {
        padding: 100px 0 150px;
    }

    .contact-contents {
        width: 625px;
        margin: 50px auto 0;
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        align-items: center;
    }

    .contact-text {
        font-size: 16px;
        text-align: left;
    }

    .wrap {
        min-height: 200px;
    }

    .circle_container {
        position: absolute;
        top: 46%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .text_circle {
        width: 330px;
        height: 330px;
    }

    .contact-img {
        margin: 0 auto 0px;
        width: 180px;
        height: 180px;
        border-radius: 180px;
    }

    .contact-img img {
        width: 105px;
    }

    footer {
        padding: 50px 0 40px;
    }

    footer .inner-wrapper {
        padding: 0 60px 0 100px;
    }

    .footer-contents {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .main-title {
        font-size: 36px;
        line-height: 3.2rem;
    }

    .copyright {
        font-size: 14px;
    }

    .footer-menu {
        display: block;
    }

    .footer-menu-contents {
        display: flex;
        justify-content: space-between;
        font-size: 20px;
    }

    .footer-menu-contents p {
        padding: 0 40px;
        font-variation-settings: 'wght' 300;
    }

    .hover-btn:before {
        font-size: 14px;
        text-align: center;
    }

    .footer-menu-contents a {
        color: #FFF;
    }
}