.announcement-detail-nav-card .announcement-nav-direction,
.announcement-detail-nav-card .announcement-nav-title {
    white-space: nowrap;
}

.announcement-detail-nav-card .announcement-nav-title {
    flex: 0 1 auto;
}
/*
Theme Name: Toshijogen Financial
Description: 日本投資助言株式会社専用カスタムWordPressテーマ - 金融リテラシーの向上をあなたと共に
Author: 日本投資助言株式会社
*/
  #dify-chatbot-bubble-button {
    background-color: #dc2626 !important;
  }
  #dify-chatbot-bubble-button svg {
    fill: #ffffff !important;
  }


/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
:root {
    --primary-color: #dc2626;
    --secondary-color: #ffffff;
    --accent-color: #991b1b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --background-light: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    --gradient-secondary: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

body {
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


@keyframes glitchIn {
    0% {
        opacity: 0;
        transform: scale(0.8) rotateX(90deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) rotateX(0deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateX(0deg);
    }
}

/* ナビゲーション */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

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

/* 1280px以上の画面幅での調整 */
@media (min-width: 1280px) {
    .nav-container {
        max-width: none;
        padding: 0 40px;
    }
}

.nav-logo {
    position: relative;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.5rem;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
}

.nav-logo .logo-image {
    height: 40px;
    width: auto;
    display: block;
}

.logo-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    transform: translate(-50%, -50%);
    animation: pulse 2s ease-in-out infinite;
    display: none; /* パルスアニメーションを非表示 */
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4rem;
}

/* 1078px付近でのレスポンシブ対応 */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 2.5rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }
    
    .nav-contact-btn {
        padding: 10px 20px !important;
        font-size: 0.8rem !important;
    }
}

@media (max-width: 1100px) {
    .nav-menu {
        gap: 2rem;
    }
    
    .nav-menu a {
        font-size: 0.85rem;
    }
    
    .nav-contact-btn {
        padding: 8px 16px !important;
        font-size: 0.75rem !important;
    }
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-menu a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

/* お問い合わせボタンのスタイル */
.nav-contact-btn {
    background: var(--primary-color) !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    border: 2px solid var(--primary-color) !important;
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.2) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    margin-left: 20px !important;
}

.nav-contact-btn:hover {
    background: white !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(220, 38, 38, 0.3) !important;
}

.nav-contact-btn::after {
    display: none !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

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

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

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

/* ヒーローセクション */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: white; /* 白のグラデーション */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.financial-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(220, 38, 38, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 38, 38, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridFloat 20s linear infinite;
}

@keyframes gridFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.data-stream {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    animation: dataFlow 3s linear infinite;
}

@keyframes dataFlow {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

.floating-numbers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.number {
    position: absolute;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
    font-size: 2rem;
    color: rgba(220, 38, 38, 0.3);
    animation: floatNumber 6s ease-in-out infinite;
}

@keyframes floatNumber {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.7;
    }
}

.chart-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chart-svg {
    width: 100%;
    height: 100%;
}

.chart-line {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2;
    opacity: 0.4;
    stroke-dasharray: 10;
    animation: chartDraw 8s ease-in-out infinite;
}

@keyframes chartDraw {
    0% {
        stroke-dashoffset: 100;
        opacity: 0.2;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 0.6;
    }
    100% {
        stroke-dashoffset: -100;
        opacity: 0.2;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-dark); /* テキストを黒に */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    padding-top: 80px; /* 上部の余白を追加 */
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: slideInUp 1s ease 0.5s forwards;
}

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

.stat-number {
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-main {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: var(--text-dark); /* タイトルを黒に */
}

/* タイトルアニメーション用 */
.title-animation {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.2s ease;
}

.title-animation.show {
    opacity: 1;
    transform: translateY(0);
}

.title-word {
    display: block;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.title-word::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textReveal 2s ease forwards;
}

@keyframes textReveal {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

.title-word:nth-child(1) {
    animation: slideInLeft 1s ease 1.5s forwards;
}

.title-word:nth-child(2) {
    animation: slideInLeft 1s ease 1.8s forwards;
}

.hero-subtitle-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.typing-text {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--primary-color);
    display: inline; /* インライン表示に変更 */
}

.subtitle-cursor {
    display: inline-block;
    width: 2px;
    height: 1.8rem;
    background: var(--primary-color);
    margin-left: 3px;
    animation: blink 1s infinite;
    vertical-align: middle; /* 垂直位置を調整 */
    opacity: 1;
}

@keyframes blink {
    0%, 50% { 
        opacity: 1; 
    }
    51%, 100% { 
        opacity: 0; 
    }
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 2.5s forwards;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 3s forwards;
    margin-top: -40px; /* ボタンをさらに上に移動 */
}

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

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
}

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

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
    from {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
}

.btn-primary .btn-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover .btn-particles {
    opacity: 1;
    animation: particleMove 2s linear infinite;
}

@keyframes particleMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10px, 10px); }
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark); /* セカンダリボタンのテキストを黒に */
    border-color: var(--text-dark);
    position: relative;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-secondary .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.btn-secondary:hover .btn-glow {
    left: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* 市場ティッカー */
.market-ticker {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll 30s linear infinite;
}

.ticker-item {
    margin-right: 4rem;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
    font-size: 0.9rem;
    color: white;
}

.price {
    font-weight: 700;
}

.price.up {
    color: #10b981;
}

.price.down {
    color: #ef4444;
}

.price small {
    font-size: 0.8rem;
    margin-left: 5px;
}

@keyframes tickerScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* スクロールインジケーター */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.scroll-text {
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
    font-size: 0.8rem;
    color: var(--text-light); /* スクロールテキストをグレーに */
    letter-spacing: 2px;
    margin-bottom: -10px;
}

.scroll-arrow {
    position: relative;
    width: 30px;
    height: 30px;
    margin: 0 auto;
}

.arrow-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 20px;
    background: var(--text-dark); /* 矢印を黒に */
    border-color: var(--text-dark);
    transform: translate(-50%, -50%);
    animation: arrowMove 2s ease-in-out infinite;
}

