@charset "UTF-8";
/*
Theme Name: 三角デザインつくってみた
Description: F-factoryのproductです。
Version: 1.0
Author: ringomushi
*/

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            overflow: hidden; /* body自体のスクロールを無効化 */
            height: 100vh;
        }
        .body {
            background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
            
            
        }
        /* 背景レイヤー - 固定 */
        .background-layer {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;            
            z-index: -1;
        }
        .container {
            position: relative;
            min-height: 100vh;
        }
        .background-layer .container img {
            position: absolute;
            top: 20px;
            left: 80px;
            width: 250px;
            animation: rotation 10s linear infinite;
        }
        
        @keyframes rotation {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }
        .background-layer .container .sunkc-text {
            position: absolute;
            top: 118px;
            left: 153px;
            font-size: 2rem;
            color: white;
            animation: colorshadow 1s linear infinite;
        }
        @keyframes colorshadow {
            0% {
                text-shadow: 2px 2px 10px #5bbab2 ,
                -2px 2px 10px #5bbab2 ,
                2px -2px 10px #5bbab2 ,
                -2px -2px 10px #5bbab2;
            }
            100% {text-shadow: none;

            }
        }
        .nyoronyoro rect {
            color: #ff6b6b;
        }
        .utyujin {
            position: absolute;
            top: 30%;
            right: 5%;
            width: 350px;
            height: 350px;
            z-index: 50;
                    }
        .menu-bar {
            position: absolute;
            top: 40%;
            left: 15%;            
            color: white;
            font-size: 1.5rem;
            
        }
        
        .menu-bar a:not(:nth-child(3)):hover {
            cursor: pointer;
            text-shadow: 2px 2px 10px #426EE5 ,
                -2px 2px 10px #426EE5 ,
                2px -2px 10px #426EE5 ,
                -2px -2px 10px #426EE5;
            }
        .menu-bar a:nth-child(3):hover {
        cursor: pointer;
        text-shadow: 2px 2px 10px #f91492 ,
            -2px 2px 10px #f91492 ,
            2px -2px 10px #f91492 ,
            -2px -2px 10px #f91492;
        }
        .menu-bar li {
            margin: 1rem;
        }
        .menu-bar li::before {
            content: '▲';
            width: 5px;
            margin-right: 1rem;
            
            animation: ripple-animation 2s linear infinite;
        }
        .menu-bar li::before:hover {
            transform: rotate(90deg);
        }
        

            
        /*hoverエフェクトテスト*/
        /* 三角形の基本スタイル */
        .crash-triangle {
            position: absolute;
            width: 0;
            height: 0;
            opacity: 0;
            pointer-events: none;
            z-index: 10;
        }

        .crash-triangle::before {
            content: '';
            position: absolute;
            width: 0;
            height: 0;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-bottom: 8px solid #ff6b6b;
            transform: translateX(-50%);
        }
        .spiral {
            overflow: visible;
        }

        .spiral .crash-triangle::before {
            border-bottom-color: #3B70E7;
        }
         .spiral .crash-triangle-03::before {
            border-bottom-color: #f91492;
         }

        .spiral:hover .crash-triangle:nth-child(1) { animation: spiral1 2s ease-out forwards; }
        .spiral:hover .crash-triangle:nth-child(2) { animation: spiral2 2s ease-out forwards; }
        .spiral:hover .crash-triangle:nth-child(3) { animation: spiral3 2s ease-out forwards; }
        .spiral:hover .crash-triangle:nth-child(4) { animation: spiral4 2s ease-out forwards; }
        .spiral:hover .crash-triangle:nth-child(5) { animation: spiral5 2s ease-out forwards; }
        .spiral:hover .crash-triangle:nth-child(6) { animation: spiral6 2s ease-out forwards; }
        @keyframes spiral1 {
            0% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
            50% { opacity: 0.8; transform: translate(-40px, -40px) rotate(180deg); }
            100% { opacity: 0; transform: translate(-80px, -20px) rotate(720deg); }
        }

        @keyframes spiral2 {
            0% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
            50% { opacity: 0.8; transform: translate(40px, -40px) rotate(-180deg); }
            100% { opacity: 0; transform: translate(80px, -20px) rotate(-720deg); }
        }

        @keyframes spiral3 {
            0% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
            50% { opacity: 0.8; transform: translate(40px, 40px) rotate(180deg); }
            100% { opacity: 0; transform: translate(80px, 20px) rotate(720deg); }
        }

        @keyframes spiral4 {
            0% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
            50% { opacity: 0.8; transform: translate(-40px, 40px) rotate(-180deg); }
            100% { opacity: 0; transform: translate(-80px, 20px) rotate(-720deg); }
        }

        @keyframes spiral5 {
            0% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
            50% { opacity: 0.8; transform: translate(0px, -50px) rotate(180deg); }
            100% { opacity: 0; transform: translate(0px, -100px) rotate(720deg); }
        }

        @keyframes spiral6 {
            0% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
            50% { opacity: 0.8; transform: translate(0px, 50px) rotate(-180deg); }
            100% { opacity: 0; transform: translate(0px, 100px) rotate(-720deg); }
        }

        .triangle-stage {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            overflow: hidden;
        }
        .triangle {
            position: absolute;
            width: 0;
            height: 0;
            opacity: 0;
            animation: expandTriangle 3s ease-out forwards;
        }

        .triangle-small {
            border-left: 2px solid transparent;
            border-right: 2px solid transparent;
            border-bottom: 4px solid #00ff88;
            filter: drop-shadow(0 0 3px #00ff88);
        }

        .triangle-medium {
            border-left: 4px solid transparent;
            border-right: 4px solid transparent;
            border-bottom: 8px solid #ff0088;
            filter: drop-shadow(0 0 6px #ff0088);
            animation-delay: 0.5s;
        }

        .triangle-large {
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-bottom: 12px solid #0088ff;
            filter: drop-shadow(0 0 9px #0088ff);
            animation-delay: 1s;
        }

        @keyframes expandTriangle {
            0% {
                opacity: 0;
                transform: scale(0) rotate(0deg);
            }
            30% {
                opacity: 1;
                transform: scale(0.5) rotate(180deg);
            }
            70% {
                opacity: 0.8;
                transform: scale(1) rotate(360deg);
            }
            100% {
                opacity: 0.6;
                transform: scale(1.2) rotate(540deg);
            }
        }
        .hero-section {
            position: relative;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
        }

        .hero-content {
            text-align: center;
            color: white;
            opacity: 0;
            animation: fadeInContent 2s ease-out 3s forwards;
        }

        .hero-title {
            font-size: 4rem;
            font-weight: 300;
            margin-bottom: 1rem;
            background: linear-gradient(45deg, #00ff88, #ff0088, #0088ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
            
        }

        .hero-subtitle {
            font-size: 1.5rem;
            font-weight: 200;
            opacity: 0.8;
        }

        @keyframes fadeInContent {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        /* 背景に装飾要素を追加 */
        .background-layer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
            animation: float 6s ease-in-out infinite alternate;
        }

        /* 背景固定の目印 */
        .background-markers {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .marker {
            position: absolute;
            width: 60px;
            height: 60px;
            border: 3px solid rgba(255, 255, 255, 0.6);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
            color: rgba(255, 255, 255, 0.8);
            text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
            animation: pulse 2s infinite;
        }

        .marker-1 {
            top: 10%;
            left: 10%;
        }

        .marker-2 {
            top: 10%;
            right: 10%;
        }

        .marker-3 {
            bottom: 10%;
            left: 10%;
        }

        .marker-4 {
            bottom: 10%;
            right: 10%;
        }

        .marker-center {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            font-size: 14px;
            border-color: rgba(255, 255, 255, 0.8);
            animation: pulseCenter 3s infinite;
        }

        @keyframes pulse {
            0%, 100% { 
                transform: scale(1);
                opacity: 0.6;
            }
            50% { 
                transform: scale(1.1);
                opacity: 1;
            }
        }

        @keyframes pulseCenter {
            0%, 100% { 
                transform: translate(-50%, -50%) scale(1);
                opacity: 0.8;
            }
            50% { 
                transform: translate(-50%, -50%) scale(1.2);
                opacity: 1;
            }
        }

        @keyframes float {
            0% { transform: translateY(0px); }
            100% { transform: translateY(-20px); }
        }

        /* メインコンテナ - Y軸中心配置 */
        .main-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        /* スクロール可能なコンテンツエリア */
        .scrollable-content {
            max-width: calc(100vw / 3); /* 画面幅の3分の1 */
            width: 100%;
            max-height: 100vh; /* 画面の80%の高さまで */
            background-color: transparent;
            
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            overflow-y: scroll; 
            -ms-overflow-style: none;
            scrollbar-width: none;
            padding: 30px;
            
        }
        .scrollable-content::-webkit-scrollbar {
            display: none;
        }
        /* カスタムスクロールバー */
        .scrollable-content::-webkit-scrollbar {
            width: 8px;
        }

        .scrollable-content::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
        }

        .scrollable-content::-webkit-scrollbar-thumb {
            background: rgba(102, 126, 234, 0.5);
            border-radius: 10px;
        }

        .scrollable-content::-webkit-scrollbar-thumb:hover {
            background: rgba(102, 126, 234, 0.8);
        }
.hero-section {
            position: relative;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
        }

        .hero-content {
            text-align: center;
            color: white;
            opacity: 0;
            animation: fadeInContent 2s ease-out 3s forwards;
        }

        .hero-title {
            font-size: 4rem;
            font-weight: 300;
            margin-bottom: 1rem;
            background: linear-gradient(45deg, #00ff88, #ff0088, #0088ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
            
        }

        .hero-subtitle {
            font-size: 1.5rem;
            font-weight: 200;
            opacity: 0.8;
        }

        @keyframes fadeInContent {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        /* コンテンツスタイル */
        .content-section {
            margin-bottom: 40px;
        }

        .content-section h2 {
            color: #fff;
            margin-bottom: 20px;
            font-size: 2rem;
            font-weight: 600;
        }

        .content-section p {
            color: #666;
            line-height: 1.8;
            margin-bottom: 15px;
            font-size: 1.1rem;
        }
        .card {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }
        .card p {
    width: 100%;
}
        .card p span {
            font-weight: bold;
        }
        .card {
            background: rgba(255, 255, 255, 0.8);
            border-radius: 12px;
            padding: 25px;
            margin-bottom: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.5);
        }

        .hero-text {
            text-align: center;
            margin-bottom: 40px;
        }

        .hero-text h1 {
            font-size: 3rem;
            color: #fff;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .hero-text .subtitle {
            font-size: 1.2rem;
            color: #f7f6f5;
            font-weight: 400;
        }
        .trigger-button {
            position: fixed;
            display: flex;
            align-items: center;
            justify-content: center;
            bottom: 30px;
            right: 30px;
            background: linear-gradient(45deg, #00ff88, #0088ff);
            border: none;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            color: white;
            font-size: 24px;
            cursor: pointer;
            box-shadow: 0 10px 20px rgba(0, 136, 255, 0.3);
            transition: all 0.3s ease;
            z-index: 100;
            opacity: 0;
        }
        .trigger-button:after {
            content: "▲";
            position: absolute;
            top: 19%;
            }
        
        .trigger-button:hover {
            transform: scale(1.1);
            box-shadow: 0 15px 30px rgba(0, 136, 255, 0.5);
        }
        .trigger-button .show {
            opacity: 1;
        }

        

        /* ------レスポンシブ対応------ */
        @media (max-width: 768px) {
            .main-container {
                padding: 10px;
            }
            
            .scrollable-content {
                max-width: 90vw; /* モバイルでは90%に調整 */
                max-height: 90vh;
                padding: 20px;
            }
            
            .hero-text h1 {
                font-size: 2rem;
            }
            
            .content-section h2 {
                font-size: 1.5rem;
            }

            .marker {
                width: 40px;
                height: 40px;
                font-size: 10px;
            }

            .marker-center {
                width: 60px;
                height: 60px;
                font-size: 12px;
            }
        }
        @media (max-width: 500px) {
            .menu-bar {
                position: absolute;
                top: 0;
                left: -30%;
                transition: .5s;                
            }
            .open .menu-bar {
                left: 0;
                z-index: 101;
            }
            nav .inner ul {
                list-style: none;
                margin: 0;
                padding: 0;
            }
           .background-layer .container img {
                
                top: 0;
                left: 65%;
                width: 150px;
            }
            .background-layer .container .sunkc-text {
                top: 6.5%;
                left: 73%;
                font-size: 1.5rem;
            }
           /*================
           .toggle_btn
           ================*/
           .toggle_btn {
            display: block;
            position: fixed;
            top: 30px;
            left: 30px;
            height: 30px;
            transition: all .5s;
            cursor: pointer;

           }
           .open .toggle_btn {
            left: 330px;
           }
           .toggle_btn span {
            display: block;
            position: absolute;
            left: 0;
            width: 30px;
            height: 2px;
            background-color: #333;
            border-radius: 4px;
            transition: all .5s;
            
           }
           .toggle_btn span:nth-child(1) {
            top: 4px;
           }
           .toggle_btn span:nth-child(2) {
            top: 14px;
           }
           .toggle_btn span:nth-child(3) {
            bottom: 4px;
           }
           .open .toggle_btn span {
            background-color: #fff;
           }
           .open .toggle_btn {
            -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
           }
           .open .toggle_btn span:nth-child(1), .open .toggle_btn span:nth-child(3) {
            width: 16px;
           }
           .open .toggle_btn span:nth-child(1) {
            -webkit-transform: translate(-1px,4px)
            rotate(-45deg);
            transform: translate(-1px,4px)
            rotate(-45deg);
            }
           .open .toggle_btn span:nth-child(3) {
            -webkit-transform: translate(-1px,4px) rotate(45deg);
            transform: translate(-1px,-4px) rotate(45deg);
           }
           .open .toggle_btn {
            left: 250px;
           }
/*==========
mask
==========*/
            #mask {
                display: none;
                transition: all .5s;
            }
            .open #mask {
                display: block;
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: #000;
                opacity: .8;
                cursor: pointer;
            }
        }