@charset "utf-8";
:root {
    --black: #333;
    --white: #fff;
    --green: #30574E;
}
/* ------------------------------
基本設定　背景・文字
------------------------------ */
html {
    font-size: 62.5%;
    box-sizing: border-box;
}
body {
    font-family: "Josefin Sans", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 300;
    font-size: 1.6rem;
    line-height: 2.4rem;
    letter-spacing: 0.2rem;
    color: var(--white);
}
main {
    box-sizing: border-box;
    z-index: 0;
}
.none {
    display: none;
}
h1, h2, h3, h4, p, a {
    font-family: "Josefin Sans", serif;
}
h1 {
    font-size: 2.0rem;
    line-height: 3.0rem;
    font-weight: 500;
    letter-spacing: 0.3rem;
}
h2 {
    font-size: 2.0rem;
    line-height: 3.0rem;
    font-weight: 500;
    letter-spacing: 0.4rem;
}
h3 {
    font-size: 1.8rem;
    line-height: 3.6rem;
    font-weight: 300;
}
h4 {
    font-size: 1.6rem;
    line-height: 2.4rem;
    letter-spacing: 0.2rem;
}
p {
    font-size: 1.6rem;
    line-height: 2.4rem;
    letter-spacing: 0.2rem;
    text-align: justify;
}
a {
    font-size: 1.4rem;
    line-height: 2.1rem;
    letter-spacing: 0.2rem;
    color: var(--white);
    text-decoration: none;
}
@media(max-width:676px) {
    body {
        font-size: 1.4rem;
        line-height: 2.8rem;
    }
    h1 {
        font-size: 2.0rem;
        line-height: 4.0rem;
    }
    h2 {
        font-size: 1.4rem;
        line-height: 2.8rem;
    }
    h3 {
        font-size: 1.6rem;
        line-height: 3.2rem;
    }
    h4 {
        font-size: 1.4rem;
        line-height: 2.1rem;
    }
    p {
        text-align: justify;
        font-size: 1.4rem;
        line-height: 2.1rem;
    }
    a {
        font-size: 1.2rem;
        line-height: 1.8rem;
    }
}
/* ------------------------------
ヘッダー
------------------------------ */
header {
    position: fixed;
    top: 0;
    right: 0;
    width: auto;
    height: 100vh;
    z-index: 10;
}
.header-title {
    position: fixed;
    top: 45px;
    left: 8%;
}
.header-title:hover {
    opacity: 0.5;
}
.header-title h1 a img {
    width: 100%;
}
header nav {
    padding: 30px 20px;
    transition: 0.6s ease-in-out;
    pointer-events: none;
}
header.on nav {
    top: 0;
    right: 0;
    pointer-events: auto;
}
header nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 60px 60px 40px;
    color: var(--white);
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 100px 0 100px 0;
    transform: translateX(110%);
    transition: transform 0.6s ease-out;
}
header.on nav ul {
    transform: translateX(0);
}
header nav ul li {
    position: relative;
    width: 100%;
    padding: 10px 0;
    text-align: left;
}
header nav ul li a {
    display: inline-block;
    padding-left: 20px;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.3s ease-out;
}
header nav ul li a img {
    display: block;
    width: 20px;
    height: 20px;
    padding-top: 8px;
}
header nav ul li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) translateX(-10px);
    opacity: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid var(--white);
    transition: all 0.3s ease-out;
}
header nav ul li:hover::before {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
}
header nav ul li:hover a {
    transform: translateX(6px);
}
.hum-menu {
    position: fixed;
    top: 60px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    pointer-events: all;
    z-index: 10;
}
.hum-menu span {
    content: '';
    width: 24px;
    height: 2px;
    background-color: var(--white);
}
header .hum-menu span:nth-child(1) {
    transform: translateY(-2px);
    transition: 0.2s ease-in;
}
header .hum-menu span:nth-child(2) {
    transform: translateY(4px);
    transition: 0.2s ease-in;
}
header.on .hum-menu span:nth-child(1) {
    transform: translateY(2px) rotate(45deg);
}
header.on .hum-menu span:nth-child(2) {
    transform: translateY(0) rotate(-45deg);
}
@media (max-width: 767px) {
    header nav ul {
        padding: 60px 40px 40px 20px;
    }
    header nav ul li {
        padding: 8px 0;
    }
    .hum-menu span {
        width: 16px;
    }
    .header-title {
        width: 40%;
        max-width: 272px;
        min-width: 160px;
    }
}
/* ------------------------------
背景画像
------------------------------ */
.visual-container {
    position: relative;
    overflow: hidden;
}
.visual-background {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: -1;
}
.visual-background video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: left;
}
/* ------------------------------
ページタイトル
------------------------------ */
.page-title {
    position: relative;
    margin: 0 0 80px;
    padding: 160px 8% 80px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}
