/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scroll handled by JavaScript */

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.75;
    color: var(--text-color);
    background: linear-gradient(135deg, #fafbfc 0%, rgba(255, 255, 255, 0.95) 100%);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

/* Colors */
:root {
    --primary-color: #000;
    --secondary-color: #000;
    --accent-color: #a9db00;
    --text-color: #000;
    --text-light: #000;
    --text-lighter: #000;
    --light-gray: rgba(248, 250, 252, 0.8);
    --lighter-gray: rgba(248, 250, 252, 0.5);
    --border-color: rgba(226, 232, 240, 0.8);
    --border-light: rgba(241, 245, 249, 0.6);
    --hover-color: #a9db00;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-light: rgba(0, 0, 0, 0.02);
    --shadow-medium: rgba(0, 0, 0, 0.04);
    --shadow-heavy: rgba(0, 0, 0, 0.08);
    --shadow-glass: rgba(255, 255, 255, 0.5);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    letter-spacing: -0.03em;
}

/* h1タグに緑色のアンダーライン（文字幅に合わせて） */
h1 {
    font-size: 4rem;
    line-height: 1.05;
    font-weight: 300;
    letter-spacing: -0.04em;
    border-bottom: 4px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* h2タグに短い緑色のアンダーライン */
h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    margin: 0.6rem 0;
    border-radius: 1px;
}

h2 {
    font-size: 2.75rem;
    line-height: 1.15;
    font-weight: 300;
    letter-spacing: -0.03em;
}

h3 {
    font-size: 1.75rem;
    line-height: 1.25;
    font-weight: 300;
    letter-spacing: -0.02em;
}

h4 {
    font-size: 1.375rem;
    line-height: 1.35;
    font-weight: 300;
    letter-spacing: -0.01em;
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
    line-height: 2;
    font-weight: 300;
}
@media (max-width: 768px) {
	p {
		font-size: 1rem;
	}
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

a:hover {
    color: var(--accent-color);
}

.br-sp{
	display: none;
}
@media (max-width: 768px) {
	.br-sp{
	display: block;
	}
}
/* Layout - Split View */
.split-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    position: relative;
    padding-top: 100px; /* Space for header */
}

.split-left {
    width: 20%;
    position: fixed;
    left: 0;
    top: 100px; /* Below header */
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(169, 219, 0, 0.1) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
    /* スクロールイベントのリダイレクトを最適化 */
    overflow: hidden;
}

.split-right {
    width: 80%;
    margin-left: 20%;
    min-height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    background: rgba(255, 255, 255, 0.95);
    position: relative;
    top: 0;
    padding-bottom: 4rem;
    /* Smooth scroll handled by JavaScript */
}

/* Scrollbar styling for right panel */
.split-right::-webkit-scrollbar {
    width: 10px;
}

.split-right::-webkit-scrollbar-track {
    background: var(--lighter-gray);
}

.split-right::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

.split-right::-webkit-scrollbar-thumb:hover {
    background: var(--text-lighter);
}

/* Header */
header {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    background-attachment: scroll !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: none !important;
    opacity: 1 !important;
    -webkit-background-clip: padding-box !important;
    background-clip: padding-box !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    /* iPhone/Safari固有の対策 */
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    height: 100px;
    background: white !important;
    background-color: #ffffff !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 60px;
    width: auto;
	margin-top: 5px;
}

@media (max-width: 768px) {
	.logo img {
		height: 50px;
		margin-top: 10px;
	}
}
.logo-text {
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 4rem;
    top: 65%;
    transform: translateY(-50%);
    /* iPhone/Safari完全対応 */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
    -webkit-appearance: none;
    appearance: none;
    /* タッチエリア拡大と確実なクリック範囲 */
    padding: 1rem;
    margin: -1rem;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    /* z-index確保 */
    z-index: 1002;
    /* ポインターイベント強制有効化 */
    pointer-events: auto !important;
    /* 背景設定でタッチエリア明確化 */
    background: transparent;
    border: none;
    outline: none;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
    transform-origin: center;
    display: block;
}

/* ハンバーガーメニューのホバーアニメーション（デスクトップのみ） */
@media (hover: hover) {
    .nav-toggle:hover span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle:hover span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:hover span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* モバイル用：メニューが開いている時の×表示 */
.nav-toggle.menu-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
}

.nav-toggle.menu-open span:nth-child(2) {
    opacity: 0 !important;
}

.nav-toggle.menu-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
}

