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

:root {
    /* カラー設定 */
    --primary-color: #ffffff;
    --accent-color: #BA9A5C;
    --text-color: #ffffff;
    --text-light: #ffffff;
    --bg-white: #202833;
    --bg-light: #2a3340;
    --bg-dark: #202833;
    --border-color: #ffffff;
    
    /* フォント設定 */
    --font-en: 'Inter', sans-serif;
    --font-ja: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Serif JP', serif;
    
    /* スペーシング */
    --section-padding: 120px 0;
    --container-padding: 0 20px;
    
    /* トランジション */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-ja);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    background-color: #202833;
    overflow-x: hidden;
}

/* フェードインアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

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

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

ul, ol {
    list-style: none;
}

/* ========================================
   コンテナ
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ========================================
   ヘッダー（固定グローバルナビ）
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-list {
    display: flex;
    gap: 35px;
}

.nav-list li a {
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-list li a:hover::after {
    width: 100%;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: var(--transition);
}

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

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-dark);
    transform: translateX(-100%);
    transition: var(--transition);
    z-index: 999;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-list {
    padding: 40px 20px;
}

.mobile-nav-list li {
    border-bottom: 1px solid #ffffff;
}

.mobile-nav-list li a {
    display: block;
    padding: 20px;
    font-family: var(--font-en);
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

/* ========================================
   ヒーローセクション
======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-color: #202833;
    overflow: visible;
    padding: 20px 80px 0 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: calc(8% - 15px);
    right: 25px;
    left: calc(-20px - 15px);
    height: calc(75% + 30px);
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0);
    border-radius: 25px;
    z-index: 3;
    animation: borderFadeIn 0.8s ease-out 1.2s forwards;
}

.hero-slideshow {
    position: absolute;
    top: 8%;
    right: 40px;
    left: -20px;
    height: 75%;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transform: translateX(-100px);
    animation: imageSlideIn 1s ease-out 0.2s forwards;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.85) 0%, rgba(45, 62, 80, 0.85) 100%);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    text-align: right;
    color: #ffffff;
    z-index: 4;
    max-width: 600px;
    opacity: 0;
    animation: textFadeIn 0.8s ease-out 2s forwards;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 80px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 30px;
    letter-spacing: 4px;
}

.hero-title-line {
    display: block;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 8px;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-family: var(--font-en);
    font-size: 12px;
    z-index: 2;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes imageSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes borderFadeIn {
    0% {
        border-color: rgba(255, 255, 255, 0);
    }
    100% {
        border-color: rgba(255, 255, 255, 0.3);
    }
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dotPulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-50%) scale(1.5);
        opacity: 0.7;
    }
}

/* ========================================
   セクション共通スタイル
======================================== */
.section {
    padding: var(--section-padding);
}

.section:nth-child(even) {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title-en {
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 3px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-left: 40px;
}

.section-title-en::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.section-title-ja {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 2px;
}

/* ========================================
   MESSAGE セクション
======================================== */
.message-section {
    position: relative;
    z-index: 10;
}

.message-content {
    max-width: 900px;
    margin: 0 auto;
}

.message-identity {
    margin-bottom: 60px;
    text-align: center;
}

.message-identity-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.message-identity-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.8;
}

.message-image {
    margin-bottom: 60px;
    text-align: center;
}

.message-image img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 20px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.message-body {
    text-align: left;
}

.message-body-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.message-text {
    color: var(--text-color);
    line-height: 2.2;
}

.message-text p {
    margin-bottom: 25px;
    font-size: 16px;
    text-indent: 1em;
}

.message-text p:last-child {
    margin-bottom: 0;
}

