:root {
    --color1: rgb(51, 51, 51);
    --color2: rgb(134, 134, 134);
    --color3: #fff;
    --color-orange: rgba(255, 130, 0)
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    height: 100%;
    overflow-x: hidden;
    /* 横スクロール防止 */
}

.top-container,
.middle-container,
.bottom-container,
.middle-bottom-container {
    position: fixed;
    right: 0;
    width: calc(100% - 70px - 4vh);
}

.top-container {
    top: 0;
    height: 32%;
}

.middle-container {
    top: 32%;
    height: 55%;
    display: flex;
    align-items: center;
    overflow-x: hidden;
    overflow-y: hidden;
}

.bottom-container {
    top: 87%;
    height: 11%;
    z-index: 2;
}

.top-header {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.top-header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.top-header nav ul li {
    margin-left: 25px;
    position: relative;
    /* 点の位置決め用 */
}

.top-header nav ul li::before {
    /* オレンジ色の点 */
    content: '';
    position: absolute;
    left: -16px;
    /* テキストの左に配置 */
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--color-orange);
    border-radius: 50%;
}

.top-header nav ul li:first-child::before {
    display: none;
    /* 最初の要素の点は非表示 */
}

.top-header nav ul li a {
    color: #ffffff;
    /* やや明るいグレー */
    text-decoration: none;
    font-size: 0.8em;
    letter-spacing: 0.2em;
    transition: color 0.3s ease;
}

.top-header nav ul li a:hover {
    color: var(--color-orange);
}

.top-header nav ul li a.active {
    color: var(--color-orange);
    font-size: 0.9em;
}

/* ページタイトルとサブタイトルのスタイル */
.page-text {
    position: absolute;
    right: 1rem;
    bottom: 0;
    text-align: left;
}

.page-title {
    color: var(--color-orange);
    font-size: 6rem;
    font-weight: bold;
    margin-top: -1rem;
    /* サブタイトルとの間隔を詰める */
}

.page-title-small {
    color: var(--color-orange);
    font-size: 1.5rem;
    font-weight: bold;
    display: inline-block;
    margin-left: 1rem;
    vertical-align: middle;
}

.page-subtitle {
    color: var(--color-orange);
    font-size: 1.5rem;
    font-weight: bold;
}

.main-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    padding: 15px;
    box-sizing: border-box;
    z-index: 3;
    margin-right: auto;
}

.left-container {
    width: auto;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 3;
    box-sizing: border-box;
}

.sidebar {
    width: 60px;
    flex: 1;
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 0px 10px 10px 0px;
    transition: background-color 0.3s ease-in-out;
}

.logo {
    width: 100%;
    padding: 10px 0 0 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.logo a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

.logo3 {
    margin: 0px 0px 0px 20px;
}

.logo-image {
    width: 40px;
    height: auto;
    object-fit: contain;
}

.logo-image2 {
    width: 40px;
    height: auto;
    object-fit: contain;
}

.menu-container {
    width: 100%;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}

.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-bottom: 0px;
    z-index: 3;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color2);
    color: var(--color2);
    margin: 5px 0;
    transition: background-color 0.3s ease;
    z-index: 3;
}

.menu-text {
    font-size: 0.8em;
    color: #868686;
    transition: color 0.3s ease-in-out;
}

.map-container {
    position: relative;
    width: 60px;
    height: 25vh;
    z-index: 3;
    box-sizing: border-box;
}

.map-placeholder {
    width: 60px;
    height: 24%;
    background-color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    color: #888;
    margin: 0;
    background-image: url('images/map1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    /* クリック可能であることを示す */
    transition: opacity 0.3s ease;
}

.map-placeholder:hover {
    opacity: 0.8;
}

/* マップポップアップのスタイル */
.map-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    background-color: white;
    z-index: 3;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.map-popup.show {
    display: block;
}

.map-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--color-orange);
    color: white;
}

.map-popup-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1b1b1b;
}

.map-popup-close {
    background: none;
    border: none;
    color: #1b1b1b;
    font-size: 2rem;
    font-weight: 300;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    cursor: pointer;
    line-height: 0.8;
}