nav ul {
    display: none;
    list-style: none;
    gap: 4rem;
}

nav a {
    color: var(--text-light);
    font-weight: 300;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: -0.01em;
    position: relative;
    padding: 0.5rem 0;
    transform-origin: center;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--accent-color);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 0 0 rgba(169, 219, 0, 0.4);
}

nav a:hover {
    color: var(--accent-color);
    transform: translateY(-2px) scale(1.05);
    text-shadow: 0 4px 8px rgba(169, 219, 0, 0.15);
}

nav a:hover::after {
    width: 120%;
    box-shadow: 0 0 20px 2px rgba(169, 219, 0, 0.3);
}

nav a.active {
    color: var(--accent-color);
    transform: translateY(-1px);
}

nav a.active::after {
    width: 100%;
    background: var(--accent-color);
}

/* Navigation dropdown for desktop */
header nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    pointer-events: none;
}

header nav.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

header nav.active ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem;
}

/* Main Content */
main {
    min-height: 100vh;
    position: relative;
}

/* For non-split layout pages */
main:not(.split-layout) {
    margin-top: 100px;
    min-height: calc(100vh - 100px);
    padding-bottom: 4rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Container for split-right content */
.split-right .container {
    max-width: 900px;
    padding: 2.5rem 3rem;
}

/* Hero Section */
.hero {
    background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.1) 0%, transparent 70%),
                linear-gradient(135deg, var(--glass-bg) 0%, rgba(255, 255, 255, 0.3) 100%);
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    padding: 4rem 0 5rem;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

