@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

html {
    font-family: "Noto Sans JP";
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #eaeaea;
}

/* ヘッダー */
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

/* ロゴ */
#header_logo {
    position: fixed;
    top: 30px;
    left: 30px;
    display: block;
    width: 30px;
    height: 30px;
}

#header_logo img {
    width: 100%;
    height: 100%;
}

/* ナビゲーション ボタン */
#header_nav_btn {
    position: fixed;
    top: 30px;
    right: 30px;
    display: block;
    width: 30px;
    height: 30px;
    border: 2px solid #333333;
    padding: 6px 5px;
    z-index: 100;
}

#header_nav_btn.white {
    border: 2px solid #eaeaea;
}

#header_nav_btn.close {
    background-color: #333333;
}

#header_nav_btn div {
    width: 16px;
    height: 2px;
    background-color: #333333;
    transform-origin: center;
    transition: transform 0.3s;
}

#header_nav_btn div.white {
    background-color: #eaeaea;
}

#header_nav_btn div+div {
    margin-top: 4px;
}

#header_nav_btn_bar1.close {
    background-color: #eaeaea;
    transform: translateY(6px) rotate(45deg);
}

#header_nav_btn_bar2.close {
    opacity: 0;
}

#header_nav_btn_bar3.close {
    background-color: #eaeaea;
    transform: translateY(-6px) rotate(-45deg);
}

/* ナビゲーション コンテナ */
#header_nav_container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    background-color: #eaeaea;
    transform: translateX(100vw);
    transition: transform 0.5s;
}

#header_nav_container.open {
    transform: translateX(0);
}

#header_nav_mask {
    display: block;
    position: fixed;
    top: 0;
    right: 25vw;
    left: 0;
    height: 100vh;
    background-color: #333333;
    transform: translateY(-100vh);
    transition: transform 0.5s 0.4s;
}

#header_nav_mask.open {
    transform: translateY(0);
}

#header_nav_items {
    position: absolute;
    bottom: 8vw;
    right: 0;
    width: 23.13vw;
}

#nav_link a {
    all: unset;
    display: block;
    cursor: pointer;
    color: #333333;
    font-weight: 500;
    font-size: 24px;
    width: 100%;
    line-height: 100%;
    padding-bottom: 1.509vw;
    margin-top: 24px;
    position: relative;
    transition: transform 0.3s;
}

#nav_link a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 5.172vw;
    height: 0.862vw;
    background-color: #333333;
    transition: width 0.3s;
}

#nav_link a:hover {
    transform: translateX(1vw);
}

#nav_link a:hover::after {
    width: 15.52vw;
}

#nav_icon {
    display: flex;
    margin-top: 40px;
    gap: 24px;
}

#nav_icon a {
    line-height: 100%;
    font-size: 20px;
    color: #333333;
    position: relative;
    overflow: hidden;
}

#nav_icon a::before {
    content: '';
    position: absolute;
    bottom: -20%;
    right: 100%;
    width: 4px;
    height: 150%;
    background-color: #eaeaea;
    transform-origin: right bottom;
    transform: rotate(-30deg);
}

#nav_icon a:hover::before {
    transition: transform 0.7s;
    transform: translateX(50px) rotate(-30deg);
}

/* 各タイトルのデフォルト 左側 */
.section_title_left {
    position: absolute;
    top: 0;
    left: 27px;
    font-weight: 500;
    font-size: 105px;
    line-height: 100%;
    white-space: nowrap;
    margin: 0;
    text-align: right;
    transform-origin: top left;
    transform: rotate(-90deg);
    color: #333333;
}

.section_title_left span {
    transition: transform 1s;
}

.section_square_left {
    position: absolute;
    top: 0;
    left: 152px;
    width: 40px;
    height: 0;
    background-color: #333333;
    transition: height 1s;
}

.section_square_left.long {
    height: 230px;
}

.section_square_left p {
    font-size: 16px;
    font-weight: 300;
    line-height: 250%;
    letter-spacing: 0.2em;
    color: #eaeaea;
    transform-origin: left bottom;
    transform: rotate(-90deg) translateY(100%);
    white-space: nowrap;
    margin: 0;
    position: absolute;
    bottom: 12px;
    left: 0;
}

/* 各タイトルのデフォルト 右側 */
.section_title_right {
    position: absolute;
    top: 0;
    right: 27px;
    font-weight: 500;
    font-size: 105px;
    line-height: 100%;
    white-space: nowrap;
    margin: 0;
    text-align: left;
    transform-origin: top right;
    transform: rotate(90deg);
    color: #eaeaea;
}

.section_title_right span {
    transition: transform 1s;
}