.arrow-head {
    position: absolute;
    bottom: -5px; /* 位置を下に移動して線と被らないように */
    left: 50%;
    width: 8px;
    height: 8px;
    background: transparent; /* 背景を透明に */
    border: 2px solid var(--text-dark); /* ボーダーを設定 */
    border-top: none;
    border-left: none;
    transform: translateX(-50%) rotate(45deg);
    animation: arrowHeadMove 2s ease-in-out infinite; /* 別のアニメーション名に */
}

@keyframes arrowMove {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* 矢印先端用のアニメーション */
@keyframes arrowHeadMove {
    0%, 100% {
        transform: translateX(-50%) translateY(0) rotate(45deg); /* translateYをrotateの前に */
    }
    50% {
        transform: translateX(-50%) translateY(10px) rotate(45deg); /* translateYをrotateの前に */
    }
}

/* パーティクルシステム */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#particles-canvas {
    width: 100%;
    height: 100%;
}

/* セクション共通スタイル */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* サービスセクション */
.services {
    background: var(--background-light);
}

.service-category {
    margin-bottom: 80px;
}

.service-category h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 100px;
    text-align: center;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: scale(1.05);
}

.service-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, white 0%, rgba(220, 38, 38, 0.05) 100%);
}

.card-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    display: inline-block;
    text-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

/* .card-icon:hover {
    transform: scale(1.1);
    color: var(--accent-color);
    text-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
} */

.service-card h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 50px;
    line-height: 1.6;
    flex-grow: 1;
}

.service-link {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.2);
    width: 150px;
    font-size: 14px;
    text-align: center;
}

.service-link:hover {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(220, 38, 38, 0.3);
}

/* FX投資セクション - 新しいデザイン */
.fx-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.fx-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="fx-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(220,38,38,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23fx-grid)"/></svg>');
    animation: gridMove 15s linear infinite;
}

.fx-content {
    position: relative;
    z-index: 2;
}

.fx-header {
    text-align: center;
    margin-bottom: 60px;
}

.fx-header h3 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
}

.fx-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(220, 38, 38, 0.3);
    position: relative;
    overflow: hidden;
}

.fx-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    animation: rotate 10s linear infinite;
}

.fx-card-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.fx-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

.fx-title {
    font-size: 2rem;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
    margin-bottom: 20px;
    color: white;
}

.fx-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.fx-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.fx-feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.fx-feature-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.fx-feature-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.fx-link {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fx-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.4);
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* ニュースセクション */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.news-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.news-item:hover::after {
    width: 4px;
}

.news-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 30px;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
}

.news-item h4 {
    color: var(--text-dark);
    margin-bottom: 30px;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
}

.news-link-text {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
    text-transform: uppercase;
    margin-top: 30px;
    transition: all 0.3s ease;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.2);
    font-size: 0.8rem;
}

.news-more {
    display: flex;
    justify-content: center;
    margin-top: 100px;
}