/* ========================================
   PHILOSOPHY セクション
======================================== */
.philosophy-section {
    position: relative;
    z-index: 10;
    background-color: var(--bg-light);
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-block {
    margin-bottom: 80px;
    text-align: center;
}

.philosophy-block:last-child {
    margin-bottom: 0;
}

.philosophy-subtitle {
    font-family: var(--font-en);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.philosophy-main-copy {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.6;
    margin-bottom: 30px;
}

.philosophy-body {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color);
    line-height: 2;
    letter-spacing: 1px;
    max-width: 700px;
    margin: 0 auto;
}

.philosophy-mission {
    font-size: 24px;
    margin-bottom: 0;
}

.value-block {
    margin-top: 100px;
    text-align: left;
}

.value-list {
    list-style: none;
    display: grid;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.value-item {
    background-color: var(--bg-white);
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: var(--transition);
}

.value-item:hover {
    box-shadow: 0 4px 20px rgba(186, 154, 92, 0.2);
}

.value-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    user-select: none;
}

.value-title-wrapper {
    flex: 1;
    font-family: var(--font-en);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.8;
    color: var(--primary-color);
}

.value-toggle {
    font-size: 20px;
    color: var(--accent-color);
    transition: transform 0.4s ease;
    margin-left: 20px;
}

.value-item.active .value-toggle {
    transform: rotate(180deg);
}

.value-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 30px;
}

.value-item.active .value-body {
    max-height: 2000px;
    padding: 0 30px 30px;
}

.value-body p {
    font-family: var(--font-ja);
    font-size: 15px;
    font-weight: 400;
    line-height: 2;
    color: var(--text-color);
    margin-bottom: 15px;
}

.value-body p:last-child {
    margin-bottom: 0;
}

.value-initial {
    font-size: 28px;
    font-weight: 300;
    color: var(--accent-color);
}

.value-ja {
    display: block;
    font-family: var(--font-ja);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 8px;
}

/* ========================================
   NEWS セクション
======================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.news-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-category {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--accent-color);
    color: #202833;
    font-size: 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-date {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 20px;
}

.news-link {
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news-link:hover {
    color: var(--accent-color);
}

.news-card-full {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.news-card-full .news-image {
    height: 100%;
}

.news-card-full .news-image img {
    height: 100%;
    object-fit: cover;
}

.news-body {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-color);
}

.news-body p {
    margin-bottom: 20px;
}

.news-body h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 30px 0 15px 0;
}

.news-body ul.news-schedule {
    list-style: none;
    padding-left: 0;
    margin: 15px 0 25px 0;
}

.news-body ul.news-schedule li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 15px;
}

.news-body ul.news-schedule li:last-child {
    border-bottom: none;
}

.news-body strong {
    color: var(--accent-color);
    font-weight: 600;
}

.news-preview {
    margin-bottom: 20px;
}

.news-full-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
}

.news-body.expanded .news-full-content {
    max-height: 2000px;
    opacity: 1;
    transition: max-height 0.5s ease-in, opacity 0.5s ease-in;
}

.news-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: transparent;
    border: 2px solid var(--accent-color);
    border-radius: 25px;
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-ja);
}

.news-toggle:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

.news-toggle i {
    transition: transform 0.3s ease;
}

.news-body.expanded .news-toggle i {
    transform: rotate(180deg);
}

.news-toggle-text::after {
    content: '続きを読む';
}

.news-body.expanded .news-toggle-text::after {
    content: '閉じる';
}

/* ========================================
   SERVICES セクション
======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.service-card.coming-soon {
    opacity: 0.7;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.service-header:hover {
    background-color: var(--bg-light);
}

.service-icon {
    font-size: 26px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.service-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    flex-grow: 1;
    margin: 0;
}

.service-toggle {
    font-size: 16px;
    color: var(--text-light);
    transition: var(--transition);
    flex-shrink: 0;
}

.service-card.active .service-toggle {
    transform: rotate(180deg);
    color: var(--accent-color);
}

.service-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 25px;
}

.service-card.active .service-body {
    max-height: 500px;
    padding: 0 25px 25px 25px;
}

.service-description {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 15px;
}

.coming-soon-text {
    font-style: italic;
    color: var(--text-light);
}

.service-company {
    font-size: 14px;
    color: var(--text-light);
}

.service-company a {
    color: var(--primary-color);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.service-company a:hover {
    border-bottom-color: var(--primary-color);
}

/* ========================================
   INVESTMENT セクション
======================================== */
.investment-content {
    max-width: 800px;
    margin: 0 auto;
}