.section_title_right span.noTransition {
    transition: transform 0s;
}

.section_square_right {
    position: absolute;
    top: 0;
    right: 152px;
    width: 40px;
    height: 0;
    background-color: #eaeaea;
    transition: height 1s;
}

.section_square_right.long {
    height: 230px;
}

.section_square_right p {
    font-size: 16px;
    font-weight: 300;
    line-height: 250%;
    letter-spacing: 0.2em;
    color: #333333;
    transform-origin: right bottom;
    transform: rotate(90deg) translateY(100%);
    white-space: nowrap;
    margin: 0;
    position: absolute;
    bottom: 12px;
    right: 0;
}

/* SNSリンク ホバー */
.icons {
    position: relative;
    overflow: hidden;
}

.icons::before {
    content: '';
    position: absolute;
    bottom: -20%;
    right: 100%;
    width: 4px;
    height: 150%;
    background-color: #eaeaea;
    transform-origin: right bottom;
    transform: rotate(-30deg);
}

.icons:hover::before {
    transition: transform 0.7s;
    transform: translateX(50px) rotate(-30deg);
}

/* フッター */
footer {
    width: 100%;
    background-color: #333333;
    padding-bottom: 105px;
    position: relative;
}

#pagetop {
    all: unset;
    display: block;
    color: #eaeaea;
    cursor: pointer;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    position: absolute;
    top: 30px;
    left: 45px;
    z-index: 1;
}

#pagetop::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #eaeaea;
    transition: width 0.3s;
}

#pagetop:hover::after {
    width: 100%;
}

#footer_ending {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    padding: 0 45px;
}

#footer_icons {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

#footer_icons a {
    font-size: 20px;
    line-height: 100%;
    color: #eaeaea;
}

#footer_icons a.icons::before {
    background-color: #333333;
}

#footer_copy {
    color: #eaeaea;
    font-weight: 100;
    font-size: 10px;
    line-height: 100%;
    margin: 0;
    margin-left: auto;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    /* ヘッダー */

    /* ロゴ */
    #header_logo {
        top: 25px;
        left: 25px;
    }

    /* ナビゲーション ボタン */
    #header_nav_btn {
        top: 25px;
        right: 25px;
    }

    #header_nav_mask {
        display: none;
    }

    #header_nav_items {
        bottom: 8.344vw;
        width: 92.7vw;
    }

    #nav_link a {
        transition: transform 0s;
    }

    #nav_link a::after {
        width: 24vw;
        transition: width 0s;
    }

    #nav_link a:hover {
        transform: translateX(0);
    }

    #nav_link a:hover::after {
        width: 24vw;
    }

    #nav_icon a::before {
        display: none;
    }

    #nav_icon a:hover::before {
        transition: transform 0s;
        transform: translateX(0);
    }

    /* 各タイトルのデフォルト 左側 */
    .section_title_left {
        top: 7vw;
        left: 100%;
        font-size: 17.14vw;
        transform: rotate(0deg);
    }

    .section_title_left span {
        transition: transform 1s;
    }

    .section_square_left {
        top: 27.64vw;
        left: auto;
        right: 0;
        width: 0;
        height: 6.519vw;
        transition: width 1s;
    }

    .section_square_left.long {
        width: 37.29vw;
        height: 6.519vw;
    }

    .section_square_left p {
        font-size: 2.6vw;
        line-height: 6.519vw;
        transform: rotate(0deg) translateY(0%);
        bottom: 0;
        left: 2.4vw;
    }

    /* 各タイトルのデフォルト 右側 */
    .section_title_right {
        top: 7vw;
        right: 100%;
        font-size: 17.14vw;
        transform: rotate(0deg);
    }

    .section_title_right span {
        transition: transform 1s;
    }

    .section_square_right {
        top: 27.64vw;
        right: auto;
        left: 0;
        width: 0;
        height: 6.519vw;
        transition: width 1s;
    }

    .section_square_right.long {
        width: 37.29vw;
        height: 6.519vw;
    }

    .section_square_right p {
        font-size: 2.6vw;
        line-height: 6.519vw;
        transform: rotate(0deg) translateY(0%);
        bottom: 0;
        right: 2.4vw;
    }

    /* SNSリンク ホバー */
    .icons::before {
        display: none;
    }

    .icons:hover::before {
        transition: transform 0s;
        transform: translateX(0);
    }

    /* お問い合わせ */
    #pagetop {
        top: 7.301vw;
        left: 7.301vw;
    }

    #pagetop::after {
        display: none;
    }

    #footer_ending {
        padding: 0 7.301vw;
    }

    #footer_icons {
        margin-bottom: 7.301vw;
    }

}