.map-popup-content {
    width: 100%;
    height: calc(100% - 60px);
}

.map-popup-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* オーバーレイ */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.overlay.show {
    display: block;
}

.member-bar {
    box-sizing: border-box;
    width: calc(100% - 2vh);
    height: calc(100% - 15px);
    background-color: #1b1b1b;
    border-top-right-radius: 200px;
    border-bottom-right-radius: 200px;
    position: relative;
    z-index: 1;
    transition: background-color 0.3s ease;
}

/* オーバーレイが表示されていない時のみホバー効果を適用 */
body:not(:has(.overlay.show)) .member-bar:hover:not(:has(.member-popup:hover)) {
    background-color: #000;
}

body:not(:has(.overlay.show)) .member-bar:hover:not(:has(.member-popup:hover)) .members-text {
    color: var(--color-orange);
}

.member-popup {
    display: none;
    position: fixed;
    bottom: calc(25vh + 10px);
    right: calc((100% - 70px - 4vh) * 0.15);
    width: calc((100% - 70px - 4vh) * 0.85);
    height: auto;
    background-color: #1a1a1a;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    box-sizing: border-box;
    z-index: 999;
    margin-bottom: 0px;
    padding: 20px;
    overflow: visible;
}

.member-popup.show {
    display: block;
}

.member-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 998;
}

.member-overlay.show {
    display: block;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    justify-items: center;
    height: 100%;
    align-items: start;
    width: 100%;
    padding: 0px;
    z-index: 3;
    gap: 1rem;
}

.member-card {
    text-align: left;
    width: 100%;
    z-index: 3;
}

.member-close {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
    width: auto;
    height: auto;
}

.member-close:hover {
    opacity: 0.7;
}

.member-close .close-button {
    background: none;
    border: none;
    color: var(--color2);
    font-size: 2rem;
    font-weight: 300;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    cursor: pointer;
    padding: 0;
    line-height: 0.8;
}