.news-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--primary-color);
    color: #ffffff;
    border: 2px solid var(--primary-color);
    text-decoration: none;
    box-shadow: 0 6px 12px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
}

.news-more-btn:hover {
    background: #ffffff;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.news-link-text:hover {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
}

/* アバウトセクション */
.about {
    background: var(--background-light);
}

.about-white {
    background: white;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 50px;
    line-height: 1.8;
}

/* 会社情報セクション - 優しいグレーブルーに変更 */
.company-info {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    padding: 80px 0;
}

.company-item {
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.company-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.company-item h4 {
    color: #fbbf24; /* 優しいゴールド色 */
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
}

.company-item p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* お問い合わせセクション */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    padding: 20px;
    border-radius: 10px;
    background: var(--background-light);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form {
    background: var(--background-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Contact Form 7 スタイル */
.contact-form-wrapper {
    width: 100%;
}

.contact-form .wpcf7-form {
    margin: 0;
}

.contact-form .wpcf7-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--background-light);
    color: var(--text-color);
}

.contact-form .wpcf7-form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.contact-form .wpcf7-form-control.wpcf7-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .wpcf7-submit {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.2);
}

.contact-form .wpcf7-submit:hover {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(220, 38, 38, 0.3);
}

.contact-form .wpcf7-submit:active {
    transform: translateY(0);
}

.contact-form .wpcf7-response-output {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
}

/* Contact Form 7のbrタグを非表示 */
.contact-form br {
    display: none;
}

.contact-form .wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-form .wpcf7-validation-errors {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-form .wpcf7-spam-blocked {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.contact-form .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

.contact-form .wpcf7-not-valid {
    border-color: #dc3545 !important;
}

.contact-form .required {
    color: #dc3545;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-weight: 500;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* フッター */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #fbbf24; /* 優しいゴールド色 */
    margin-bottom: 20px;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fbbf24; /* ホバー時もゴールド色 */
}

.footer-logo {
    height: 35px;
    width: auto;
    display: block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* 法的表示 */
.legal-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .legal-content {
        grid-template-columns: 1fr;
    }
}

.legal-item {
    padding: 15px;
}

.legal-item h4 {
    color: #fbbf24;
    margin-bottom: 5px;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
}

.legal-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-align: justify;
}

/* モーダル */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 15px;
    width: 80%;
    max-width: 600px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    transition: color 0.3s ease;
}

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

