/* ================================
   RISE HOLDINGS - 共通CSS
   シック＆インタラクティブなデザイン
================================ */

/* ========== リセット & 基本設定 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 共通カラー */
    --color-black: #0a0a0a;
    --color-dark: #1a1a1a;
    --color-gray: #2a2a2a;
    --color-light-gray: #666;
    --color-white: #f5f5f5;
    --color-text: #d0d0d0;
    
    /* タイポグラフィ */
    --font-main: 'Noto Sans JP', sans-serif;
    --font-en: 'Inter', 'Helvetica Neue', sans-serif;
    
    /* スペーシング */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* トランジション */
    --transition-fast: 0.2s ease;
    --transition-base: 0.4s ease;
    --transition-slow: 0.6s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-black);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== タイポグラフィ ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-white);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: var(--font-en);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
    line-height: 1.9;
}

/* ========== ヘッダー ========== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
}

.header__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-en);
    letter-spacing: 0.1em;
    color: var(--color-white);
}

.header__nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.header__nav a {
    font-size: 0.9rem;
    font-weight: 400;
    position: relative;
}

.header__nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-white);
    transition: var(--transition-base);
}

.header__nav a:hover::after {
    width: 100%;
}

/* モバイルメニュー */
.header__hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.header__hamburger span {
    width: 28px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition-base);
}

/* ========== ヒーローセクション ========== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

/* HOLDINGSヒーロー用レイヤー */
.hero__bg-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero__bg-layer--1 {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, transparent 50%);
}

.hero__bg-layer--2 {
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.hero__bg-layer--3 {
    background: linear-gradient(to bottom, transparent 70%, rgba(10, 10, 10, 0.95) 100%);
}

/* グラフィック要素 */
.hero__graphic {
    position: absolute;
    z-index: 3;
}

.hero__graphic--line-1 {
    top: 20%;
    left: 10%;
    width: 200px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: slideRight 8s ease-in-out infinite;
}

.hero__graphic--line-2 {
    bottom: 30%;
    right: 15%;
    width: 150px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: slideLeft 10s ease-in-out infinite;
}

.hero__graphic--circle {
    top: 15%;
    right: 20%;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite;
}

@keyframes slideRight {
    0%, 100% { transform: translateX(0); opacity: 0; }
    50% { transform: translateX(100px); opacity: 1; }
}

@keyframes slideLeft {
    0%, 100% { transform: translateX(0); opacity: 0; }
    50% { transform: translateX(-80px); opacity: 1; }
}

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

.hero__content {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: 0 2rem;
}

.hero__label {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero__title {
    margin-bottom: var(--spacing-md);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.4s forwards;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--color-text);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.hero__scroll-indicator span {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: translateY(-10px); opacity: 0; }
    50% { transform: translateY(10px); opacity: 1; }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== セクション共通 ========== */
.section {
    padding: var(--spacing-xl) 2rem;
    position: relative;
}

.section__inner {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.section__number {
    position: absolute;
    top: -2rem;
    left: 0;
    font-size: 8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    font-family: var(--font-en);
    line-height: 1;
    pointer-events: none;
}

.section__title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-slow);
}

.section__title.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* HOLDINGSセクション装飾 */
.section__bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    pointer-events: none;
}

/* About Section */
.holdings-about {
    background: linear-gradient(to bottom, #0a0a0a, #1a1a1a);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about__image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.about__image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about__image-wrapper:hover .about__image {
    transform: scale(1.05);
}

.about__image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.3), transparent);
    pointer-events: none;
}

.about__content {
    padding: 2rem 0;
}

.about__text {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 3rem;
    color: var(--color-text);
}

.about__stats {
    display: flex;
    gap: 3rem;
}

.about__stat {
    text-align: center;
}

.about__stat-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-en);
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.about__stat-label {
    font-size: 0.9rem;
    color: var(--color-light-gray);
    letter-spacing: 0.1em;
}

/* Companies Section */
.holdings-companies {
    background: 
        linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.companies__bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.holdings-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.6s ease;
}