.page-title::before,
.page-title::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--white);
    transform: translate(-50%, -140px);
}
.page-title::before {
    animation: circlemove 1.6s ease-in-out infinite,
        circlemovehide 1.6s ease-out infinite;
}
.page-title::after {
    animation: circlemove 1.3s ease-in-out infinite,
        circlemovehide 1.3s ease-out infinite;
}
/* ------------------------------
セクションタイトル
------------------------------ */
.title {
    display: flex;
    padding: 100px 8% 50px;
}
.title h2 {
    position: relative;
    margin-right: 70px;
    writing-mode: vertical-rl;
}
.title h2::before,
.title h2::after {
    content: "";
    position: absolute;
    left: 50px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--white);
}
.title h2::before {
    animation: circlemove 1.6s ease-in-out infinite,
        circlemovehide 1.6s ease-out infinite;
}
.title h2::after {
    animation: circlemove 1.3s ease-in-out infinite,
        circlemovehide 1.3s ease-out infinite;
}
@keyframes circlemove {
    0% {
        bottom: 45px;
    }
    100% {
        bottom: -5px;
    }
}
@keyframes circlemovehide {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    80% {
        opacity: 0.9;
    }
    100% {
        opacity: 0;
    }
}
.sentense {
    font-size: 1.2rem;
    line-height: 1.6rem;
    color: var(--white);
    text-align: left;
}
/* ------------------------------
ボタン
------------------------------ */
.button {
    display: block;
    width: 140px;
    padding: 1rem 2rem;
    text-align: center;
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 10px;
    transition: 0.3s ease;
}
.button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}
/* ------------------------------
フッター
------------------------------ */
footer {
    margin-top: 120px;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
}
footer .sns {
    padding: 100px 0;
}
footer .sns>img {
    display: block;
    width: 32px;
    margin: 0 auto 60px;
}
.sns-img ul {
    display: flex;
    justify-content: center;
    padding: 0 8%;
    margin: 0 auto;
    max-width: 1440px;
    list-style: none;
}
.sns-img ul li {
    width: 20%;
    max-width: 260px;
}
.sns-img ul li img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    vertical-align: bottom;
}
.sns-img ul li img:hover {
    opacity: 0.5;
}
footer small {
    display: block;
    padding: 40px 0;
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
    text-align: center;
}
@media (max-width: 767px) {
    footer .sns {
        padding: 80px 0;
    }
    footer .sns>img {
        width: 24px;
        margin: 0 auto 40px;
    }
    .sns-img ul {
        flex-wrap: wrap;
    }
    .sns-img ul li {
        width: 50%;
        max-width: 220px;
    }
    footer small {
        font-size: 1rem;
    }
}
/* ------------------------------
ページ遷移
------------------------------ */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    opacity: 0;
    z-index: 9999;
    pointer-events: none;
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.8);
    transition: all 0.6s ease-in-out;
}
body.fade::after {
    opacity: 1;
    backdrop-filter: blur(12px);
    background-color: var(--green);
}
/* ------------------------------
フェードアニメーション
------------------------------ */
.fade {
    opacity: 0;
    margin-top: 10px;
    transition: opacity 1s ease-in-out, margin-top 1s ease-in-out;
}
.fade.inview {
    opacity: 1;
    margin-top: 0;
    transition-delay: 0.2s;
}