/* 画面の高さが低い場合の対応 */
@media (max-height: 800px) {
    .hero-content {
        padding-top: 60px; /* 上部の余白を減らす */
    }
    
    .hero-title {
        font-size: 3rem; /* タイトルサイズを少し小さく */
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle-container {
        margin-bottom: 1rem;
    }
    
    .hero-description {
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        margin-top: -20px; /* ボタンの上移動を減らす */
    }
    
    .market-ticker {
        bottom: 40px; /* ティッカーをもっと下に */
    }
}

@media (max-height: 700px) {
    .hero-content {
        padding-top: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle-container .typing-text {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        margin-top: 0; /* 通常の位置に */
    }
    
    .market-ticker {
        bottom: 20px; /* さらに下に */
        font-size: 0.85rem;
        padding: 10px 0;
    }
}

/* レスポンシブデザイン */
@media (max-width: 1000px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
    }
    
    .service-card h4 {
        margin-bottom: 20px;
        font-size: 1.2rem;
    }
    
    .nav-contact-btn {
        margin-left: 0 !important;
        margin-top: 10px !important;
        display: inline-block !important;
    }
    
    .nav-menu.active {
        display: block;
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .company-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .market-ticker {
        bottom: 60px;
    }
    
    .ticker-content {
        font-size: 0.8rem;
    }
    
    .ticker-item {
        margin-right: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle-container .typing-text {
        font-size: 1.4rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .service-card,
    .contact-form {
        padding: 20px;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .floating-numbers .number {
        font-size: 1.5rem;
    }
}

/* アニメーション用クラス */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* チャットボットボタン */
.chat-bot-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-bot-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.4);
}

/* チャットウィンドウ */
.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

.chat-window.active {
    display: flex;
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* チャットヘッダー */
.chat-header {
    background: var(--gradient-primary);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0; /* ヘッダーを固定 */
    height: 60px; /* ヘッダーの高さを固定 */
    box-sizing: border-box;
}

.chat-header h4 {
    margin: 0;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
    font-size: 1.1rem;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* チャットメッセージエリア */
.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #f8f9fa;
    height: calc(500px - 60px - 70px); /* 全体の高さ - ヘッダー - 入力エリア */
    max-height: calc(500px - 60px - 70px);
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

/* メッセージスタイル */
.bot-message, .user-message {
    display: flex;
    margin-bottom: 10px;
}

.bot-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.bot-message .message-content {
    background: white;
    color: var(--text-dark);
    border: 1px solid #e5e7eb;
    border-bottom-left-radius: 6px;
}

.user-message .message-content {
    background: var(--gradient-primary);
    color: white;
    border-bottom-right-radius: 6px;
}

/* チャット入力エリア */
.chat-input-container {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    height: 70px; /* 入力エリアの高さを固定 */
    box-sizing: border-box;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.chat-input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input:focus {
    border-color: var(--primary-color);
}

.chat-send {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
    font-weight: 500;
}

.chat-send:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .chat-window {
        width: calc(100vw - 40px);
        height: 70vh;
        right: 20px;
        bottom: 90px;
    }
    
    .chat-bot-btn {
        right: 20px;
        bottom: 20px;
    }
}

/* カスタムスクロールバー */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* 選択テキストのスタイル */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* 登録情報ボックス */
.registration-info {
    position: absolute;
    right: 40px;
    top: 100px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(153, 27, 27, 0.05) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 20px 30px;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.registration-info:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 30px rgba(220, 38, 38, 0.2);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, rgba(153, 27, 27, 0.08) 100%);
}

.reg-info-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reg-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.5px;
}

.reg-association {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.assoc-name {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
}

.member-number {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* レスポンシブ対応 - 登録情報 */
@media (max-width: 1200px) {
    .registration-info {
        display: none;
    }
}

/* YouTubeセクション */
.youtube-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.youtube-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(220, 38, 38, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.youtube-section .section-header h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff0000 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.youtube-subtitle {
    font-size: 1.1rem;
    margin-top: 10px;
    opacity: 0.9;
}

.youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.youtube-card {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(220, 38, 38, 0.2);
    backdrop-filter: blur(10px);
}

.youtube-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.3);
    border-color: rgba(220, 38, 38, 0.5);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.video-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.youtube-cta {
    text-align: center;
    margin-top: 60px;
}

.btn-youtube {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ff0000;
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.btn-youtube:hover {
    background: #dc2626;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.4);
}

.youtube-icon {
    width: 28px;
    height: 28px;
}

/* レスポンシブ対応 - YouTube */
@media (max-width: 768px) {
    .youtube-section {
        padding: 60px 0;
    }
    
    .youtube-section .section-header h2 {
        font-size: 2rem;
    }
    
    .youtube-grid {
        gap: 20px;
    }
    
    .btn-youtube {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

/* 金融アドバイザーAIセクション */
.ai-advisor-section {
    padding: 80px 0;
    background: #fff5f5;
}

.ai-advisor-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.ai-advisor-section .section-line {
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.ai-advisor-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.ai-description {
    max-width: 800px;
    margin: 0 auto;
}

.ai-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: left;
}

.ai-description p:last-child {
    margin-bottom: 0;
}

/* チャットアイコンプレビュー */
.chat-icon-preview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 16px;
    vertical-align: middle;
    margin: 0 5px;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.3);
}

/* レスポンシブ対応 - AI Advisor */
@media (max-width: 768px) {
    .ai-advisor-section {
        padding: 60px 0;
    }
    
    .ai-advisor-section h2 {
        font-size: 2rem;
    }
    
    .ai-features-grid {
        gap: 20px;
    }
    
    .ai-feature-card {
        padding: 30px 20px;
    }
    
    .ai-usage {
        padding: 30px 20px;
    }
    
    .usage-steps {
        flex-direction: column;
        gap: 20px;
    }
    
    .usage-step {
        width: 100%;
        justify-content: flex-start;
    }
}

/* 会社概要ページ用スタイル */
.greeting-signature {
    text-align: right;
    font-weight: normal;
    color: var(--primary-color);
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

/* お知らせ・コラムページ用スタイル */
.announcements-page {
    background: linear-gradient(180deg, rgba(250, 250, 252, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    padding-top: 120px;
    padding-bottom: 120px;
}

.announcement-page-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
}

.announcement-page-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 12px 18px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.25);
}

.announcement-page-title {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 10px;
    color: var(--text-dark);
}

.announcement-page-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 620px;
    line-height: 1.8;
}

.announcement-page-intro {
    background: #fff;
    border-radius: 24px;
    padding: 32px 36px;
    margin-bottom: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(220, 38, 38, 0.08);
}

.announcement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.announcement-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(220, 38, 38, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.announcement-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle at center, rgba(220, 38, 38, 0.2) 0%, rgba(220, 38, 38, 0) 70%);
    z-index: 0;
    transition: transform 0.3s ease;
}

.announcement-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.15);
}

.announcement-card:hover::before {
    transform: scale(1.15);
}

.announcement-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.announcement-card-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.announcement-card-label::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--primary-color);
}