/* Hero in split layout */
.split-left .hero {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Hero container in split layout */
.split-left .hero .container {
    padding: 0;
    max-width: 100%;
    width: 100%;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Simplified page title */
.page-title {
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
    opacity: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero description style */
.hero-description {
    font-weight: 300;
    opacity: 1;
    line-height: 1.6;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--primary-color);
    padding: 1.25rem 3rem;
    font-weight: 300;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 20px var(--shadow-light),
                inset 0 1px 0 var(--shadow-glass);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover,
button:hover {
    color: white !important;
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(169, 219, 0, 0.2);
    transform: none !important;
    /* スクロールを阻害しないようにする */
    pointer-events: auto;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline:hover {
    color: white !important;
    border-color: var(--accent-color);
}

/* Sections */
.section {
    padding: 4rem 0;
    position: relative;
}

/* Sections in split-right panel */
.split-right .section {
    padding: 3rem 0;
}

.split-right .section:first-child {
    padding-top: 2rem;
}

.split-right .section:last-child {
    padding-bottom: 3rem;
}

.section:nth-child(even) {
    background: linear-gradient(135deg, var(--lighter-gray) 0%, rgba(255, 255, 255, 0.8) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 300;
    font-size: 1.6rem;
    position: relative;
    letter-spacing: -0.01em;
    opacity: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.section-title::after {
    content: '';
    display: none;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 1.2rem auto;
    border-radius: 1px;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow-light),
                inset 0 1px 0 var(--shadow-glass);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(169, 219, 0, 0.2), transparent);
    transition: all 0.3s ease;
}

.card:hover::before {
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px var(--shadow-medium),
                inset 0 1px 0 var(--shadow-glass);
    border-color: rgba(255, 255, 255, 0.3);
    /* スクロールを阻害しないようにする */
    pointer-events: auto;
}

.card h3 {
    font-weight: 300;
    margin-bottom: 1rem;
}

.card p {
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* News */
.news-item {
    display: flex;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.news-item:hover {
    background: var(--lighter-gray);
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 1.1rem;
    color: var(--text-lighter);
    margin-right: 2rem;
    white-space: nowrap;
    font-weight: 300;
}

.news-title {
    flex: 1;
    font-weight: 300;
    color: var(--text-color);
}

.news-list {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-light),
                inset 0 1px 0 var(--shadow-glass);
}

/* Contact Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background: var(--lighter-gray);
    border-top: 1px solid var(--border-light);
    color: var(--text-light);
    text-align: center;
    padding: 3rem 0;
    position: relative;
    z-index: 100;
}

/* Footer in split layout */
.split-right footer {
    margin-top: 4rem;
    position: relative;
    z-index: 100;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.footer-content p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-light);
}

.footer-top {
    margin-bottom: 1rem;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 300;
    transition: color 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-bottom p {
	font-family: "rotunda-variable", sans-serif;
    font-size: 0.9rem;
	font-weight: 300;
    color: var(--text-light);
    opacity: 1;
}

/* Additional Glass Effects */
.floating-element {
    background: var(--glass-bg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px var(--shadow-light),
                inset 0 1px 0 var(--shadow-glass);
}

/* Utility classes for split layout */
.split-layout {
    overflow: hidden;
}

/* スクロール時のホバー干渉を防ぐ */
.scrolling .card:hover,
.scrolling .news-item:hover,
.scrolling .investment-item:hover {
    transform: none !important;
    transition: none !important;
}

/* スクロール可能エリアでのマウスイベント最適化 */
.split-right {
    scroll-behavior: smooth;
}

.split-right * {
    /* スクロール時にホバー効果を一時的に無効化するためのクラス準備 */
    will-change: auto;
}

.hero-content {
    max-width: 500px;
    width: 100%;
    text-align: left;
}

.split-left .hero-content {
    text-align: center;
}

/* Ensure buttons work well in split layout */
.split-left .btn {
    margin: 0 0.5rem;
}

/* Animation for split panels */
.split-left,
.split-right {
    transition: width 0.3s ease, margin-left 0.3s ease;
}

/* Enhanced Layout Styles */
.asymmetric-grid {
    display: grid;
    grid-template-columns: 1fr 1.618fr;
    gap: 4rem;
    align-items: center;
}

.staggered-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.staggered-cards .card:nth-child(even) {
    transform: translateY(2rem);
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* Adjust split widths for tablets */
    .split-left {
        width: 35%;
    }
    
    .split-right {
        width: 65%;
        margin-left: 35%;
    }
}

@media (max-width: 768px) {
    /* Mobile: Stack layout */
    .split-container {
        flex-direction: column;
        padding-top: 60px;
    }
    
    .split-left {
        width: 100%;
        position: relative;
        top: 0;
        height: auto;
        min-height: 50vh;
        padding: 2rem 1.5rem;
    }
    
    .split-right {
        width: 100%;
        margin-left: 0;
        height: auto;
        overflow-y: visible;
        padding-bottom: 1.5rem;
    }
    
    .split-right .container {
        padding: 2rem 0.5rem;
    }
    
    /* Adjust header for mobile */
    header {
        height: 80px;
    }
    .header-container {
        padding: 0 1.5rem;
        height: 80px;
    }
    
    .nav-toggle {
        display: flex;
        right: 2rem;
    }
    
    header nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        border-bottom: 1px solid var(--glass-border);
        display: none;
    }
    
    header nav.active {
        display: block;
    }
    
    header nav ul {
        flex-direction: column;
        padding: 3rem 2rem;
        gap: 2rem;
    }
    
    main {
        margin-top: 80px;
    }
    
    .container {
        padding: 0 0.5rem;
		font-size: 1rem;
    }
    
    .hero {
        padding: 6rem 0 8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    /* Adjust hero in split layout for mobile */
    .split-left .hero h1 {
        font-size: 2.25rem;
        margin-bottom: 2rem;
    }
    
    .split-left .hero p {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    /* Mobile styles for page titles */
    .page-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section {
        padding: 6rem 0;
    }
    
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .asymmetric-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .staggered-cards .card:nth-child(even) {
        transform: none;
    }
    
    .card {
        padding: 2.5rem;
    }
    
    .footer-content {
        padding: 0 2rem;
    }
    
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 0;
    }
    
    .news-date {
		font-size: 1rem;
        margin-right: 0;
        margin-bottom: 0.75rem;
    }
}

/* Admin Styles */
body.admin-page {
    background: #f5f7fa;
    padding-top: 0;
    min-height: 100vh;
}

body.admin-page header {
    display: none;
}

.admin-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
}

.admin-content {
    margin-top: 2rem;
}

.admin-header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: var(--primary-color);
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    border-radius: 5px;
}

.admin-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-nav a {
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    border-radius: 5px;
    color: var(--secondary-color);
    text-decoration: none;
    transition: background 0.3s;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: var(--primary-color);
    color: white;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: var(--light-gray);
    font-weight: 600;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.btn-danger {
    background: #dc3545;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-edit {
    background: #ffc107;
    color: #000;
}

.btn-edit:hover {
    background: #e0a800;
}

/* Utility Classes - Replacing inline styles */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.pt-2 { padding-top: 2rem; }

.bg-light-gray {
    background: var(--lighter-gray);
}

.max-width-600 {
    max-width: 600px;
    margin: 0 auto;
}

.max-width-700 {
    max-width: 700px;
    margin: 0 auto;
}

.max-width-800 {
    max-width: 800px;
    margin: 0 auto;
}

/* Form styles */
.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.form-checkbox {
    margin-right: 0.5rem;
}

.required-mark {
    color: red;
}

/* Table styles */
.table-borderless {
    width: 100%;
    border: none;
}
@media (max-width: 768px) {
	.table-borderless {
		font-size: 1rem;
	}
}

.table-borderless td {
    border: none;
    padding: 1.5rem 0;
}

.table-label {
    font-weight: 400;
    width: 30%;
    color: var(--text-light);
}

.table-value {
    font-weight: 300;
}

/* Map placeholder */
.map-placeholder {
    background: var(--lighter-gray);
    height: 300px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-lighter);
    text-align: center;
    font-weight: 300;
}

/* Google Map container */
.google-map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-light);
}

.google-map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .google-map-container iframe {
        height: 300px;
    }
}

/* List styles */
.list-unstyled {
    list-style: none;
    padding: 0;
}

.list-unstyled li {
    margin-bottom: 1rem;
}

/* Footer specific styles */
.footer-fixed {
    background: var(--lighter-gray);
    padding: 3rem 0;
    position: relative;
    z-index: 100;
    margin-top: 4rem;
}

/* Navigation breadcrumb */
.breadcrumb {
    margin-bottom: 3rem;
}

.breadcrumb-link {
    color: var(--text-light);
    font-weight: 300;
}

/* News article */
.news-article {
    max-width: 800px;
    margin: 0 auto;
}

.news-content {
    line-height: 1.8;
    font-weight: 300;
}

/* News detail header */
.news-detail-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: left;
}