.investment-intro {
    font-size: 16px;
    line-height: 2;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.investment-portfolio {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.investment-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.investment-date {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 30px;
    opacity: 0.7;
}

.investment-list {
    display: grid;
    gap: 20px;
}

.investment-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 6px;
}

.investment-list .category {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.investment-list .count {
    font-family: var(--font-en);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
}

/* ========================================
   COMPANY セクション
======================================== */
.company-content {
    max-width: 1000px;
    margin: 0 auto;
}

.company-logo {
    text-align: center;
    margin-bottom: 60px;
}

.company-logo img {
    height: 60px;
    width: auto;
    display: inline-block;
}

.company-info-box {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.company-info-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.company-info-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: 40px 0;
}

.company-info-item {
    padding: 0;
}

.info-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.info-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color);
}

.company-clients {
    margin-top: 0;
}

.clients-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: left;
}

.clients-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.clients-list li {
    font-size: 14px;
    padding: 8px 12px;
    background-color: var(--bg-light);
    border-radius: 4px;
}

.clients-more {
    text-align: left;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 15px;
}

/* ========================================
   RECRUIT セクション
======================================== */
.recruit-content {
    max-width: 900px;
    margin: 0 auto;
}

.recruit-message {
    text-align: center;
    margin-bottom: 60px;
}

.recruit-lead {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.9;
    margin-bottom: 20px;
}

.recruit-text {
    font-size: 14px;
    line-height: 2;
    color: var(--text-color);
}

.recruit-links {
    display: grid;
    gap: 20px;
    margin-bottom: 60px;
}

.recruit-link-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}

.recruit-link-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.recruit-link-icon {
    font-size: 48px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.recruit-link-content {
    flex-grow: 1;
}

.recruit-link-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.recruit-link-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.recruit-link-arrow {
    font-size: 24px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.recruit-positions {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
}

.recruit-positions-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.recruit-positions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.recruit-positions-list li {
    font-size: 15px;
    color: var(--text-color);
    padding: 12px 20px;
    background-color: var(--bg-white);
    border-radius: 6px;
    border-left: 3px solid var(--accent-color);
}

/* ========================================
   GROUP セクション（無限スクロール）
======================================== */
.group-scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0;
    position: relative;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--bg-light);
    cursor: grab;
}

.group-scroll-container:active {
    cursor: grabbing;
}

.group-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.group-scroll-container::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.group-scroll-container::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

.group-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.group-scroll-wrapper {
    display: flex;
    gap: 25px;
    padding: 0 20px 20px 20px;
    width: fit-content;
}

.group-card {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    min-height: 180px;
    padding: 30px;
    background-color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px;
    transition: var(--transition);
    flex-shrink: 0;
}

.group-card:hover {
    box-shadow: 0 8px 25px rgba(186, 154, 92, 0.3);
    transform: translateY(-5px);
}

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

.group-logo-img {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.vixone-logo {
    max-width: 140px;
}

.group-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.6;
}

/* ========================================
   CONTACT セクション
======================================== */
.contact-intro {
    text-align: center;
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 60px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.required {
    color: #ffffff;
    font-size: 14px;
    margin-left: 5px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-family: var(--font-ja);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition);
    background-color: #2a3340;
    color: #ffffff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 35, 50, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-checkbox-group {
    margin-bottom: 30px;
}

.form-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.checkbox-text {
    color: var(--text-color);
    line-height: 1.6;
}

.privacy-link {
    color: var(--accent-color);
    text-decoration: underline;
    transition: var(--transition);
}

.privacy-link:hover {
    color: var(--primary-color);
}

.form-submit-btn {
    width: 100%;
    padding: 18px;
    background-color: var(--accent-color);
    color: #202833;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit-btn:hover:not(:disabled) {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-submit-btn .btn-loading {
    display: inline-block;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    text-align: center;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    display: block;
    background-color: var(--accent-color);
    color: #202833;
    border: 1px solid var(--accent-color);
}

.form-message.error {
    display: block;
    background-color: #2a3340;
    color: #ffffff;
    border: 1px solid #ffffff;
}