.announcement-card-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.announcement-card-title {
    font-size: 1.4rem;
    margin-bottom: 16px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.announcement-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.announcement-card-title a:hover {
    color: var(--primary-color);
}

.announcement-card-excerpt {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.announcement-card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: gap 0.3s ease, color 0.3s ease;
}

.announcement-card-link svg {
    transition: transform 0.3s ease;
}

.announcement-card-link:hover {
    gap: 14px;
    color: var(--accent-color);
}

.announcement-card-link:hover svg {
    transform: translateX(4px);
}

.no-announcements {
    background: #fff7f7;
    color: var(--primary-color);
    padding: 24px 28px;
    border-radius: 18px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    font-weight: 600;
    text-align: center;
}

.column-item {
    margin-bottom: 2.4rem;
    padding: 24px 28px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: var(--shadow);
}

.column-item h4 {
    margin-bottom: 10px;
}

.column-date {
    color: var(--accent-color);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
}

/* お知らせ詳細ページ */
.announcement-detail-hero {
    background: var(--gradient-secondary);
    color: #fff;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.announcement-detail-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(220, 38, 38, 0.4), transparent 55%);
    pointer-events: none;
}

.announcement-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.announcement-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.announcement-breadcrumb a:hover {
    color: #fff;
}

.announcement-breadcrumb span:last-child {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.announcement-hero-title {
    font-size: clamp(2.2rem, 3.8vw, 3rem);
    line-height: 1.3;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.announcement-hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(6px);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.announcement-hero-label {
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
    opacity: 0.85;
}

.single-announcement {
    background: #f8fafc;
    padding-top: 80px;
    padding-bottom: 120px;
}

.announcement-detail-card {
    background: #fff;
    border-radius: 30px;
    padding: 48px;
    box-shadow: 0 30px 60px -25px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(15, 23, 42, 0.06);
    max-width: 880px;
    margin: -100px auto 0;
    position: relative;
    z-index: 5;
}

.announcement-featured-image {
    margin: 0 0 32px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.announcement-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.announcement-content {
    color: var(--text-dark);
    line-height: 1.9;
    font-size: 1rem;
    margin-bottom: 40px;
}

.announcement-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding: 18px 22px;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.25);
    margin-bottom: 36px;
}

.announcement-detail-date span {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 6px;
}

.announcement-detail-date time {
    font-weight: 600;
    color: var(--text-dark);
}

.announcement-navigation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.announcement-nav-item {
    padding: 24px;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    min-height: 132px;
}

.announcement-nav-label {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.announcement-nav-item a {
    display: inline-block;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;
}

.announcement-nav-item a:hover {
    color: var(--primary-color);
}

.announcement-nav-empty {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

.announcement-back .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-weight: 600;
}

.rich-text p {
    margin-bottom: 1.6em;
}

.rich-text ul,
.rich-text ol {
    margin-left: 1.6em;
    margin-bottom: 1.6em;
    line-height: 1.8;
}

.rich-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px auto;
    display: block;
}

.rich-text h2,
.rich-text h3,
.rich-text h4,
.rich-text h5,
.rich-text h6 {
    margin-top: 2.4em;
    margin-bottom: 1em;
    color: var(--text-dark);
}

.rich-text blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    background: rgba(220, 38, 38, 0.08);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    color: var(--text-dark);
}

/* お知らせページ簡易デザイン */
.announcements-page {
    padding: 120px 0;
    background: #ffffff;
}

.announcements-header {
    margin-bottom: 100px;
}

.announcements-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 8px;
    color: var(--text-dark);
}

.announcements-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
}

.announcements-description {
    margin-bottom: 32px;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #f9fafb;
}

.announcement-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.announcement-list-item {
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.announcement-list-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.announcement-list-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 12px;
}

.announcement-list-date {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.announcement-list-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.announcement-list-meta + .announcement-list-title {
    margin-top: 4px;
}

.announcement-list-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.announcement-list-title a {
    color: var(--text-dark);
    text-decoration: none;
}

.announcement-list-title a:hover {
    color: var(--primary-color);
}

.announcement-list-excerpt {
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

.announcement-list-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.2);
    width: 150px;
    font-size: 0.85rem;
    margin-top: auto;
    transition: all 0.3s ease;
}