.news-detail-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.3;
	border-bottom: none;
}

.news-detail-date {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 300;
}
@media (max-width: 768px) {
	.news-detail-date {
		font-size: 1rem;
	}
}

/* News navigation */
.news-navigation {
    max-width: 1000px;
    margin: 4rem auto 0;
    /*display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: start;*/
}

/*.news-nav-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}*/

.news-nav-prev {
    text-align: left;
}

.news-nav-center {
    text-align: center;
    align-self: center;
}

.news-nav-next {
    text-align: right;
}

.news-nav-label {
    font-size: 0.875rem;
    color: var(--text-lighter);
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.news-nav-link {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 300;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-nav-link:hover {
    color: var(--accent-color);
    transform: none !important;
}

/* ニュースナビゲーション全体のホバー効果無効化 */
.news-nav-item:hover,
.news-nav-prev:hover,
.news-nav-next:hover {
    transform: none !important;
}


@media (max-width: 768px) {
    .news-navigation {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .news-nav-prev,
    .news-nav-next {
        text-align: center;
    }
    
    .news-detail-title {
        font-size: 1.5rem;
		line-height: 1.6;
    }
}

/* Alert styles */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
}

/* Inline form */
.form-inline {
    display: inline;
}

/* Table actions column */
.table-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.table-actions .form-inline {
    margin: 0;
}

/* Google Tag Manager iframe */
.gtm-iframe {
    display: none;
    visibility: hidden;
}

/* Side Navigation for split layout - Simple & Elegant */
.side-nav {
    margin-top: 3rem;
    width: 100%;
    max-width: 240px;
}

.side-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.side-nav li {
    margin-bottom: 0;
}

.side-nav a {
    display: block;
    padding: 0.75rem 0;
    color: var(--text-lighter);
    font-weight: 300;
    font-size: 0.9rem;
    text-decoration: none;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: -0.01em;
    border-left: 3px solid transparent;
    padding-left: 1rem;
    overflow: hidden;
}

.side-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(169, 219, 0, 0.1) 0%, transparent 100%);
    transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
}

.side-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    transform-origin: left;
}

.side-nav a:hover {
    color: var(--accent-color);
    border-left-color: var(--accent-color);
    padding-left: 1.5rem;
    transform: translateX(8px);
    font-weight: 300;
}

.side-nav a:hover::before {
    width: 100%;
}