.member-close .close-text {
    color: var(--color2);
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.member-close:hover .close-button,
.member-close:hover .close-text {
    color: var(--color-orange);
}

.member-image-container {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
    padding-bottom: 100%;
    /* アスペクト比1:1を維持するために追加 */
    z-index: 3;
}

.member-image {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.member-image.gray {
    opacity: 1;
}

.member-image.color {
    opacity: 0;
}

.member-card:hover .member-image.gray {
    opacity: 0;
}

.member-card:hover .member-image.color {
    opacity: 1;
}

.members-text {
    color: var(--color2);
    font-size: 4rem;
    font-weight: bold;
    text-align: left;
    position: absolute;
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
    z-index: 1;
    transition: color 0.3s ease;
    cursor: pointer;
}

.member-info {
    color: #ffffff;
    text-align: left;
    position: relative;
    min-height: 2.8em;
    z-index: 3;
    margin-bottom: 1rem;
}

.member-name {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    padding-left: 5px;
    z-index: 3;
    width: 100%;
    line-height: 1.1;
}

.member-position {
    font-size: clamp(0.55rem, 1.8vw, 0.7rem);
    color: var(--color2);
    margin-bottom: 0.5rem;
    opacity: 1 !important;
}

.member-name div:not(.member-position) {
    color: #ffffff;
    transition: opacity 0.3s ease;
}

.member-explanation {
    font-size: clamp(0.6rem, 2vw, 0.8rem);
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 1.2;
    position: absolute;
    top: 1.2rem;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding-left: 5px;
    z-index: 3;
    width: 100%;
}

.member-card:hover .member-name div:not(.member-position) {
    opacity: 0;
}

.member-card:hover .member-explanation {
    opacity: 1;
}

.member-role {
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-orange);
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    padding-left: 5px;
    z-index: 3;
    width: 100%;
}

.member-card:hover .member-role {
    opacity: 0;
}

.footer-info {
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 25px 30px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.footer-info a {
    color: var(--color-orange);
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-info b {
    color: #333;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.footer-info b:hover {
    text-decoration: underline;
}

.contact-button-footer {
    background-color: #000;
    padding: 5px 20px;
    border-radius: 15px;
    /* 角丸 */
    text-decoration: none;
    font-weight: bold;
    margin-left: 15px;
    /* MEMBERとの間隔 */
}

.rotating-area {
    position: fixed;
    bottom: 2vh;
    right: 2vh;
    width: 23vh;
    height: 23vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.rotating-image {
    width: 140px;
    height: 140px;
    animation: rotate 20s linear infinite;
    transition: width 0.3s ease, height 0.3s ease;
}

.rotating-area:hover .rotating-image {
    width: 100px;
    height: 100px;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* コンタクトスライドアウト */
.contact-slideout {
    position: fixed;
    top: 0;
    right: -100%;
    width: 26%;
    height: calc(100dvh - 30px);
    background-color: var(--color-orange);
    z-index: 3;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    margin: 15px;
}

.contact-slideout.show {
    right: calc(0px);
}

.contact-header {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
    position: relative;
}

/* X印までの線のスタイル */
.line-to-x {
    position: absolute;
    top: 24px;
    left: 2rem;
    height: 2px;
    width: 0;
    background-color: #1b1b1b;
    transform-origin: left center;
    transition: width 0s;
    z-index: 4;
}

.line-to-x.animate {
    animation: drawLine 0.8s ease-out forwards;
    animation-delay: 0.1s;
    /* コンタクトフォームが表示された後に開始 */
}

@keyframes drawLine {
    0% {
        width: 0;
    }

    100% {
        width: calc(100% - 100px);
        /* X印の右側までの距離  */
    }
}

/* コンタクトフォームの閉じるボタン */
.contact-header .close-button {
    background: none;
    border: none;
    color: #1b1b1b;
    font-size: 3rem;
    font-weight: 300;
    /* 最も細いウェイト */
    font-family: 'Helvetica Neue', Arial, sans-serif;
    /* より細いフォントを適用 */
    cursor: pointer;
    padding: 0;
    line-height: 0.4;
    /* 高さを調整 */
    position: relative;
    z-index: 3;
}

.contact-content {
    padding: 10px 25px;
}

.contact-content h1 {
    font-size: 22px;
    margin-bottom: 0;
    color: #1b1b1b;
}

.contact-content p {
    font-size: 0.7rem;
    margin-bottom: 2rem;
    color: #1b1b1b;
}

.contact-content a {
    color: #1b1b1b;
    text-decoration: underline;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 90%;
    padding: 0.8rem;
    background-color: var(--color-orange);
    border: 1px solid #1b1b1b;
    border-radius: 4px;
    font-size: 0.8rem;
}

.contact-form textarea {
    resize: vertical;
}

.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.submit-button {
    padding: 0.8rem 3rem;
    background-color: #1b1b1b;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #333;
}

/* メニューポップアップのスタイル */
.menu-popup {
    position: fixed;
    top: 0px;
    left: -800px;
    height: calc(100dvh - 30px);
    background-color: var(--color-orange);
    z-index: 5;
    transition: left 0.3s ease-in-out;
    overflow-y: auto;
    margin: 15px 0px 15px 0px;
}

.menu-popup.show {
    left: calc(85px);
}

.menu-popup-content {
    padding: 40px 25px;
    height: 100%;
    box-sizing: border-box;
    position: relative;
}

.menu-popup-copyright {
    position: absolute;
    top: 2.5rem;
    right: 2rem;
    font-size: 0.6em;
    color: #1b1b1b;
    opacity: 0.7;
}

/* メニューの線のスタイル */
.menu-popup-content::after {
    content: '';
    position: absolute;
    top: 2rem;
    left: 25px;
    height: 2px;
    width: 0;
    background-color: #1b1b1b;
    transform-origin: left center;
    transition: width 0s;
}

.menu-popup.show .menu-popup-content::after {
    animation: drawMenuLine 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

@keyframes drawMenuLine {
    0% {
        width: 0;
    }

    100% {
        width: calc(100% - 50px);
    }
}

.menu-popup h2 {
    color: #1a1a1a;
    font-size: 22px;
    margin: 45px 0px 15px 0px;
    font-weight: bold;
}

.menu-items {
    display: flex;
    flex-direction: column;
    margin-bottom: 60px;
    gap: 15px;
}

.menu-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;

    padding: 5px 10px;
    text-decoration: none;
    background-color: var(--color-orange);
    border: 1px solid #1a1a1a;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.menu-item:hover {
    background-color: rgba(255, 160, 70);
}

.menu-item-logo {
    width: 35px;
    height: 35px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.verks-logo {
    background-image: url('images/verks.logo.png');
}

.vicinia-logo {
    background-image: url('images/vicinia.logo.png');
}

.face-logo {
    background-image: url('images/face.logo.png');
}

.octagon-logo {
    background-image: url('images/octagon.logo.png');
}

.ouron-logo {
    background-image: url('images/ouron.logo.png');
}

.menu-item-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 0px 20px;
}

.menu-item-title {
    display: inline;
    color: #1a1a1a;
    font-size: 0.8em;
    font-weight: bold;
}

.menu-item-subtitle {
    display: inline;
    color: #1a1a1a;
    font-size: 0.6em;
    opacity: 0.7;
}

.menu-item-arrow {
    color: #1a1a1a;
    font-size: 1.5em;
    margin-left: 0px;
}

/* OURONの特別なスタイル */
.menu-item:nth-child(5) {
    background-color: rgb(80, 50, 20);
    border-color: #1a1a1a;
}

.menu-item:nth-child(5):hover {
    background-color: rgb(100, 65, 30);
}

.menu-item:nth-child(5) .menu-item-title,
.menu-item:nth-child(5) .menu-item-subtitle,
.menu-item:nth-child(5) .menu-item-arrow {
    color: #fff;
}

.menu-nav {
    display: flex;
    flex-direction: column;
}

.nav-item {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1em;
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.2);
}

.nav-item:first-child {
    border-top: 1px solid rgba(26, 26, 26, 0.2);
}

.nav-subtitle {
    color: #1a1a1a;
    font-size: 0.8em;
    opacity: 0.7;
    margin-left: 10px;
}

/* ハンバーガーメニューのアニメーション */
.hamburger-menu.active span {
    background-color: #1a1a1a;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hamburger-menu span {
    transition: all 0.3s ease-in-out;
}

/* プライバシーポリシーポップアップのスタイル */
.privacy-popup {
    position: fixed;
    top: 0px;
    left: -2000px;
    height: calc(100dvh - 60px);
    width: 70%;
    background-color: var(--color1);
    z-index: 1000;
    transition: left 0.3s ease-in-out;
    overflow-y: auto;
    margin: 15px 0px 15px 0px;
    display: flex;
    padding: 15px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* プライバシーポリシー用の専用オーバーレイ */
.privacy-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.privacy-overlay.show {
    display: block;
}

.privacy-popup.show {
    left: calc(85px);
}

.privacy-popup-content {
    padding: 1em;
    height: 100%;
    background-color: white;
    box-sizing: border-box;
    position: relative;
    flex: 1;
    border-bottom-right-radius: 10px;
}

.privacy-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.privacy-content {
    background-color: white;
}

.privacy-content p {
    font-size: 14px;
    line-height: 1.6;
}

.privacy-content h3:not(.privacy-title) {
    font-size: 18px;
    margin: 1.5em 0 0.8em;
}

.privacy-content .privacy-title {
    font-size: 24px;
    color: var(--color-orange);
    margin-bottom: 24px;
    margin-top: 0;
}

.privacy-content li {
    font-size: 14px;
}


.privacy-close {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
    width: auto;
    height: auto;
    background: none;
    margin-left: 15px;
}

.privacy-close:hover {
    opacity: 0.7;
}

.privacy-close .close-button {
    background: none;
    border: none;
    color: var(--color2);
    font-size: 2rem;
    font-weight: 300;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    cursor: pointer;
    padding: 0;
    line-height: 0.8;
}

.privacy-close .close-text {
    color: var(--color2);
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.privacy-close:hover .close-button,
.privacy-close:hover .close-text {
    color: var(--color-orange);
}

/* Animation Background Styles */
.scene {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.wave-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(26, 26, 26, 0.5));
    animation: gradientBG 15s ease infinite;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    mix-blend-mode: screen;
}

.wave1 {
    animation: wave1 12s ease-in-out infinite, colorShift1 10s ease infinite;
}

.wave2 {
    animation: wave2 10s ease-in-out infinite 2s, colorShift2 12s ease infinite;
}

.wave3 {
    animation: wave3 8s ease-in-out infinite 4s, colorShift3 14s ease infinite;
}

@keyframes wave1 {
    0% {
        transform: scale(1) translateY(0) translateX(0);
    }

    25% {
        transform: scale(1.05) translateY(-10px) translateX(5px);
    }

    50% {
        transform: scale(1.02) translateY(5px) translateX(-5px);
    }

    75% {
        transform: scale(1.05) translateY(-5px) translateX(3px);
    }

    100% {
        transform: scale(1) translateY(0) translateX(0);
    }
}

@keyframes wave2 {
    0% {
        transform: scale(1) translateY(0) translateX(0);
    }

    25% {
        transform: scale(1.05) translateY(10px) translateX(-5px);
    }

    50% {
        transform: scale(1.02) translateY(-5px) translateX(5px);
    }

    75% {
        transform: scale(1.05) translateY(5px) translateX(-3px);
    }

    100% {
        transform: scale(1) translateY(0) translateX(0);
    }
}

@keyframes wave3 {
    0% {
        transform: scale(1) translateY(0) translateX(0);
    }

    25% {
        transform: scale(1.05) translateY(-8px) translateX(-4px);
    }

    50% {
        transform: scale(1.02) translateY(8px) translateX(4px);
    }

    75% {
        transform: scale(1.05) translateY(-4px) translateX(-2px);
    }

    100% {
        transform: scale(1) translateY(0) translateX(0);
    }
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes colorShift1 {
    0% {
        filter: hue-rotate(0deg) brightness(1);
    }

    50% {
        filter: hue-rotate(180deg) brightness(1.2);
    }

    100% {
        filter: hue-rotate(360deg) brightness(1);
    }
}

@keyframes colorShift2 {
    0% {
        filter: hue-rotate(120deg) brightness(1);
    }

    50% {
        filter: hue-rotate(300deg) brightness(1.2);
    }

    100% {
        filter: hue-rotate(480deg) brightness(1);
    }
}

@keyframes colorShift3 {
    0% {
        filter: hue-rotate(240deg) brightness(1);
    }

    50% {
        filter: hue-rotate(420deg) brightness(1.2);
    }

    100% {
        filter: hue-rotate(600deg) brightness(1);
    }
}

/* Sphere Animation Styles */
.sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    transform-style: preserve-3d;
    z-index: 1;
}

.base {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

.orbit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    
}

.logo-link {
    position: absolute;
    width: 180px;
    height: 180px;
    transform-style: preserve-3d;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-link.verks {
    --rotation: 0deg;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(0deg) translateZ(230px);
}

.logo-link.vicinia {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(72deg) translateZ(230px);
}

.logo-link.face {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(144deg) translateZ(230px);
}

.logo-link.octagon {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(216deg) translateZ(230px);
}

.logo-link.ouron {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(288deg) translateZ(230px);
}

.logo2 {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.logo-default {
    opacity: 1;
    z-index: 2;
}

.logo-hover {
    opacity: 0;
    z-index: 1;
}

.logo-link:hover .logo-default {
    opacity: 0;
}

.logo-link:hover .logo-hover {
    opacity: 1;
}

@keyframes autoRotate {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(-360deg);
    }
}



@media (max-width: 431px) {
    .privacy-content .privacy-title {
        font-size: 22px;
    }
}

@media (max-width:376px) { 
    .privacy-content .privacy-title {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .privacy-content h3:not(.privacy-title) {
        font-size: 16px;
    }

    .privacy-content p {
        font-size: 12px;
        line-height: 1.6;
    }

    .privacy-content li {
        font-size: 12px;
    }
}

/* プレースホルダーの色を白に */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #595959;
  opacity: 1;
}