.announcement-list-link:hover {
    background: #ffffff;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(220, 38, 38, 0.3);
}

.announcement-empty {
    padding: 24px;
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    text-align: center;
    color: var(--text-light);
    background: #ffffff;
}

.column-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.column-item:last-child {
    border-bottom: none;
}

.column-date {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.single-announcement {
    padding: 80px 0 100px;
    background: #ffffff;
}

.announcement-detail {
    max-width: 760px;
    margin: 0 auto;
    background: #ffffff;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 30px 50px rgba(15, 23, 42, 0.1);
}

.announcement-detail-header {
    margin-bottom: 32px;
}

.announcement-detail-back {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: none;
}

.announcement-detail-back:hover {
    color: var(--primary-color);
}

.announcement-category-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 5px;
    background: #f1f5f9;
    color: var(--text-dark);
    font-size: 0.8rem;
    text-decoration: none;
}

.announcement-category-pill:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.announcement-detail-meta-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.announcement-detail-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.announcement-detail-meta-top .announcement-detail-date {
    margin: 0;
}

.announcement-detail-title {
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    line-height: 1.35;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.announcement-detail-date {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
}

.announcement-detail-thumbnail {
    margin: 32px 0;
    border-radius: 12px;
    overflow: hidden;
}

.announcement-detail-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
}

.announcement-detail-content {
    line-height: 1.8;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 48px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}


.announcement-detail-nav {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}


.announcement-detail-nav-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.announcement-detail-nav-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    border-radius: 14px;
    background: #f9fafb;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.announcement-detail-nav-card.is-prev {
    text-align: left;
}

.announcement-detail-nav-card.is-next {
    flex-direction: row-reverse;
    text-align: right;
}

.announcement-detail-nav-card.is-prev .announcement-nav-direction::before {
    content: '←';
    font-size: 0.9rem;
}

.announcement-detail-nav-card.is-next .announcement-nav-direction::after {
    content: '→';
    font-size: 0.9rem;
}

.announcement-detail-nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
    border-color: rgba(220, 38, 38, 0.45);
}

.announcement-detail-nav-card.is-disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
    box-shadow: none;
}

.announcement-nav-direction {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
}

.announcement-nav-title {
    font-size: 12px;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.6;
    flex: 1;
}

.announcement-detail-nav-card:hover .announcement-nav-title {
    color: var(--primary-color);
}

.announcement-nav-empty {
    color: var(--text-light);
    font-size: 0.95rem;
}

.announcement-detail-nav-footer {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.announcement-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    font-size: 0.95rem;
}

.announcement-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
}

.announcement-pagination .page-numbers.current,
.announcement-pagination .page-numbers:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.announcement-pagination .page-numbers.prev,
.announcement-pagination .page-numbers.next {
    width: auto;
    padding: 0 14px;
}

.announcement-detail-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--primary-color);
    color: #ffffff;
    border: 2px solid var(--primary-color);
    text-decoration: none;
    box-shadow: 0 6px 12px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
}

.announcement-detail-back:hover {
    background: #ffffff;
    color: var(--primary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .announcements-page {
        padding: 60px 0 80px;
    }

    .announcements-description {
        padding: 20px;
    }

    .announcement-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .announcement-list-item {
        padding: 20px;
    }

    .announcement-detail-meta-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .single-announcement {
        padding: 60px 0 80px;
    }

    .announcement-detail {
        padding: 36px 24px;
    }

    .announcement-detail-nav-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .announcement-detail-nav-card {
        align-items: flex-start;
        text-align: left;
        flex-direction: row;
    }

    .announcement-detail-nav-card.is-next {
        flex-direction: row;
    }

    .announcement-pagination {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .announcements-description {
        padding: 18px;
    }

    .announcement-list {
        grid-template-columns: 1fr;
    }

    .announcement-list-item {
        padding: 18px;
    }

    .announcement-detail {
        padding: 28px 18px;
    }

    .announcement-detail-title {
        font-size: 1.9rem;
    }
}

/* ご挨拶テキスト用スタイル */
.greeting-text {
    text-align: left;
    line-height: 1.8;
}

.greeting-text p {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.whatis-section {
    background: #ffffff;
    padding: 120px 0;
}

.whatis-content {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.07);
    border: 1px solid var(--border-color);
    max-width: 900px;
    margin: 0 auto;
}

.whatis-content .greeting-text {
    line-height: 1.9;
    color: var(--text-dark);
}

.whatis-content .greeting-text p {
    margin-bottom: 1.8em;
}

.whatis-content .greeting-text h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 2.4em 0 1em;
    font-weight: 700;
    position: relative;
    padding-left: 1rem;
}

.whatis-content .greeting-text h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 4px;
    height: 1.5em;
    background: var(--primary-color);
    border-radius: 999px;
}