.side-nav a:hover::after {
    transform: scaleX(0);
    opacity: 0;
}

.side-nav a.active {
    color: var(--accent-color);
    font-weight: 300;
    border-left-color: var(--accent-color);
    padding-left: 1.5rem;
    transform: translateX(4px);
    background: linear-gradient(90deg, rgba(169, 219, 0, 0.05) 0%, transparent 50%);
}

.side-nav a.active::after {
    opacity: 0;
}

.side-nav li:last-child a::after {
    display: none;
}

/* Mobile responsive side navigation */
@media (max-width: 768px) {
    .side-nav {
        margin-top: 2rem;
        max-width: 100%;
    }
    
    .side-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .side-nav li {
        flex: 0 1 auto;
    }
    
    .side-nav a {
        padding: 0.5rem 0;
        font-size: 0.85rem;
        border-left: none;
        border-bottom: 2px solid transparent;
        padding-left: 0;
        padding-bottom: 0.5rem;
    }
    
    .side-nav a::after {
        display: none;
    }
    
    .side-nav a:hover,
    .side-nav a.active {
        border-left: none;
        border-bottom-color: var(--accent-color);
        padding-left: 0;
    }
}

/* Investment List Styles */
.investment-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.investment-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 24px var(--shadow-medium),
        inset 0 1px 0 var(--shadow-glass);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.investment-item:hover {
    box-shadow: 
        0 6px 20px var(--shadow-medium),
        inset 0 1px 0 var(--shadow-glass);
}

.investment-logo {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--border-light);
}

.investment-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-color) 0%, rgba(169, 219, 0, 0.8) 100%);
    color: white;
    font-size: 3rem;
    font-weight: 300;
}

.investment-content {
    flex: 1;
    min-width: 0;
}

.investment-content h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 300;
	font-size: 1.4rem;
}

.investment-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.investment-meta span {
    font-size: 0.875rem;
    color: var(--text-light);
}

.investment-meta .industry {
    color: var(--accent-color);
    font-weight: 300;
}

.investment-description {
    margin-bottom: 1.5rem;
    line-height: 1.75;
    color: var(--text-color);
}