.holdings-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.card__image-wrapper {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.holdings-card:hover .card__image {
    transform: scale(1.1);
}

.card__image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(10, 10, 10, 0.7));
    pointer-events: none;
}

.card__content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card__label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.holdings-card .card__title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-main);
}

.holdings-card .card__text {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.holdings-card .card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-white);
    transition: gap 0.3s ease;
}

.holdings-card:hover .card__link {
    gap: 1rem;
}

/* Synergy Section */
.holdings-synergy {
    background: #0a0a0a;
}

.synergy__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.synergy__visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.synergy__circle {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-white);
    transition: transform 0.6s ease;
    cursor: pointer;
}

.synergy__circle:hover {
    transform: scale(1.1);
}

.synergy__circle--1 {
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(139, 139, 139, 0.2), rgba(139, 139, 139, 0.05));
    border: 2px solid rgba(139, 139, 139, 0.5);
}

.synergy__circle--2 {
    bottom: 50px;
    left: 20%;
    background: radial-gradient(circle, rgba(199, 117, 107, 0.2), rgba(199, 117, 107, 0.05));
    border: 2px solid rgba(199, 117, 107, 0.5);
}

.synergy__circle--3 {
    bottom: 50px;
    right: 20%;
    background: radial-gradient(circle, rgba(176, 196, 222, 0.2), rgba(176, 196, 222, 0.05));
    border: 2px solid rgba(176, 196, 222, 0.5);
}

.synergy__connector {
    position: absolute;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    height: 2px;
}

.synergy__connector--1 {
    top: 130px;
    left: 45%;
    width: 150px;
    transform: rotate(-45deg);
    transform-origin: left center;
}

.synergy__connector--2 {
    top: 130px;
    right: 45%;
    width: 150px;
    transform: rotate(45deg);
    transform-origin: right center;
}

.synergy__connector--3 {
    bottom: 130px;
    left: 30%;
    width: 200px;
}

.synergy__content {
    padding: 2rem 0;
}

.synergy__heading {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #b8b8b8;
}

.synergy__text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--color-text);
}

/* ========== カード（1列表示統一） ========== */
.cards {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.card {
    background: var(--color-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    transition: var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
}

.card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.card__title {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-en);
}

.card__text {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: var(--spacing-md);
}

.card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-white);
}

/* ========== ボタン ========== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-white);
    color: var(--color-black);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--color-white);
    cursor: pointer;
    transition: var(--transition-base);
}

.btn:hover {
    background: transparent;
    color: var(--color-white);
}

/* ========== フッター ========== */
.footer {
    background: var(--color-dark);
    padding: var(--spacing-lg) 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer__logo {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-en);
    letter-spacing: 0.1em;
}

.footer__nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer__copy {
    width: 100%;
    text-align: center;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: var(--color-light-gray);
}

/* ========== レスポンシブ ========== */
@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--color-dark);
        padding: 5rem 2rem;
        transition: var(--transition-base);
    }
    
    .header__nav.is-open {
        right: 0;
    }
    
    .header__nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .header__hamburger {
        display: flex;
    }
    
    .section {
        padding: var(--spacing-lg) 1.5rem;
    }
    
    .footer__inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer__nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* HOLDINGS レスポンシブ */
    .section__number {
        font-size: 4rem;
        top: -1rem;
    }
    
    .about__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about__image {
        height: 300px;
    }
    
    .about__stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .holdings-card {
        grid-template-columns: 1fr;
    }
    
    .card__image-wrapper {
        height: 250px;
    }
    
    .card__content {
        padding: 2rem;
    }
    
    .synergy__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .synergy__visual {
        height: 350px;
    }
    
    .synergy__circle {
        width: 100px;
        height: 100px;
        font-size: 1rem;
    }
    
    .synergy__circle--1 {
        top: 20px;
    }
    
    .synergy__circle--2 {
        bottom: 30px;
        left: 10%;
    }
    
    .synergy__circle--3 {
        bottom: 30px;
        right: 10%;
    }
    
    .synergy__connector--1,
    .synergy__connector--2 {
        width: 100px;
    }
    
    .synergy__connector--3 {
        width: 120px;
        left: 20%;
    }
}

/* ========== ユーティリティ ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}