.whatis-content .greeting-text ul {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    line-height: 1.8;
}

.whatis-content .greeting-text ol {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    line-height: 1.8;
    counter-reset: whatis-counter;
}

.whatis-content .greeting-text ol li {
    counter-increment: whatis-counter;
    margin-bottom: 0.8em;
    position: relative;
    padding-left: 1.8em;
}

.whatis-content .greeting-text ol li::before {
    content: counter(whatis-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.whatis-subsection p {
    margin-bottom: 20px;
}

.whatis-subsection p:last-child {
    margin-bottom: 0;
}

.whatis-subsection ul li {
    line-height: 1.9;
    margin-bottom: 20px;
}

.whatis-subsection ul li:last-child {
    margin-bottom: 0;
}

.whatis-subsection .whatis-lead {
    font-weight: 600;
    line-height: 1.9;
}

.whatis-subsection ul {
    margin: 0;
    padding: 0;
    list-style: none;
    background: none;
    border: none;
}

.whatis-subsection ul li strong {
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 4px;
}

.whatis-content {
    margin-top: 24px;
    padding: 32px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
}

.whatis-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.whatis-content ul li {
    padding-left: 0;
}

@media (max-width: 768px) {
    .whatis-subsection {
        padding: 24px;
    }
    
}

.whatis-content .greeting-text li {
    margin-bottom: 0.8em;
}

.whatis-content .greeting-signature {
    text-align: right;
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .whatis-section {
        padding: 80px 0;
    }

    .whatis-content {
        padding: 32px 24px;
    }

    .whatis-content .greeting-text h4 {
        font-size: 1.1rem;
        margin: 2em 0 0.8em;
    }
}

@media (max-width: 992px) {
    .announcements-page {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .announcement-page-header {
        gap: 18px;
    }

    .announcement-card {
        padding: 28px 24px;
    }

    .announcement-detail-card {
        margin-top: -80px;
    }
}

@media (max-width: 768px) {
    .announcement-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .announcement-grid {
        gap: 24px;
    }

    .announcement-card-title {
        font-size: 1.3rem;
    }

    .announcement-detail-hero {
        padding: 110px 0 70px;
    }

    .announcement-detail-card {
        padding: 32px 24px;
        margin-top: -70px;
    }

    .announcement-navigation {
        grid-template-columns: 1fr;
    }

    .announcement-hero-meta {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .announcement-card {
        padding: 24px 22px;
    }

    .announcement-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .announcement-page-intro {
        padding: 28px 22px;
    }

    .announcement-detail-card {
        border-radius: 22px;
        padding: 28px 20px;
    }

    .announcement-detail-meta {
        flex-direction: column;
    }
}

/* テーブルスタイル */
.company-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary-color);
}

.company-table th {
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    text-align: left;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
    font-weight: 700;
    width: 200px;
    vertical-align: top;
    border-right: 2px solid rgba(255, 255, 255, 0.2);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.company-table td {
    padding: 15px 20px;
    border-bottom: 2px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    color: var(--text-dark);
    line-height: 1.6;
    vertical-align: top;
    background: #fafafa;
}

.company-table tr:nth-child(even) td {
    background: #f5f5f5;
}

.company-table tr:hover td {
    background: #e8f4f8;
}

.company-table tr:last-child td {
    border-bottom: none;
}

.company-table td:last-child {
    border-right: none;
}


/* 会社概要ページ専用スタイル */
.profile-page {
    background: white;
}

.profile-page .services {
    background: white;
}

.profile-page .about {
    background: white;
}

/* レスポンシブ対応 - 会社概要ページ */
@media (max-width: 768px) {
    .greeting-signature {
        font-size: 0.9rem;
    }
    
    .greeting-text p:first-child {
        font-size: 1rem;
    }
    
    .greeting-text p {
        font-size: 0.9rem;
    }
    
    .company-table {
        font-size: 0.9rem;
    }
    
    .company-table th,
    .company-table td {
        padding: 10px 15px;
    }
    
    .company-table th {
        width: 150px;
    }
}

/* チャットボットスタイル */
.chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

.chatbot-toggle span {
    font-size: 24px;
    color: white;
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
}

.message {
    margin-bottom: 15px;
    max-width: 80%;
}

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
    margin-left: auto;
}

.message p {
    background: white;
    padding: 12px 16px;
    border-radius: 18px;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bot-message p {
    background: #e9ecef;
    border-bottom-left-radius: 4px;
}

.user-message p {
    background: var(--primary-color);
    color: white;
    border-bottom-right-radius: 4px;
}

.chatbot-input {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
}

.chatbot-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    font-size: 0.9rem;
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
}

.chatbot-input input:focus {
    border-color: var(--primary-color);
}

.chatbot-input button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.chatbot-input button:hover {
    background: #c82333;
}

/* レスポンシブ対応 - チャットボット */
@media (max-width: 768px) {
    .chatbot {
        bottom: 15px;
        right: 15px;
    }
    
    .chatbot-toggle {
        width: 50px;
        height: 50px;
    }
    
    .chatbot-toggle span {
        font-size: 20px;
    }
    
    .chatbot-window {
        width: 300px;
        height: 400px;
        bottom: 70px;
    }
    
    .chatbot-messages {
        padding: 15px;
    }
    
    .chatbot-input {
        padding: 10px 15px;
    }
}

/* ========================================
   ページ訪問時のアニメーション関連コード
   ======================================== */

/* キーフレームアニメーション */
@keyframes glitchIn {
    0% {
        opacity: 0;
        transform: scale(0.8) rotateX(90deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) rotateX(0deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateX(0deg);
    }
}

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

@keyframes gridFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes dataFlow {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes floatNumber {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.7;
    }
}

@keyframes chartDraw {
    0% {
        stroke-dashoffset: 100;
        opacity: 0.2;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0.4;
    }
}

@keyframes textReveal {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes blink {
    0%, 50% { 
        opacity: 1; 
    }
    51%, 100% { 
        opacity: 0; 
    }
}

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

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
}

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

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
    from {
        opacity: 0;
        transform: scale(0.8);
    }
}

@keyframes particleMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10px, 10px); }
}