.btn-small {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-small { font-size: 0.875rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.text-muted { color: var(--text-lighter); }
.text-light { color: var(--text-light); }
.text-primary { color: var(--primary-color); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.p-0 { padding: 0; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }

@media (max-width: 768px) {
    .investment-item {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .investment-logo {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    .investment-meta {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* Vision cards - vertical layout */
.vision-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Member cards - vertical layout */
.member-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* History timeline */
.history-timeline {
    position: relative;
    padding-left: 2rem;
}

.history-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.history-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.history-year {
    flex-shrink: 0;
    width: 120px;
    font-weight: 300;
    color: var(--accent-color);
    font-size: 1.125rem;
}

.history-content {
    flex: 1;
    color: var(--text-light);
    line-height: 1.8;
    font-weight: 300;
}

@media (max-width: 768px) {
    .history-timeline {
        padding-left: 0;
    }
    
    .history-item {
        flex-direction: column;
        gap: 0.5rem;
		font-size: 1rem;
    }
    
    .history-year {
        width: auto;
    }
}

/* Background text for specific pages */
.bg-text {
    position: absolute;
    top: 2rem;
    left: 2rem;
    transform-origin: 0 0;
    transform: rotate(90deg) translateY(-100%);
    font-size: 14rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.03);
    letter-spacing: -0.05em;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    line-height: 1;
}

/* プライバシーポリシーページ専用スタイル */
.privacy-policy-page {
    background: white !important;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
    margin: 0;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* iPhoneのSafari対応の強化 */
.privacy-policy-page .content-wrapper {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    display: block !important;
    visibility: visible !important;
    position: relative;
    z-index: 2;
	word-break: break-all;
}

.privacy-policy-page .container > div {
    display: block !important;
    width: 100%;
    color: #000;
    visibility: visible !important;
    position: relative;
}

.privacy-policy-page .container {
    display: block !important;
    visibility: visible !important;
    position: relative;
}

/* アニメーションを強制的に無効化 */
.privacy-policy-page .section,
.privacy-policy-page .card,
.privacy-policy-page .content-overlay,
.privacy-policy-page .content-wrapper {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.privacy-policy-page .section-title {
    display: none; /* セクションタイトルを非表示 */
}

.privacy-policy-page h2 {
    font-size: 1.5rem;
    font-weight: 300;
    color: #000;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: none;
    line-height: 1.4;
}
.privacy-policy-page h2::after{
	display: none;
}

.privacy-policy-page h3 {
    font-size: 1.25rem;
    font-weight: 300;
    color: #000;
    margin: 1.5rem 0 0.8rem 0;
    line-height: 1.4;
}

.privacy-policy-page p {
    font-size: 1.1rem;
    font-weight: 300;
    color: #000;
    line-height: 2;
    margin-bottom: 1rem;
}

.privacy-policy-page ol,
.privacy-policy-page ul {
    font-size: 0.95rem;
    font-weight: 300;
    color: #000;
    line-height: 1.6;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.privacy-policy-page ol li,
.privacy-policy-page ul li {
    margin-bottom: 0.5rem;
}

.privacy-policy-page .container {
    max-width: 800px;
    padding: 0 3rem;
}

.privacy-policy-page a {
    color: var(--accent-color);
    text-decoration: underline;
    font-weight: 300;
    transition: all 0.3s ease;
}

.privacy-policy-page .card a:hover {
    color: #8bc34a;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

/* CEO Message styling */
.ceo-message {
    max-width: 900px;
}

.ceo-message p {
    margin-bottom: 1.8rem;
    line-height: 2.2;
    font-size: 1.1rem;
}
@media (max-width: 768px) {
	.ceo-message p {
		line-height: 2;
		font-size: 1rem;
	}
}

.signature {
    margin-top: 3rem;
    text-align: right;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
}

.signature p {
    margin-bottom: 0;
    color: var(--primary-color);
    font-size: 1rem;
}

/* Ensure hero content stays above background text */
.split-left .hero {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .bg-text {
        font-size: 12rem;
    }
}

/* English text styling with Rotunda Variable */
.english-text, 
nav a, 
.btn, 
.view-more-btn,
.scroll-indicator,
header nav ul li a {
    font-family: "rotunda-variable", sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.05em;
}
.footer-link {
	font-size: 1rem;
	text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* Single Column Layout */
.single-column-layout {
    min-height: 100vh;
    position: relative;
    padding-top: 0;
}

.content-overlay {
    background: #ffffff;
    min-height: 100vh;
    padding: 100px 0 4rem;
}

.page-header {
    text-align: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 3rem;
}

.page-header .page-title {
    font-size: 4rem;
    font-weight: 300;
    color: var(--primary-color);
    margin: 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-wrapper .section {
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.content-wrapper .section-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 3rem;
    color: var(--primary-color);
    display: inline-block;
}

.member-list .member-item {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.member-item:last-child {
    border-bottom: none;
}

.member-item h3 {
    color: var(--primary-color);
    margin: 0.5rem 0 1rem;
}
@media (max-width: 768px) {
	.member-item h3 {
		font-size: 1.5rem;
	}	
}

.member-item h4 {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 300;
    margin: 0;
}

.history-timeline {
    border-left: 2px solid var(--accent-color);
    padding-left: 2.15rem;
    margin-left: 1rem;
}

.history-item {
    margin-bottom: 2rem;
    position: relative;
}

.history-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
}

.history-year {
    font-weight: 400;
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.history-content {
    color: var(--text-light);
    line-height: 1.6;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .page-header .page-title {
        font-size: 2.5rem;
    }
    
    .content-wrapper {
        padding: 0 1rem;
    }
    
    .content-wrapper .section-title {
        font-size: 1.5rem;
    }
    
    .history-timeline {
        margin-left: 0.5rem;
    }
    .history-year {
        font-size: 1rem;
    }
    
    /* プライバシーポリシーページのモバイル対応 */
    .privacy-policy-page .container {
        padding: 1rem;
        max-width: 100%;
    }
    
    .privacy-policy-page .content-overlay {
        min-height: auto;
        padding: 80px 0 2rem;
    }
    
    .privacy-policy-page h2,
    .privacy-policy-page h3,
    .privacy-policy-page h4,
    .privacy-policy-page p,
    .privacy-policy-page ol,
    .privacy-policy-page ul {
		-webkit-text-size-adjust: 100%;
        text-rendering: optimizeLegibility;
    }
    .privacy-policy-page p,
    .privacy-policy-page ol,
	.privacy-policy-page ul{
    	font-size: 1rem;
    }
}