/* ========================================
   FOOTER
======================================== */
/* ========================================
   プライバシーポリシーページ
======================================== */
.privacy-section {
    min-height: 100vh;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-block {
    margin-bottom: 60px;
}

.policy-title {
    font-family: var(--font-en);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.policy-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 10px;
}

.policy-text {
    color: var(--text-color);
    line-height: 2;
}

.policy-text p {
    margin-bottom: 20px;
    font-size: 15px;
}

.policy-list {
    list-style-position: inside;
    margin-left: 0;
    padding-left: 0;
}

.policy-list li {
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 2;
}

.contact-info {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.contact-info p {
    margin-bottom: 10px;
}

/* ========================================
   LINE追加ボタン
======================================== */
.line-add-button {
    position: fixed !important;
    bottom: 110px !important;
    right: 40px !important;
    width: 50px !important;
    height: 50px !important;
    background-color: #06C755 !important;
    border: none !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    font-size: 26px !important;
    cursor: pointer !important;
    z-index: 1001 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.line-add-button:hover {
    background-color: #05b34a;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.5);
}

.line-add-button i {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   ページトップボタン
======================================== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(186, 154, 92, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #d4b574;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(186, 154, 92, 0.5);
}

.back-to-top i {
    margin-top: -2px;
}

/* ========================================
   フッター
======================================== */
.footer {
    background-color: var(--bg-dark);
    padding: 40px 0;
}

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

.footer-copyright {
    font-family: var(--font-serif);
    font-size: 10px;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ========================================
   レスポンシブデザイン
======================================== */

/* タブレット */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 20px;
    }
    
    .nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 60px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .section-title-en {
        font-size: 40px;
    }
    
    .philosophy-main-copy {
        font-size: 28px;
    }
    
    .services-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* スマートフォン */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .header-container {
        height: 70px;
        padding: 0 15px;
    }
    
    .logo img {
        height: 32px;
    }
    
    .mobile-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    .hero {
        min-height: 500px;
        padding: 15px 50px 0 0;
        justify-content: flex-end;
    }
    
    .hero-content {
        max-width: 500px;
    }
    
    .hero::before {
        top: calc(8% - 12px);
        right: 18px;
        left: calc(-15px - 12px);
        height: calc(75% + 24px);
        border-radius: 20px;
    }
    
    .hero-slideshow {
        top: 8%;
        right: 30px;
        left: -15px;
        height: 75%;
        border-radius: 15px;
    }
    
    .hero-title {
        font-size: 42px;
        letter-spacing: 3px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        letter-spacing: 6px;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .section-title-en {
        font-size: 32px;
        padding-left: 35px;
    }
    
    .section-title-en::before {
        width: 10px;
        height: 10px;
    }
    
    .section-title-ja {
        font-size: 16px;
    }
    
    .message-identity-title {
        font-size: 16px;
    }
    
    .message-identity-text {
        font-size: 20px;
    }
    
    .message-image img {
        border-radius: 15px;
    }
    
    .message-body-title {
        font-size: 16px;
    }
    
    .message-text p {
        font-size: 15px;
    }
    
    .philosophy-subtitle {
        font-size: 20px;
    }
    
    .philosophy-main-copy {
        font-size: 24px;
    }
    
    .philosophy-mission {
        font-size: 18px;
    }
    
    .philosophy-body {
        font-size: 14px;
        line-height: 2;
    }
    
    .value-header {
        padding: 20px 25px;
    }
    
    .value-title-wrapper {
        font-size: 18px;
    }
    
    .value-toggle {
        font-size: 18px;
    }
    
    .value-body {
        padding: 0 25px;
    }
    
    .value-item.active .value-body {
        padding: 0 25px 25px;
    }
    
    .value-body p {
        font-size: 14px;
    }
    
    .value-initial {
        font-size: 24px;
    }
    
    .value-ja {
        font-size: 16px;
    }
    
    .services-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card-full {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card-full .news-image {
        height: 300px;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .service-icon {
        font-size: 24px;
    }
    
    .service-title {
        font-size: 15px;
    }
    
    .service-toggle {
        font-size: 15px;
    }
    
    .investment-intro {
        font-size: 15px;
        line-height: 2.1;
    }
    
    .group-card {
        min-width: 280px;
        min-height: 160px;
        padding: 25px;
        background-color: #ffffff !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
    }
    
    .group-scroll-wrapper {
        padding: 0 15px 20px 15px;
    }
    
    .company-logo img {
        height: 48px;
    }
    
    .company-info-box {
        padding: 30px 20px;
    }
    
    .company-info-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .clients-list {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .recruit-link-card {
        padding: 20px;
        gap: 15px;
    }
    
    .recruit-link-icon {
        font-size: 36px;
    }
    
    .recruit-link-title {
        font-size: 18px;
    }
    
    .recruit-positions {
        padding: 25px 20px;
    }
    
    .recruit-positions-list {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 28px;
    }
    
    .hero {
        padding: 10px 30px 0 0;
        justify-content: flex-end;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero::before {
        top: calc(8% - 10px);
        right: 10px;
        left: calc(-10px - 10px);
        height: calc(75% + 20px);
        border-radius: 17px;
    }
    
    .hero-slideshow {
        top: 8%;
        right: 20px;
        left: -10px;
        height: 75%;
        border-radius: 12px;
    }
    
    .hero-title {
        font-size: 36px;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        letter-spacing: 4px;
    }
    
    .section-title-en {
        font-size: 28px;
        padding-left: 30px;
    }
    
    .section-title-en::before {
        width: 8px;
        height: 8px;
    }
    
    .message-identity-title {
        font-size: 15px;
    }
    
    .message-identity-text {
        font-size: 18px;
    }
    
    .message-image {
        margin-bottom: 40px;
    }
    
    .message-image img {
        border-radius: 12px;
    }
    
    .message-body-title {
        font-size: 15px;
    }
    
    .message-text p {
        font-size: 14px;
    }
    
    .philosophy-main-copy {
        font-size: 20px;
    }
    
    .philosophy-mission {
        font-size: 16px;
    }
    
    .philosophy-body {
        font-size: 13px;
        line-height: 2.2;
    }
    
    .value-header {
        padding: 18px 20px;
    }
    
    .value-title-wrapper {
        font-size: 16px;
    }
    
    .value-toggle {
        font-size: 16px;
        margin-left: 15px;
    }
    
    .value-body {
        padding: 0 20px;
    }
    
    .value-item.active .value-body {
        padding: 0 20px 20px;
    }
    
    .value-body p {
        font-size: 13px;
        line-height: 2.2;
    }
    
    .value-initial {
        font-size: 22px;
    }
    
    .value-ja {
        font-size: 15px;
    }
    
    .news-card,
    .service-card {
        padding: 20px;
    }
    
    .news-card-full .news-image {
        height: 250px;
    }
    
    .news-body {
        font-size: 14px;
    }
    
    .news-body h4 {
        font-size: 15px;
    }
    
    .news-body ul.news-schedule li {
        font-size: 14px;
        padding: 6px 0;
    }
    
    .service-icon {
        font-size: 22px;
    }
    
    .service-title {
        font-size: 14px;
    }
    
    .service-toggle {
        font-size: 14px;
    }
    
    .investment-intro {
        font-size: 14px;
        line-height: 2.2;
    }
    
    .investment-portfolio {
        padding: 25px;
    }
    
    .company-logo img {
        height: 40px;
    }
    
    .clients-list {
        grid-template-columns: 1fr;
    }
    
    .group-card {
        min-width: 250px;
        min-height: 140px;
        padding: 20px;
        background-color: #ffffff !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
    }
    
    .group-logo-img {
        max-width: 160px;
    }
    
    .vixone-logo {
        max-width: 100px;
    }
    
    .group-name {
        font-size: 16px;
    }
    
    .recruit-lead {
        font-size: 15px;
    }
    
    .recruit-text {
        font-size: 13px;
    }
    
    .footer-copyright {
        font-size: 9px;
        letter-spacing: 0.2px;
    }
    
    .line-add-button {
        width: 45px !important;
        height: 45px !important;
        bottom: 80px !important;
        right: 20px !important;
        font-size: 24px !important;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }
}