@keyframes tickerScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes arrowMove {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes arrowHeadMove {
    0%, 100% {
        transform: translateX(-50%) translateY(0) rotate(45deg);
    }
    50% {
        transform: translateX(-50%) translateY(10px) rotate(45deg);
    }
}

/* アニメーション適用要素 */
/* ヒーローセクション背景 */
.hero-background {
    animation: gridFloat 20s linear infinite;
}

/* データストリーム */
.data-stream {
    animation: dataFlow 3s linear infinite;
}

/* 浮遊する数字 */
.floating-numbers .number {
    animation: floatNumber 6s ease-in-out infinite;
}

/* チャート */
.chart-line {
    animation: chartDraw 8s ease-in-out infinite;
}

/* 統計セクション */
.stats-container {
    opacity: 0;
    animation: slideInUp 1s ease 0.5s forwards;
}

/* ヒーロータイトル */
.hero-title {
    animation: textReveal 2s ease forwards;
}

.title-word:nth-child(1) {
    animation: slideInLeft 1s ease 1.5s forwards;
}

.title-word:nth-child(2) {
    animation: slideInLeft 1s ease 1.8s forwards;
}

/* タイピングカーソル */
.typing-cursor {
    animation: blink 1s infinite;
}

/* ヒーローサブタイトル */
.hero-subtitle {
    opacity: 1;
}

/* ヒーローボタン */
.hero-buttons {
    opacity: 0;
    animation: fadeInUp 1s ease 3s forwards;
}

/* ボタンホバー効果 */
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
}

.btn-primary:hover .btn-particles {
    opacity: 1;
    animation: particleMove 2s linear infinite;
}

/* ナビゲーション */
.nav-menu a:hover {
    transform: translateY(-2px);
}

/* サービスカード */
.service-card:hover {
    transform: scale(1.05);
}

/* 市場ティッカー */
.ticker-content {
    animation: tickerScroll 30s linear infinite;
}

/* スクロールインジケーター */
.scroll-indicator .arrow {
    animation: arrowMove 2s ease-in-out infinite;
}

.scroll-indicator .arrow-head {
    animation: arrowHeadMove 2s ease-in-out infinite;
}

/* ハンバーガーメニュー */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

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

/* トランジション効果 */
.navbar {
    transition: all 0.3s ease;
}

.nav-menu a {
    transition: all 0.3s ease;
}

.nav-menu a::after {
    transition: width 0.3s ease;
}

.btn {
    transition: all 0.3s ease;
}

.service-card {
    transition: all 0.4s ease;
}

.hamburger span {
    transition: 0.3s;
}


/* アニメーション用のクラス */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.attention {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.attention p {
	padding: 80px 0;
}